[openwrt/openwrt] dnsmasq: remove example domains from rfc6761.conf (FS#1447)

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 9 08:35:44 PDT 2018


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/3612d9035142a374cdccb495a21c8adfa6e68365

commit 3612d9035142a374cdccb495a21c8adfa6e68365
Author: Hans Dedecker <dedeckeh at gmail.com>
AuthorDate: Mon Apr 9 17:19:14 2018 +0200

    dnsmasq: remove example domains from rfc6761.conf (FS#1447)
    
    RFC6771 does not exclude the forwarding of the example domain as it
    states : "Caching DNS servers SHOULD NOT recognize example names as
    special and SHOULD resolve them normally."
    Example domains cannot be assigned to any user or person by DNS
    registrars as they're registered in perpetuity to IANA meaning
    they can be resolved; therefore let's remove the example domains
    from the rfc6761.conf file.
    
    Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
 package/network/services/dnsmasq/Makefile           | 2 +-
 package/network/services/dnsmasq/files/rfc6761.conf | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
index 6a5cad1..b6502bf 100644
--- a/package/network/services/dnsmasq/Makefile
+++ b/package/network/services/dnsmasq/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dnsmasq
 PKG_VERSION:=2.79
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/
diff --git a/package/network/services/dnsmasq/files/rfc6761.conf b/package/network/services/dnsmasq/files/rfc6761.conf
index ebc1a12..e9f6492 100644
--- a/package/network/services/dnsmasq/files/rfc6761.conf
+++ b/package/network/services/dnsmasq/files/rfc6761.conf
@@ -4,10 +4,6 @@
 # to reduce burden on them, asking questions that they won't know the answer to.
 
 server=/bind/
-server=/example/
-server=/example.com/
-server=/example.org/
-server=/example.net/
 server=/invalid/
 server=/local/
 server=/localhost/



More information about the lede-commits mailing list