[BlueOnyx:07078] Re: named error: /etc/named.conf.include not found

Michael Stauber mstauber at blueonyx.it
Sat Apr 16 19:26:13 -05 2011


Hi Asher,

> Error in named configuration:
> zone 0.0.127.in-addr.arpa/IN: loading master file
> pri.0.0.127.in-addr.arpa: file not found
> _default/0.0.127.in-addr.arpa/IN: file not found
> zone domain.tld/IN: loading master file db.domain.tld: file not found
> _default/domain.tld/IN: file not found
> <snip>
>                                                           [FAILED]
> ==========
> 
> Same error is produced when i modify the config to point to
> /var/named/chroot/etc/named.conf.include.
> 
> What else could i do?

In the BX GUI go to "Network Services" / "DNS" and click on the button "Edit 
Primary Services".

On the top of the page that then loads, there should three pulldown menus on 
top:

"Select Domain ..."
"Select Netwok ..."
"Add Record ..."

>From "Select Network ..." choose the network 127.0.0.0/255.255.255.192 (or any 
other that starts with 127.*, as the netmask of yours could be different) and 
then click on "Remove Records".

After you have removed all the localhost records, save your changes and then 
restart the DNS server again. It should now work without errors.

The cause of this problem is as follows:

The GUI always adds a zone for localhost on its own, because you need one. 
However, if you import DNS records with dnsImport, then you may end up with 
having one zone for localhost and 2nd (conflicting) one for 127.0.0.1. 
Removing the conflicting 127.0.0.1 from the GUI usually solves that.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list