DNS/Webhosting question

Charles Swiger cswiger at mac.com
Fri Nov 14 13:30:29 PST 2003


On Nov 14, 2003, at 4:23 PM, Darryl Hoar wrote:
> Greetings,
> What tools exist in Freebsd to determine the primary dsn server for a 
> domain
> ?

nslookup and dig come to mind:

18-ns1% nslookup -type=ns freebsd.org.
Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
freebsd.org     nameserver = ns0.freebsd.org
freebsd.org     nameserver = ns1.iafrica.com
freebsd.org     nameserver = ns1.downloadtech.com
freebsd.org     nameserver = ns2.downloadtech.com
freebsd.org     nameserver = ns2.iafrica.com

> Also, is there a way to determine the company hosting a website ?

whois with the IP address will give you the netblock owner, although 
traceroute might also be informative:

20-ns1% whois 216.136.204.117
Cable & Wireless SC5-3 (NET-216-136-128-0-1)
                                   216.136.128.0 - 216.136.255.255
Yahoo EC20-2-YAHOO6 (NET-216-136-204-0-1)
                                   216.136.204.0 - 216.136.204.255

-- 
-Chuck



More information about the freebsd-questions mailing list