I am trying to configure DNS on RHEL 5 for study purposes.
I have set up forward zones, reverse zones, and named.conf files in order to get the DNS working, but when I run service named start, I get the following error:
OS: RHEL 5
IPs I am using 172.168.190.1 ... 172.168.190.50
My /etc/named.conf file is as follows:
options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        listen-on port 53 {any; };
};
zone "oracleexpert.com" IN {
        type master;
        file "oracleexpert.com.fwd.zone";
        allow-update { none; };
};
zone "localhost" IN {
        type master;
        file "localhost.fwd.zone";
        allow-update { none; };
};
zone "190.168.172.in-addr.arpa." IN {
        type master;
        file "172.168.190.rev.zone";
        allow-update { none; };
};
zone "0.0.127.in-addr.arpa." IN {
        type master;
        file "localhost.rev.zone";
    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 "255.in-addr.arpa." IN {
        type master;
        file "named.broadcast";
        allow-update { none; };
};
zone "0.in-addr.arpa." IN {
        type master;
        file "named.zero";
        allow-update { none; };
};
include "/etc/rndc.key";
                                                                                                                50,19         Bot
Here is the output of sed -n l /etc/named.conf:
options {$
\tdirectory "/var/named";$
\tlisten-on port 53 { any; };$
};$
$
zone "oracleexpert.com" IN {$
\ttype master;$
\tfile "oracleexpert.com.fwd.zone";$
\tallow-update { none; };$
};$
$
zone "localhost" IN {$
\ttype master;$
\tfile "localhost.fwd.zone";$
\tallow-update { none; };$
};$
$
zone "190.168.172.in-addr.arpa" IN {$
\ttype master;$
\tfile "172.168.190.rev.zone";$
\tallow-update { none; };$
};$
$
zone "0.0.127.in-addr-arpa" IN {$
\ttype master;$
\tfile "localhost.rev.zone";$
\tallow-update { none; };$
};$
$
zone "255.in-addr.arpa" IN {$
\ttype master;$
\tfile "named.broadcast";$
\tallow-update { none; };$
};$
$
zone "0.in-addr.arpa" IN {$
\ttype master;$
\tfile "named.zero";$
\tallow-update { none; };$
};$
$
include "/etc/rndc.key";$
[root@alpha ~]# 

EOF (End of Life)and isn't supported anymore./etc/named.conf. You should edit your question to show the same version of the file in bothcatandsed -n lforms, and the error message that goes with that version (because the line numbers have changed). In general, your question should say what you have done to try to solve the problem. Specifically, you should say something like, “I had dots at the ends of names, e.g.,arpa., and I took them out (→arpa), and I had adump-fileand astatistics-file, and I took them out, and yet I get the same error.”