named - error /sbin/service named start 2>&1

Syndrome

New member
Joined
Jun 28, 2008
Messages
4
Location
Azerbaijan
Hello.I need tech help with my DNS.I have DirectAdmin v1.32.2 and in Service Monitor panel I see named - Process is stopped.I get error message: /sbin/service named start 2>&1 when click on start button.Also when I try to start named from ssh I get this error:

[root@myhost ~]# service named start
Starting named:
Error in named configuration:
zone localhost/IN: loading master file localhost.zone: file not found
_default/localhost/IN: file not found
zone 0.0.127.in-addr.arpa/IN: loading master file named.local: file not found
_default/0.0.127.in-addr.arpa/IN: file not found
zone mydomain1.com/IN: loaded serial 2008072500
zone mydomain2.com/IN: loaded serial 2008072500
zone mydomain3.com/IN: loaded serial 2008073000
zone mydomain4.com/IN: loaded serial 2008073000
[FAILED]


Please help me ASAP.

Regards,
Syndrome
 
Remove the localhost and 00.0.127..... in /etc/named.conf

I updated mine a while ago.. so this isn't the original too ;)... but mine looks like this...

// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};


zone "fusion-ict.com" { type master; file "/var/named/fusion-ict.com.db"; };
zone "fusion-ict.nl" { type master; file "/var/named/fusion-ict.nl.db"; };
zone "fusionict.nl" { type master; file "/var/named/fusionict.nl.db"; };

When you update named it changes your /etc/named.conf! Like always don't just update stuff ;)
 
Last edited:
Remove the localhost and 00.0.127..... in /etc/named.conf

I updated mine a while ago.. so this isn't the original too ;)... but mine looks like this...



When you update named it changes your /etc/named.conf! Like always don't just update stuff ;)

success...thanks
 
Back
Top