adns warning error

44 views
Skip to first unread message

Peter Václavek

unread,
Mar 19, 2013, 6:55:22 AM3/19/13
to adns-...@googlegroups.com
Hi!
Im trying to execute this simple code:


import adns

s=adns.init() 
print s.synchronous('teacher.sk',adns.rr.NS)

but in my terminal I get:
adns warning: datagram received from unknown nameserver 195.146.128.62
adns warning: datagram received from unknown nameserver 195.146.128.62
adns warning: datagram received from unknown nameserver 195.146.132.58

This occurs when Im trying to get NS or MX records. A record is properly obtained.

What Im doing wrong?

Andy Dustman

unread,
Mar 19, 2013, 8:30:00 AM3/19/13
to adns-...@googlegroups.com

Probably nothing. The adns library itself is returning this warning. I suspect it's because a nameserver other than the one that was query responded to your request. Perhaps the nameserver has multiple IP addresses? Or worse, there could be a rogue nameserver in your network (though they'd probably be smart enough to spoof the right source address). Any chance you are UDP broadcasting DNS queries? I'd recommend using a packet sniffer (tcpdump or wireshark) to see what is happening.
Reply all
Reply to author
Forward
0 new messages