Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 16:33:32 -0500
From:      Mykroft Holmes IV <mykroft@mykroft.com>
To:        darryl@osborne-ind.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS/Webhosting question
Message-ID:  <3FB54A2C.6060303@mykroft.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
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB54A2C.6060303>