]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Finishing scripts/test-resolv
authorFrank Brehm <frank@brehm-online.com>
Wed, 31 Aug 2022 14:57:11 +0000 (16:57 +0200)
committerFrank Brehm <frank@brehm-online.com>
Wed, 31 Aug 2022 14:57:11 +0000 (16:57 +0200)
scripts/test-resolv [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index cfc8799..0804ceb
@@ -49,6 +49,24 @@ RESOLVER_IPS['ns2-local.pixelpark.com eth1:1']='212.91.225.75'
 RESOLVERS+=( 'ns2-local.pixelpark.com eth2:0' )
 RESOLVER_IPS['ns2-local.pixelpark.com eth2:0']='217.66.51.185'
 
+RESOLVERS+=( 'ns3-local.pixelpark.com eth0:0' )
+RESOLVER_IPS['ns3-local.pixelpark.com eth0:0']='93.188.109.13'
+
+RESOLVERS+=( 'ns3-local.pixelpark.com eth1:0' )
+RESOLVER_IPS['ns3-local.pixelpark.com eth1:0']='93.188.104.82'
+
+RESOLVERS+=( 'ns4-local.pixelpark.com eth0:0' )
+RESOLVER_IPS['ns4-local.pixelpark.com eth0:0']='77.74.232.24'
+
+RESOLVERS+=( 'ns5-local.pixelpark.com eth0:0' )
+RESOLVER_IPS['ns5-local.pixelpark.com eth0:0']='77.74.232.25'
+
+RESOLVERS+=( 'ns1-spk.spk.pixelpark.net eth0:0' )
+RESOLVER_IPS['ns1-spk.spk.pixelpark.net eth0:0']='192.168.22.3'
+
+RESOLVERS+=( 'ns2-spk.spk.pixelpark.net eth0:0' )
+RESOLVER_IPS['ns2-spk.spk.pixelpark.net eth0:0']='192.168.22.4'
+
 #-------------------------------------------------------------------------
 detect_color
 
@@ -166,7 +184,7 @@ trace_ip() {
 
     empty_line
     info "Tracing IP '${CYAN}${ip}${NORMAL}' (${resolver}) ..."
-
+    tcptraceroute -m "${MAX_TTL}" "${ip}" 53
 }
 
 #------------------------------------------------------------------------------
@@ -194,6 +212,7 @@ tracing_all_ips() {
 main() {
 
     get_options "$@"
+    check_for_root
 
     set_locale 'en_US.utf8'