A
A
Alexander Zykov2016-08-12 12:31:54
Domain Name System
Alexander Zykov, 2016-08-12 12:31:54

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: 37984cbf84444509bfb62035be45e3be.png
But on old versions of bind (on current working machines) like this:
d5672ef6f53542daa50b24630f118e56.png
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

2 answer(s)
R
Ruslan, 2016-08-12
@Alex_Dee

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;

Александр Зыков, 2016-08-12
@Alex_Dee Автор вопроса

Плохо изучил документацию, спасибо за решение.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question