mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Handle change in format of Debian /usr/share/dns/root.ds.
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -3,6 +3,8 @@ dnsmasq (2.77-1) unstable; urgency=low
|
|||||||
* New upstream.
|
* New upstream.
|
||||||
* Don't register as a resolvconf source when config file
|
* Don't register as a resolvconf source when config file
|
||||||
includes port=0 to disable DNS.
|
includes port=0 to disable DNS.
|
||||||
|
* Handle gratuitous format change in /usr/share/dns/root.ds
|
||||||
|
(closes: #858506) (closes: #860064)
|
||||||
|
|
||||||
-- Simon Kelley <simon@thekelleys.org.uk> Tue, 11 Apr 2017 14:19:20 +0000
|
-- Simon Kelley <simon@thekelleys.org.uk> Tue, 11 Apr 2017 14:19:20 +0000
|
||||||
|
|
||||||
|
|||||||
2
debian/init
vendored
2
debian/init
vendored
@@ -111,7 +111,7 @@ DNSMASQ_OPTS="$DNSMASQ_OPTS --local-service"
|
|||||||
ROOT_DS="/usr/share/dns/root.ds"
|
ROOT_DS="/usr/share/dns/root.ds"
|
||||||
|
|
||||||
if [ -f $ROOT_DS ]; then
|
if [ -f $ROOT_DS ]; then
|
||||||
DNSMASQ_OPTS="$DNSMASQ_OPTS `sed -e s/". IN DS "/--trust-anchor=.,/ -e s/" "/,/g $ROOT_DS | tr '\n' ' '`"
|
DNSMASQ_OPTS="$DNSMASQ_OPTS `sed -e s/"^.*DS[\t ]"/--trust-anchor=.,/ -e s/" "/,/g $ROOT_DS | tr '\n' ' '`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
|||||||
Reference in New Issue
Block a user