djenoch
30th May 2004, 06:42 AM
I am trying to setup a name server that answers to my domain which I registered. Im running FC1. I have researched different books and the internet. I don't understand the chroot directory under /var/named. Right now I have my zone files and config files specified under both /var/named and /var/named/chroot. I am familiar w/ configuring bind, but this new chroot feature is killing me. My forward lookup zone is below. I have tried configuring under the chroot directory w/ no luck. I have tried configuring traditionaly under /var/named and finally I've tried both, Im at a loss. I can't ping my domain....but caching works.
# thompsonplanet.com.zone
$TTL 86400
@ IN SOA @ root (
6 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
IN NS thompsonplanet.com.
@ IN A 192.168.1.2
www IN A 192.168.1.2
# thompsonplanet.com.zone
$TTL 86400
@ IN SOA @ root (
6 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
IN NS thompsonplanet.com.
@ IN A 192.168.1.2
www IN A 192.168.1.2