DNS/Webhosting question
Mykroft Holmes IV
mykroft at mykroft.com
Fri Nov 14 13:33:34 PST 2003
Darryl Hoar wrote:
>Greetings,
>What tools exist in Freebsd to determine the primary dsn server for a domain
>?
>Also, is there a way to determine the company hosting a website ?
>
>Thanks,
>D
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
to determine primary DNS server:
whois -h whois.networksolutions.com domainname.com (Only works for .com
.net and .org domains)
or:
nslookup -q=NS domainname.com
or:
dig domainname.com
To determine who hosts the domain is harder.
You can traceroute to it (Which should at least give you the upstream
ISP) or you can do a whois against the IP like:
whois -h whois.arin.net ip.ip.ip.ip
substitute RIPE or APNIC's whois servers for whois.arin.net when dealing
with non-North American IP's.
This wil also give you the upstream ISP usually.
Adam
More information about the freebsd-questions
mailing list