Page 2 of 2

Re: Named configuration error in centos 6.9

Posted: 2018/02/01 12:43:14
by shan2naruto
yes how can i rectify this @trevorH

Re: Named configuration error in centos 6.9

Posted: 2018/02/01 15:56:30
by TrevorH
Without me consulting the documentation that describes the format of zone files, I suspect it may be as simple as deleting the whitespace prior to the @, the server1 and server2 lines. If that doesn't work then you'll need to go search out the doc for zone files and discover the correct format.

Re: Named configuration error in centos 6.9

Posted: 2018/02/01 17:34:52
by MartinR
I can confirm that Trevor. A space or tab at the beginning of the line means "use the existing name", so the three lines are interpreted as:

Code: Select all

@        @        IN NS server1.example.tv.
@        server1 IN  A  10.0.2.17
@        server2 IN  A  10.0.2.16
Expanding line 2 fully:

Code: Select all

example.tv.         server1  IN            A 10.0.2.17

Re: Named configuration error in centos 6.9

Posted: 2018/02/01 17:46:10
by TrevorH
Thanks. I don't hand edit zone files very much as most of my updates are done via nsupdate.