farrokhi / dnsdiag

DNS Measurement, Troubleshooting and Security Auditing Toolset
https://dnsdiag.org/
BSD 2-Clause "Simplified" License
945 stars 100 forks source link

Depreciation warning running dnstraceroute.py #67

Closed Valiceemo closed 4 years ago

Valiceemo commented 4 years ago

Running dnstraceroute.py returns a depreciation warning.

pi@raspberrypi:~/dnsdiag $ sudo ./dnstraceroute.py --expert -C -t A -s 8.8.4.4 facebook.com
dnstraceroute.py DNS: 8.8.4.4:53, hostname: facebook.com, rdatatype: A
./dnstraceroute.py:197: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead
  resolver.query(hostname, dnsrecord, source=src_ip, raise_on_no_answer=False)
1       192.168.0.1 (192.168.0.1) 28.776 ms
2        *
3       be361.pr2.enlba.isp.sky.com (89.200.135.162) 25.802 ms
4       027ff1b7.bb.sky.com (2.127.241.183) 24.224 ms
5       209.85.248.229 (209.85.248.229) 25.385 ms
6       209.85.241.93 (209.85.241.93) 24.671 ms
7       dns.google (8.8.4.4) 47.250 ms

=== Expert Hints ===
 [*] No expert hint available for this trace