BIND help with secondary DNS (SOLVED)

General support questions
Post Reply
nandoin
Posts: 6
Joined: 2018/01/19 13:34:37

BIND help with secondary DNS (SOLVED)

Post by nandoin » 2018/01/19 13:49:10

Hello everyone,

I Have 2 VMs with BIND DNS 9.9 (primary and secondary).

in my secondary dns, the configuration file is 'cryptographed', making it impossible to edit with the 'vi' command.

But why do I want to be able to edit these files? If my primary DNS goes offline, I will need to change some entries in the secondary.

Anyone know how to edit this file?

Thanks,

Luiz Fernando Marques.
Attachments
dns.png
dns.png (6.77 KiB) Viewed 609 times
Last edited by nandoin on 2018/01/19 18:28:28, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: BIND help with secondary DNS

Post by TrevorH » 2018/01/19 13:52:10

I cannot see anything in your png, it's too small. What is the filename? What do you mean by 'cryptographed'?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nandoin
Posts: 6
Joined: 2018/01/19 13:34:37

Re: BIND help with secondary DNS

Post by nandoin » 2018/01/19 18:03:18

TrevorH wrote:I cannot see anything in your png, it's too small. What is the filename? What do you mean by 'cryptographed'?
Open image in new tab.

The type and extent of the file in the secondary DNS is identical to the primary DNS. If you repair the image, when I open it with the text editor, it appears completely unconfigured.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: BIND help with secondary DNS

Post by avij » 2018/01/19 18:08:16

It's in a binary format, which bind can supposedly load faster.

If you want to use the traditional text format, put masterfile-format text; in the options section of your /etc/named.conf on your slave server.

You may need to delete the binary zone files, restart named.service and let your slave DNS server fetch the zone from the master again.

nandoin
Posts: 6
Joined: 2018/01/19 13:34:37

Re: BIND help with secondary DNS

Post by nandoin » 2018/01/19 18:27:45

avij wrote:It's in a binary format, which bind can supposedly load faster.

If you want to use the traditional text format, put masterfile-format text; in the options section of your /etc/named.conf on your slave server.

You may need to delete the binary zone files, restart named.service and let your slave DNS server fetch the zone from the master again.
Thanks man, it works!!!

8-)

Post Reply