Answer the question
In order to leave comments, you need to log in
How to make normal presentation of bind files?
Greetings everyone, I installed two new bind servers (we will migrate from old OSes), there is nothing complicated at all, but as it turned out that after synchronizing the slave zones, the zone files look very strange:
But on old versions of bind (on current working machines) like this:
That is, for example, in the event of a master server failure, you could easily change slave to master, and the zone would continue to live, and the new server would be configured as a slave. Now I can't figure out why this might be.
Answer the question
In order to leave comments, you need to log in
The BIND package includes a named-compilezone utility that allows you to convert the file format.
named-compilezone -f raw -F text -o kurganenergo.ru.int.text kurganenergo.ru kurganenergo.ru.int
The output will be a text version of the zone that can be transferred to another server.
And in order for the slave server to store zones by default in text format, you need to add the following parameter to the zone description section in named.conf: masterfile-format text;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question