DNS server failure error "wxp.bitproject.com : not found 2 (SERVFAIL)
I have followed all the steps for configuring DNS on a fedora machinine, i have configured Cache and Master (primary)servers on the same machine. I haven't configured Slave. All testing commands are giving expected results but when i type 'host wxp.bitproject.com localhost' instead of giving me an IP address, Am getting the error "wxp.bitproject.com: not found:2 (SERVFAIL)"
What could be the problem?
My NAMED.CONF FOR 'bitproject.com'
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
//zone "bitproject.com" IN {
// type master;
// file "project.com";
// };
//zone "0.168.192.in-addr.arpa" IN {
// type master;
// file "bit.rev";
//};
zone "localhost" IN {
type master;
file "named.localhost";
allow-update { none; };
};
zone "1.0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
//include "/etc/named.rfc1912.zones";
Type :quit<Enter> to exit Vim
Last edited by dezio; 09-03-2010 at 03:26 AM.
|