[openwrt/openwrt] dnsmasq: explictly set ednspacket_max value

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 9 14:45:05 EST 2020


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a86c0d97b5d74912ddfff1f1de8f01f519ee4cd1

commit a86c0d97b5d74912ddfff1f1de8f01f519ee4cd1
Author: Jan Pavlinec <jan.pavlinec at nic.cz>
AuthorDate: Mon Nov 9 15:58:39 2020 +0100

    dnsmasq: explictly set ednspacket_max value
    
    This is related to DNS Flag Day 2020. It sets default
    ends buffer size value to 1232.
    
    Signed-off-by: Jan Pavlinec <jan.pavlinec at nic.cz>
---
 package/network/services/dnsmasq/Makefile        | 2 +-
 package/network/services/dnsmasq/files/dhcp.conf | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
index cbbbad7b87..4086aa25e0 100644
--- a/package/network/services/dnsmasq/Makefile
+++ b/package/network/services/dnsmasq/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=dnsmasq
 PKG_UPSTREAM_VERSION:=2.82
 PKG_VERSION:=$(subst test,~~test,$(subst rc,~rc,$(PKG_UPSTREAM_VERSION)))
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).tar.xz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dnsmasq/files/dhcp.conf
index 19052e2333..8c42ef782e 100644
--- a/package/network/services/dnsmasq/files/dhcp.conf
+++ b/package/network/services/dnsmasq/files/dhcp.conf
@@ -20,6 +20,7 @@ config dnsmasq
 	#list notinterface	lo
 	#list bogusnxdomain     '64.94.110.11'
 	option localservice	1  # disable to allow DNS requests from non-local subnets
+	option ednspacket_max	1232
 
 config dhcp lan
 	option interface	lan



More information about the lede-commits mailing list