[OpenWrt-Devel] [PATCH] dnsmasq: prevent forwarding RFC6303 zones
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Thu Sep 24 09:04:04 EDT 2015
RFC6303 specifies reverse dns zones that ideally should not be forwarded
to upstream (root) servers and create unnecessary load upon them.
Signed-off-by: Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk>
---
package/network/services/dnsmasq/files/dhcp.conf | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dnsmasq/files/dhcp.conf
index 362b90a..88ff14d 100644
--- a/package/network/services/dnsmasq/files/dhcp.conf
+++ b/package/network/services/dnsmasq/files/dhcp.conf
@@ -20,6 +20,18 @@ config dnsmasq
#list notinterface lo
#list bogusnxdomain '64.94.110.11'
option localservice 1 # disable to allow DNS requests from non-local subnets
+ list server '/0.in-addr.arpa/'
+ list server '/127.in-addr.arpa/'
+ list server '/254.169.in-addr.arpa/'
+ list server '/2.0.192.in-addr.arpa/'
+ list server '/100.51.198.in-addr.arpa/'
+ list server '/113.0.203.in-addr.arpa/'
+ list server '/255.255.255.255.in-addr.arpa/'
+ list server '/d.f.ip6.arpa/'
+ list server '/8.e.f.ip6.arpa/'
+ list server '/9.e.f.ip6.arpa/'
+ list server '/a.e.f.ip6.arpa/'
+ list server '/b.e.f.ip6.arpa/'
config dhcp lan
option interface lan
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list