Merge branch 'master' of ssh://git.nixnet.xyz:5650/NixNet/dns
This commit is contained in:
commit
12db8a2999
|
@ -10,11 +10,11 @@ function test {
|
|||
|
||||
echo "TRYING IPv4 $SERVER (DNS-over-TLS, $SERVER4)"
|
||||
IP4_ADDR="$(kdig @$SERVER4 +noall +short +tls-ca +tls-host=$SERVER +tls-sni=$SERVER -t A whoami.v4.powerdns.org)"
|
||||
echo "$IP4_ADDR ($(dig +short -x $IP4_ADDR))"
|
||||
echo "$IP4_ADDR ($(dig +short -x $IP4_ADDR 2>/dev/null))"
|
||||
|
||||
echo "TRYING IPv6 $SERVER (DNS-over-TLS, $SERVER6)"
|
||||
IP6_ADDR="$(kdig @$SERVER6 +noall +short +tls-ca +tls-host=$SERVER +tls-sni=$SERVER -t AAAA whoami.v6.powerdns.org)"
|
||||
echo "$IP6_ADDR ($(dig +short -x $IP6_ADDR))"
|
||||
echo "$IP6_ADDR ($(dig +short -x $IP6_ADDR 2>/dev/null))"
|
||||
|
||||
echo ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue