Skip to content

Commit e95ab40

Browse files
committed
add in logfile dnssec-test
1 parent b7fa5b6 commit e95ab40

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Install/openWRT23_install.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ if [ "$dnsmasq_inst" != "" ]
527527
/etc/init.d/dnsmasq disable >> /root/install.log
528528
opkg update >> /root/install.log
529529
opkg remove dnsmasq >> /root/install.log
530+
opkg update >> /root/install.log
531+
opkg remove odhcpd-ipv6only >> /root/install.log
530532
fi
531533

532534
opkg update >> /root/install.log
@@ -27813,7 +27815,9 @@ set_dhcp_sub() {
2781327815
uci set dhcp.Blacklist.localservice='1'
2781427816
uci set dhcp.Blacklist.ednspacket_max='1232'
2781527817
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'
2781727821
uci set dhcp.Blacklist.server=$DNS_IP'#'$DNSMASQ_Relay_port
2781827822
#uci set dhcp.Blacklist.queryport=$DNSMASQ_Relay_port
2781927823
uci set dhcp.Blacklist.leasefile='/tmp/dhcp.leases'
@@ -27863,7 +27867,9 @@ set_dhcp_sub() {
2786327867
uci set dhcp.Whitelist.localservice='1'
2786427868
uci set dhcp.Whitelist.ednspacket_max='1232'
2786527869
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'
2786727873
uci set dhcp.Whitelist.server=$DNS_IP'#'$DNSMASQ_Relay_port
2786827874
uci set dhcp.Whitelist.leasefile='/tmp/dhcp.leases'
2786927875
uci set dhcp.Whitelist.resolvfile='/tmp/resolv.conf.d/resolv.conf.auto'
@@ -31185,6 +31191,7 @@ test_dns_services() {
3118531191
clear && echo 'Stopp all services' && service dnsmasq stop && service unbound stop && service stubby stop && service tor stop && sleep 5
3118631192
echo && service tor start && service stubby start && service unbound start && service dnsmasq start && sleep 30
3118731193
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
3118831195
}
3118931196

3119031197
#-------------------------start---------------------------------------

0 commit comments

Comments
 (0)