From 8d0e562024dc55713a688a40363596ed5037c0c1 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 12 Mar 2023 18:21:13 +0200 Subject: [PATCH] dns-ecs-debug.bash: begin by getting IP addresses --- bash/dns-ecs-debug.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bash/dns-ecs-debug.bash b/bash/dns-ecs-debug.bash index 96c3404..b6949c3 100755 --- a/bash/dns-ecs-debug.bash +++ b/bash/dns-ecs-debug.bash @@ -6,6 +6,12 @@ # $@ takes all parameters so another DNS server can be specified # e.g. ./dns-ecs-debug.bash @9.9.9.11 +# Let's get our own IPs first +echo "Actual IP addresses" +curl -L4s --doh-url https://dns.quad9.net/dns-query https://icanhazip.com/ +curl -L6s --doh-url https://dns.quad9.net/dns-query https://icanhazip.com/ +echo "" + echo "Google $@" dig +short TXT o-o.myaddr.l.google.com. "$@" echo ""