2011-04-13, 09:41 AM
hey guys
i have a problem i am new to linux and i want to configure a Dns server for mail and web hosting but i am having an error when i try to start my name server. i have editted my named.conf file this is how it looks like
Error
Starting named:
Error in named configuration:
zone aromotorgroup.com/IN: loaded serial 2010052601
zone 1.168.192.in-addr.arpa/IN: loaded serial 2010052601
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.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 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone aromotorgroup.com/IN: loading from master file aromotorgroup.com failed: file not found
zone aromotorgroup.com/IN: not loaded due to errors.
external/aromotorgroup.com/IN: file not found
zone 226.99.221.41.in-addr.arpa/IN: loaded serial 2010052601
[FAILED]
my named.conf file looks like this
//
// 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;192.168.1.100/24; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
allow-transfer { localhost; 192.168.1.0/24; };
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view "internal" {
match-clients {
localhost;
192.168.1.0/24;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "aromotorgroup.com" IN {
type master;
file "aromotorgroup.com.lan";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.db";
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
};
view "external" {
match-clients {
any;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "aromotorgroup.com" IN {
type master;
file "aromotorgroup.com";
allow-update { none; };
};
zone "226.99.221.41.in-addr.arpa" IN {
type master;
file "226.99.221.41.db";
allow-update { none; };
};
};
and my zone file looks like this
$TTL 86400
@ IN SOA localhost.aromotorgroup.com. root.aromotorgroup.com. (
2004042801 ; Serial
2H ; Refresh
2H ; Retry
1H ; Expire
1D) ; Min TTL
NS localhost.aromotorgroup.com.
NS ns.domain.com.
aromotorgroup.com. MX 5 mail.jyrules.com.
aromotorgroup.com. MX 15 pvr.jyrules.com.
aromotorgroup.com. A 41.221.99.226
localhost A 127.0.0.1
www CNAME aromotorgroup.com.
ftp CNAME aromotorgroup.com.
mail CNAME aromotorgroup.com.
pvr IN A 226.99.221.41
i hope i will be helped
Thanks