My DNS IP Addresses

Stuart Sears stuart at sjsears.com
Sat Apr 23 10:59:15 UTC 2005


On Saturday 23 April 2005 08:51, William M. Quarles wrote:
> 1.  Does somebody know how I find my primary and secondary DNS IP
> address?  I found a site that said to use whois domain.name but that
> didn't give me the expected output. (Then again I put in an IP
> address instead of a domain name.  I don't know what my domain name
> is.)
if you mean "which DNS servers I use" then
cat /etc/resolv.conf

> 2.  Speaking of which, is there a way that I can directly query a DNS
> for IP address of a domain and vice versa?
dig @nameserver_address hostname
or you could use host instead
host hostname_or_ip_address address_of_nameserver


Stuart
-- 
Stuart Sears RHCE, RHCX, RTFM, ASAP
"...and scantily clad females, of course.  Who cares if it's below zero
outside"
(By Linus Torvalds)




More information about the fedora-list mailing list