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.

Is it possible to get all DNS records off a remote server?

share|improve this question

migrated from stackoverflow.com Mar 4 '10 at 2:07

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers 3

Normally you can't, but if the DNS server allows zone tranfers to anyone (unlikely) you can do it.

share|improve this answer
    
+1 That's the definitive answer. Without a zone transfer you cannot even know if you have obtained all the records for a given zone. –  John Gardeniers Mar 4 '10 at 2:45
add comment

Try Zonetransfer on unix shell:

$ dig axfr sld.tld. @nameserver

get a list of nameservers delegated for your zone:

$ dig soa sld.tld. +trace
share|improve this answer
add comment

Zone transfers are always available to slave nameservers. This will be at all the listed nameservers except the master nameserver. Higher security configuration hide the master nameserver and may not allow public access to it.\

Once upon a time zone transfers were frequently available to everyone. Today's best practices discourage allowing them to everyone. This helps limit information leakage. The above axfr command will get the data if it is available.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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