@@ -527,6 +527,8 @@ if [ "$dnsmasq_inst" != "" ]
527
527
/etc/init.d/dnsmasq disable >> /root/install.log
528
528
opkg update >> /root/install.log
529
529
opkg remove dnsmasq >> /root/install.log
530
+ opkg update >> /root/install.log
531
+ opkg remove odhcpd-ipv6only >> /root/install.log
530
532
fi
531
533
532
534
opkg update >> /root/install.log
@@ -27813,7 +27815,9 @@ set_dhcp_sub() {
27813
27815
uci set dhcp.Blacklist.localservice='1'
27814
27816
uci set dhcp.Blacklist.ednspacket_max='1232'
27815
27817
uci set dhcp.Blacklist.cachelocal='1'
27816
- uci set dhcp.Blacklist.cachesize='0'
27818
+ #uci set dhcp.Blacklist.cachesize='0'
27819
+ uci set dhcp.Blacklist.dnssec='1'
27820
+ uci set dhcp.Blacklist.dnsseccheck='1'
27817
27821
uci set dhcp.Blacklist.server=$DNS_IP'#'$DNSMASQ_Relay_port
27818
27822
#uci set dhcp.Blacklist.queryport=$DNSMASQ_Relay_port
27819
27823
uci set dhcp.Blacklist.leasefile='/tmp/dhcp.leases'
@@ -27863,7 +27867,9 @@ set_dhcp_sub() {
27863
27867
uci set dhcp.Whitelist.localservice='1'
27864
27868
uci set dhcp.Whitelist.ednspacket_max='1232'
27865
27869
uci set dhcp.Whitelist.cachelocal='1'
27866
- uci set dhcp.Whitelist.cachesize='0'
27870
+ #uci set dhcp.Whitelist.cachesize='0'
27871
+ uci set dhcp.Whitelist.dnssec='1'
27872
+ uci set dhcp.Whitelist.dnsseccheck='1'
27867
27873
uci set dhcp.Whitelist.server=$DNS_IP'#'$DNSMASQ_Relay_port
27868
27874
uci set dhcp.Whitelist.leasefile='/tmp/dhcp.leases'
27869
27875
uci set dhcp.Whitelist.resolvfile='/tmp/resolv.conf.d/resolv.conf.auto'
@@ -31185,6 +31191,7 @@ test_dns_services() {
31185
31191
clear && echo 'Stopp all services' && service dnsmasq stop && service unbound stop && service stubby stop && service tor stop && sleep 5
31186
31192
echo && service tor start && service stubby start && service unbound start && service dnsmasq start && sleep 30
31187
31193
echo 'Tor' && dig www.test.de -p 9053 | grep 'www.test.de' && echo 'Stubby' && dig www.test.de -p 5453 | grep 'www.test.de' && echo 'Unbound' && dig www.test.de -p 5353 | grep 'www.test.de' && echo 'Dnsmasq' && dig www.test.de -p 53 | grep 'www.test.de'
31194
+ echo 'DNSSEC Test' && dig sigok.verteiltesysteme.net +dnssec | grep flags: | grep ANSWER | grep ad; && echo && echo 'fail' && dig sigfail.verteiltesysteme.net +dnssec | grep flags: | grep ANSWER | grep ad
31188
31195
}
31189
31196
31190
31197
#-------------------------start---------------------------------------
0 commit comments