glen,
for your dns box to work it needs to have a route to the root servers and
authoritative servers. or at least a route to your isp's dns.
if you are behind a nat box, point your dns machine's default route to it's
"internal" ip address.
you might also want to try this in named.conf:
forwarders { isp.dns.address.here; };
forward only;
this forwards all requests to your isp's dns. makes life easier for your
dns.
janchavs
> -----Original Message-----
> From: gp [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2003 10:10 PM
> To: [EMAIL PROTECTED]
> Subject: [plug] help in my DNS server
>
>
> Thanks in advance for your help
>
> glen
>
> I have read everything in tldp.org howto for DNS and I can
> not make my
> DNS server work. What is wrong with my configuration. What do
> I need to
> twik. Here is the story. I wanted to build a DNS server from
> RH8 so I
> can use it in my internal network. After pointing my desktop to
> 192.168.1.154 as the primary DNS I can not even go to
> www.yahoo.com. I
> am use to pointing to a DNS server of our ISP but I wanted
> to build one
> for our network because it is sometimes down. Below is my is
> configuration. I can do a dig to www.yahoo.com and when I
> restart named
> and make a tail here is what I get
>
> Jun 2 16:52:41 server154 named[1264]: using 1 CPU
> Jun 2 16:52:41 server154 named[1267]: loading configuration from
> '/etc/named.conf'
> Jun 2 16:52:41 server154 named: named startup succeeded
> Jun 2 16:52:41 server154 named[1267]: no IPv6 interfaces found
> Jun 2 16:52:41 server154 named[1267]: listening on IPv4
> interface lo,
> 127.0.0.1#53
> Jun 2 16:52:41 server154 named[1267]: listening on IPv4
> interface eth0,
> 192.168.1.154#53
> Jun 2 16:52:41 server154 named[1267]: command channel listening on
> 127.0.0.1#953
> Jun 2 16:52:41 server154 named[1267]: zone 0.0.127.in-addr.arpa/IN:
> loaded serial 2003052903
> Jun 2 16:52:41 server154 named[1267]: zone localhost/IN:
> loaded serial 43
> Jun 2 16:52:41 server154 named[1267]: running
>
> ##############################################################
> ##############################
> [EMAIL PROTECTED] root]# cat /etc/named.conf
> // generated by named-bootconf.pl
>
> options {
> directory "/var/named";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> };
>
> //
> // a caching only nameserver config
> //
> controls {
> inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> zone "localhost" IN {
> type master;
> notify no;
> file "localhost.zone";
> allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
> type master;
> notify no;
> file "named.local";
> allow-update { none; };
> };
>
> include "/etc/rndc.key";
>
> ##############################################################
> ################################
>
> [EMAIL PROTECTED] root]# cat /var/named/named.local $TTL 86400
> @ IN SOA localhost. root.localhost. (
> 2003052903 ; Serial
> 28800 ; Refresh
> 14400 ; Retry
> 3600000 ; Expire
> 86400 ) ; Minimum
> IN NS localhost.
> 1 IN PTR localhost.
> ##############################################################
> #####################################
>
> [EMAIL PROTECTED] root]# cat /var/named/localhost.zone
> $TTL 86400
> @ IN SOA server154.xxxx.net.
> [EMAIL PROTECTED] (
> 43 ;
> serial (d. adams)
> 3H ; refresh
> 15M ; retry
> 1W ; expiry
> 1D ) ; minimum
>
> NS ns
> localhost A 127.0.0.1
> ns A 192.168.1.154
>
> ##############################################################
> ########################################
>
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
>
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie