From 9f8a8a5ac72151dafad82d9911cdb2bf73db5cd3 Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Mon, 28 Aug 2023 11:43:10 -0400 Subject: [PATCH] Add example send-client-subnet config Signed-off-by: Kyle Harding --- rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf | 3 --- .../etc/unbound/custom.conf.d/a-records.conf.example | 3 +++ .../unbound/custom.conf.d/send-client-subnet.conf.example | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf create mode 100644 rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf.example create mode 100644 rootfs_overlay/etc/unbound/custom.conf.d/send-client-subnet.conf.example diff --git a/rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf b/rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf deleted file mode 100644 index b00b303..0000000 --- a/rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf +++ /dev/null @@ -1,3 +0,0 @@ -# server: -# local-data: "somecomputer.local. A 192.168.1.1" -# local-data-ptr: "192.168.1.1 somecomputer.local." diff --git a/rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf.example b/rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf.example new file mode 100644 index 0000000..9275ead --- /dev/null +++ b/rootfs_overlay/etc/unbound/custom.conf.d/a-records.conf.example @@ -0,0 +1,3 @@ +server: + local-data: "somecomputer.local. A 192.168.1.1" + local-data-ptr: "192.168.1.1 somecomputer.local." diff --git a/rootfs_overlay/etc/unbound/custom.conf.d/send-client-subnet.conf.example b/rootfs_overlay/etc/unbound/custom.conf.d/send-client-subnet.conf.example new file mode 100644 index 0000000..af73323 --- /dev/null +++ b/rootfs_overlay/etc/unbound/custom.conf.d/send-client-subnet.conf.example @@ -0,0 +1,6 @@ +server: + # Enable ECS + module-config: "subnetcache validator iterator" + # Send client source address to each and every authority. TODO: Find an actual list of IPs of CDN's + send-client-subnet: 0.0.0.0/0 + send-client-subnet: ::0/64