Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
how to request/acquire all records from a DNS?

I want to configure my DNS server the same as this third party DNS server for a given domain. It is temporary. We are going to end up taking the whole thing over. I want to see if there are any other subdomains like mail.domain.com

I understand that it is possible that for this given server I will not be able to do a list, but if they permit it I want to. How do I do it?

share|improve this question

marked as duplicate by Warner, Chris S, jscott, Iain, sysadmin1138 Oct 29 '10 at 15:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Can't you just ask for their zone file if you're going to take it over? –  Chopper3 Oct 29 '10 at 15:13
    
Chopper3: The existing webmaster is not tech savvy and the existing DNS server administrator is Microsoft. I am asking this question because I run into this question often. –  George Bailey Oct 29 '10 at 15:19

2 Answers 2

up vote 1 down vote accepted
dig -t axfr example.com @ns.example.com

where example.com is the zone to list, and ns.example.com is the server to ask for the zone. you are right to note that it is possible (even likely) that the server won't allow this, but if it does, that works for me.

share|improve this answer

Ask the other party to allow "zone transfers" (AXFR) to your server, and configure your server to act as a slave of the other party's zone. This should create a complete copy of the master zone on your server.

Eventually, when the time comes to "take the whole thing over", you can easily convert your server into the master for the zone.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.