nidhintomson
25th June 2008, 15:14
Hi All
I have configured DNS as per DNS how to in howtoforge.com
http://howtoforge.com/linux_bind9_and_caching_nameserver
I configured DNS for the domain domainname.net. My setup works perfectly fine other than in one palce.
If i ping www.domainname.net it responds fine
If i ping domainname.net it says ping cannot find host name.
I am herewith attaching the zone entry for domainname.net in /etc/named.conf
zone "domainname.net" IN {
type master;
file "domainname.net.zone";
allow-update { none; };
};
and /var/named/chroot/var/named/domainname.net.zone is as follows :-
$TTL 86400
@ IN SOA @ root.nameserver.domainname.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS nameserver.domainname.net.
nameserver IN A 192.168.0.19
www IN A 192.168.0.19
IN A 192.168.0.19
what is wrong with my setup ? how do we setup www.domainname.net as well as domainname.net ?
I tried this setup on an FC8 Machine and installed all the packages required using yum.
Looking forward to hear from you
Thanks and Regards
Nidhin Tomson
I have configured DNS as per DNS how to in howtoforge.com
http://howtoforge.com/linux_bind9_and_caching_nameserver
I configured DNS for the domain domainname.net. My setup works perfectly fine other than in one palce.
If i ping www.domainname.net it responds fine
If i ping domainname.net it says ping cannot find host name.
I am herewith attaching the zone entry for domainname.net in /etc/named.conf
zone "domainname.net" IN {
type master;
file "domainname.net.zone";
allow-update { none; };
};
and /var/named/chroot/var/named/domainname.net.zone is as follows :-
$TTL 86400
@ IN SOA @ root.nameserver.domainname.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS nameserver.domainname.net.
nameserver IN A 192.168.0.19
www IN A 192.168.0.19
IN A 192.168.0.19
what is wrong with my setup ? how do we setup www.domainname.net as well as domainname.net ?
I tried this setup on an FC8 Machine and installed all the packages required using yum.
Looking forward to hear from you
Thanks and Regards
Nidhin Tomson