Welcome to WebmasterWorld Guest from 54.196.244.186

Forum Moderators: bakedjake

Message Too Old, No Replies

Query remote nameserver

     
2:22 am on Jan 26, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 25, 2000
posts:1786
votes: 0


How can I query a remote nameserver using nix?

Air

3:17 am on Jan 26, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 10, 2000
posts:1253
votes: 0


You can use nslookup or you can use dig, I prefer dig, plus nslookup is depricated.

you can use dig at the command line;

dig @hostname-or-ip-of-dns-to-query some-host-name.com

you can also do the reverse (reverse lookup), i.e. provide an IP address and get the hostname;

dig -x @hostname-or-ip-of-dns-to-query 1.22.222.1