> I'm looking for a way to obtain the DNS servers of a domain > without having to do a whois and parsing the whois information. > > I have been able to get the IPs of "www.domain.com" but can't > get ns1.hostingprovider.com and ns2.hostingprovider.com from > domain.com if those are the NS records...
I don't think you'll be able to do this. You're getting IP addresses for hostnames from those authoritative name servers, or from cached queries made to those name servers. When you type www.domain.com in a browser, your computer has to find out the IP address for that hostname. So, it asks whatever nameserver your computer is configured to use, and if that nameserver knows, it'll respond with the IP address. But of course, your nameserver probably won't know, so it'll have to ask another nameserver. It won't even know what nameserver to ask - the authoritative nameserver for domain.com - so it'll ask a root nameserver for the .com domain for the identity of the authoritative nameservers for domain.com. It'll then query those nameservers directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

