named.conf isn't used to resolve dns requests on it's own box. Check your /etc/resolv.conf, and see where you're pointing your resolver. The first nameserver should be pointing to the IP address of your box. Then your resolver will point to your own dns server, and your domains should resolve on that box correctly.
Ben ----- Original Message ----- From: "Thomas E. Dukes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 22, 2003 10:15 AM Subject: RE: DNS problem: Can't resolve myself > > > > What is your named.conf ( master & salve ) and others zone files ? > Thanks, this is going to be a long email. > > Here's my named.conf: > ## named.conf - configuration for bind > # > # Generated automatically by redhat-config-bind, alchemist et al. > # Any changes not supported by redhat-config-bind should be put > # in /etc/named.custom > # > controls { > inet 127.0.0.1 allow { localhost; } keys { rndckey; }; > }; > > include "/etc/named.custom"; > > include "/etc/rndc.key"; > > options { > directory "/var/named/"; > }; > > zone "0.0.127.in-addr.arpa" { > type master; > file "0.0.127.in-addr.arpa.zone"; > }; > > zone "localhost" { > type master; > file "localhost.zone"; > }; > > zone "dnsalias.net" { > type master; > file "/var/named/dnsalias.net.hosts"; > }; > > zone "palmettoshopper.com" { > type master; > file "/var/named/palmettoshopper.com.hosts"; > }; > -------------------end of named.conf---------------------- > > localhost.zone: > $TTL 86400 > @ IN SOA @ root.localhost ( > 3 > 28800 > 7200 > 604800 > 86400 ) > > > @ IN NS localhost. > > > @ IN A 127.0.0.1 > --------------------end of localhost.zone--------------------- > > dnsalias.net.zone: > $ttl 38400 > palmetto.dnsalias.net. IN SOA ns1.palmetto.dnsalias.net. > edukes.palmetto.dnsalias.net. ( > 2003033006 > 10800 > 3600 > 604800 > 38400 ) > palmetto.dnsalias.net. IN NS ns1.palmetto.dnsalias.net. > palmetto.dnsalias.net. IN A 10.10.0.1 > mail.palmetto.dnsalias.net. IN CNAME palmetto.dnsalias.net. > > --------------end of dnsalias.net.hosts------------------ > > palmettoshopper.com.hosts: > $ttl 38400 > palmettoshopper.com. IN SOA ns1.palmettoshopper.com. > admin.palmettoshopper.com. ( > 2003033004 > 10800 > 3600 > 604800 > 38400 ) > palmettoshopper.com. IN NS ns1.palmettoshopper.com. > palmettoshopper.com. IN A 10.10.0.1 > mail.palmettoshopper.com. IN CNAME palmettoshopper.com. > > ---------------end of palmettoshopper.com.hosts---------- > > I appreciate any suggestions. This is a minor inconvenience but I do > have occasion to want to access these sites from the server. > > TIA > > > > > > I have been dealing with this for months. I can only access my > > > website using http://localhost from the server its located. > > Anywhere, > > > inside the network or outside the network, no problem. I > > am running 2 > > > domains: palmetto.dnsalias.net and palmettoshopper.com on the same > > > server. I can't get to either using the fully qualified > > domain name. > > > Is this just typical of virtual hosting? > > > > > > TIA > > > > > > Palmetto Shopper > > > http://www.palmettoshopper.com > > > Serving all of South Carolina and beyond! > > > > > > -- > > > redhat-list mailing list > > > unsubscribe > > mailto:[EMAIL PROTECTED]> subject=unsubscribe > > > > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list