DNS help PLEASE!!

i have been struggling with this DNS setup on Red Hat 9 for about 3 days now and i just can seem to get things working. any advice would be a great help here. here is what i have as of now:

(named.conf):



options {
directory "/var/named"; }

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
}

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "mydomain.com" IN {
type master;
file "mydomain.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

include "/etc/rndc.key";



and here is the other file
(mydomain.zone)

[COLOR=blue]
$TTL 86400
$ORIGIN localhost.
@ SOA mydomain.com. root.mydomain.com. (
420012
3H
15M
1W
1D
)
NS ns1.mydomain.com.
NS ns2.mydomain.com.
A xxx.xxx.xxx.xxx
ftp CNAME mydomain.com.
mail CNAME mydomain.com.
ns CNAME mydomain.com.
www CNAME mydomain.com.

 

 

 

 

Top