Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 16:30:24 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        darryl@osborne-ind.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS/Webhosting question
Message-ID:  <C240DB26-16E9-11D8-BD31-003065ABFD92@mac.com>
In-Reply-To: <006801c3aaf5$9a851bf0$0701a8c0@darryl>
References:  <006801c3aaf5$9a851bf0$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C240DB26-16E9-11D8-BD31-003065ABFD92>