Ibrahim Bazarwala
asked on
dns error:loading master file named.mail.alhasawi.com: file not found
Hi experts
Redhat advance server 4.0
Please its very urgent
Please look at the /var/log/messages
Dec 12 09:25:09 linux named[4043]: loading configuration from '/etc/named.conf'
Dec 12 09:25:09 linux named: named startup succeeded
Dec 12 09:25:09 linux named[4043]: listening on IPv4 interface lo, 127.0.0.1#53
Dec 12 09:25:09 linux named[4043]: listening on IPv4 interface eth0, 192.168.0.252#53
Dec 12 09:25:09 linux named[4043]: command channel listening on 127.0.0.1#953
Dec 12 09:25:09 linux named[4043]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Dec 12 09:25:09 linux named[4043]: zone 0.168.192.in-addr.arpa/IN: loading master file named.192.168.0: file not found
Dec 12 09:25:09 linux named[4043]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0. 0.0.0.0.0. 0.0.0.0.0. 0.0.0.ip6. arpa/IN: loaded serial 1997022700
Dec 12 09:25:09 linux named[4043]: zone mail.alhasawi.com/IN: loading master file named.mail.alhasawi.com: file not found
Dec 12 09:25:09 linux named[4043]: zone localdomain/IN: loaded serial 42
Dec 12 09:25:09 linux named[4043]: zone localhost/IN: loaded serial 42
HERE IS MY /etc/named.conf file
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dum p.db";
statistics-file "/var/named/data/named_sta ts.txt";
/*
* 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 "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0 .0.0.0.0.0 .0.0.0.0.0 .0.0.0.ip6 .arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "mail.alhasawi.com" IN {
type master;
file "named.mail.alhasawi.com";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "named.192.168.0";
allow-update { none; };
};
include "/etc/rndc.key";
It tried firewall on and off, but same error
Redhat advance server 4.0
Please its very urgent
Please look at the /var/log/messages
Dec 12 09:25:09 linux named[4043]: loading configuration from '/etc/named.conf'
Dec 12 09:25:09 linux named: named startup succeeded
Dec 12 09:25:09 linux named[4043]: listening on IPv4 interface lo, 127.0.0.1#53
Dec 12 09:25:09 linux named[4043]: listening on IPv4 interface eth0, 192.168.0.252#53
Dec 12 09:25:09 linux named[4043]: command channel listening on 127.0.0.1#953
Dec 12 09:25:09 linux named[4043]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Dec 12 09:25:09 linux named[4043]: zone 0.168.192.in-addr.arpa/IN:
Dec 12 09:25:09 linux named[4043]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.
Dec 12 09:25:09 linux named[4043]: zone mail.alhasawi.com/IN: loading master file named.mail.alhasawi.com: file not found
Dec 12 09:25:09 linux named[4043]: zone localdomain/IN: loaded serial 42
Dec 12 09:25:09 linux named[4043]: zone localhost/IN: loaded serial 42
HERE IS MY /etc/named.conf file
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dum
statistics-file "/var/named/data/named_sta
/*
* 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 "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "mail.alhasawi.com" IN {
type master;
file "named.mail.alhasawi.com";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "named.192.168.0";
allow-update { none; };
};
include "/etc/rndc.key";
It tried firewall on and off, but same error
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don remember the exact line but its some thing line that
default directory=/var/named/chroo
I thought i deleted the question.That's why respond late.Any way I have one more question open related to dovecot.I will be please if u answer that one .