[BlueOnyx:18243] Re: Secondary zone file location

Carl Byington carl at five-ten-sg.com
Tue Aug 25 10:38:53 -05 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 2015-08-25 at 15:08 +0100, Richard Sidlin wrote:

> > I seem to remember trying to do this myself some time ago but the
> problem was that the slave zone files do not have as much information
> as the primary zone. I think in the end I had to build a quick Windows
> DNS Server, add that as a secondary and then within the Windows GUI,
> you can actually change them from secondary to primary. If I remember
> how I got them back to BO, I will repost!

If the current slave is still authoritative for those zones, you can do
something like:

dig some.zone axfr @localhost +noall +multiline +onesoa +answer |\
(read; read; read; cat) >named.some.zone

to create named.some.zone in master file format. At least my version of
dig has output with three extra lines at the top that are discarded by
the three read commands.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlXcjAQACgkQL6j7milTFsFe2wCfQegkwbSXSm3d4dvRNjOf/97P
+lEAnjNa062Kyd/6MbO5OmIxkY0n9P2E
=i7r+
-----END PGP SIGNATURE-----





More information about the Blueonyx mailing list