Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I get the DNS zone records from BIND in a BIND format file?

Is it possible to export those?

share|improve this question

closed as unclear what you're asking by Ward, kasperd, masegaloeh, 84104, Hyppy Apr 19 '15 at 17:48

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

-1 - please specify if server that runs bind is under your control, and mention that you have 3000 domains in the question itself. – Sandman4 Dec 7 '11 at 20:22
are zones dynamically updated ? – Sandman4 Dec 7 '11 at 20:22

Aside from.. copying the zone file?

Well, if you've got zone transfers enabled, then you can pull it with dig via a device that's authorized to do the transfer:

dig @nameserver axfr
share|improve this answer
And if you have 3000 domains? – Jean Dec 7 '11 at 18:42

you need access to the DNS server in case you cant do what Shane mentioned, your zones might be located as per in /etc/bind/named.conf, then simply tar -zcvf the dir.....

share|improve this answer
tar the dns directory and the zone files? – Jean Dec 7 '11 at 18:43
do you have access to the server? – krisdigitx Dec 8 '11 at 10:01

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