Your name server are available on the internet anyway. If you are on a system with whois installed (rwhois) then you can enter
whois <domainname>
And you get all of the information about that domain including who owns it, the registrar, and what the primary name servers are. You can get the same information from any of the whois sites out on the internet.