Hi Guys, Thanks, to Lars Hecking, Crist Clark and James Zhao for their quick response. The fix was to take out the forwarders options in my /etc/named.conf file, which seems to have fixed the issue I was having. Also, the secret rndc_key that I posted is not the one I am using :) but thanks for pointing it out. That was copied straight from the howto but changed in my actual implementation. Thanks again for your response, Simran H. ----- Original Message ----- From: "Jagga Daku" <jagga@chamkila.org> To: <sunmanagers@sunmanagers.org> Sent: Tuesday, September 02, 2003 12:21 PM Subject: Bind 9 help > Hi Guys, > > I have successfully installed bind 9 but I am having some issues with doing > a nslookup from my internal network. > > >nslookup google.com > Server: shinda.chamkila.org > Address: 192.168.0.5 > > DNS request timed out. > timeout was 2 seconds. > *** Request to shinda.chamkila.org timed-out > > Then when I try it a couple of more times it works just fine. Is this a > configuration issue? My internal addresses come up really quickly but it > times out for external addresses a few times before it actually works. The > following are my config files for named: > > Any suggestions or comments would be grately appreciated. > > Thanks in advance, > Simran H. > > ---------------------------- > Named Config Files > ---------------------------- > > # uname -a > SunOS shinda 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10 > > ----------------- > /etc/named.conf > ----------------- > // Config file for caching only name server > // > // The version of the HOWTO you read may contain leading spaces > // (spaces in front of the characters on these lines ) in this and > // other files. You must remove them for things to work. > // > // Note that the filenames and directory names may differ, the > // ultimate contents of should be quite similar though. > > options { > directory "/var/named"; > forward first; > forwarders { > 198.6.1.3; > 198.6.1.146; > }; > allow-query { 192.168.0.0/24; localhost; }; > // Uncommenting this might help if you have to go through a > // firewall and things are not working out. But you probably > // need to talk to your firewall admin. > > // query-source port 53; > }; > > controls { > inet 127.0.0.1 allow { localhost; } keys { rndc_key; }; > }; > > key "rndc_key" { > algorithm hmac-md5; > secret > "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K"; > }; > > zone "." { > type hint; > file "root.hints"; > }; > > zone "0.0.127.in-addr.arpa" { > type master; > file "pz/127.0.0"; > }; > > zone "chamkila.org" { > type master; > notify no; > file "pz/chamkila.org"; > }; > > zone "0.168.192.in-addr.arpa" { > type master; > notify no; > file "pz/192.168.0"; > }; > > ----------- > 127.0.0 > ----------- > $TTL 3D > @ IN SOA shinda.chamkila.org. root.chamkila.org. ( > 1 ; Serial > 8H ; Refresh > 2H ; Retry > 4W ; Expire > 1D) ; Minimum TTL > NS shinda.chamkila.org. > 1 PTR localhost. > > ------------ > 192.168.0 > ------------ > $TTL 3D > @ IN SOA shinda.chamkila.org. root.chamkila.org. ( > 199802151 ; Serial, todays date + todays serial > 8H ; Refresh > 2H ; Retry > 4W ; Expire > 1D) ; Minimum TTL > NS shinda.chamkila.org. > > 1 PTR gateway.chamkila.org. > 3 PTR enermax.chamkila.org. > 5 PTR shinda.chamkila.org. > 7 PTR mail.chamkila.org. > > -------------- > chamkila.org > -------------- > ; Zone file for linux.bogus > ; > ; The full zone file > ; > $TTL 3D > @ IN SOA shinda.chamkila.org. root.chamkila.org. ( > 199802151 ; serial, todays date + todays > serial # > 8H ; refresh, seconds > 2H ; retry, seconds > 4W ; expire, seconds > 1D ) ; minimum, seconds > ; > NS shinda ; Inet Address of name server > MX 10 mail.chamkila.org. ; Primary Mail Exchanger > ; > localhost A 127.0.0.1 > shinda A 192.168.0.5 > TXT "Ultra 5" > mail A 192.168.0.7 > TXT "Kuldip Manak" > enermax A 192.168.0.3 > TXT "Win XP in My Room" > manak CNAME mail > kuldipmanak CNAME mail > www CNAME mail > amarjot A 192.168.0.11 > TXT "Old Ultra 2" > test A 192.168.0.29 > TXT "TESTING" > > ----------- > root.hints > ----------- > ; > ; There might be opening comments here if you already have this file. > ; If not don't worry. > ; > ; About any leading spaces in front of the lines here: remove them! > ; Lines should start in a ;, . or character, not blanks. > ; > . 6D IN NS A.ROOT-SERVERS.NET. > . 6D IN NS B.ROOT-SERVERS.NET. > . 6D IN NS C.ROOT-SERVERS.NET. > . 6D IN NS D.ROOT-SERVERS.NET. > . 6D IN NS E.ROOT-SERVERS.NET. > . 6D IN NS F.ROOT-SERVERS.NET. > . 6D IN NS G.ROOT-SERVERS.NET. > . 6D IN NS H.ROOT-SERVERS.NET. > . 6D IN NS I.ROOT-SERVERS.NET. > . 6D IN NS J.ROOT-SERVERS.NET. > . 6D IN NS K.ROOT-SERVERS.NET. > . 6D IN NS L.ROOT-SERVERS.NET. > . 6D IN NS M.ROOT-SERVERS.NET. > A.ROOT-SERVERS.NET. 6D IN A 198.41.0.4 > B.ROOT-SERVERS.NET. 6D IN A 128.9.0.107 > C.ROOT-SERVERS.NET. 6D IN A 192.33.4.12 > D.ROOT-SERVERS.NET. 6D IN A 128.8.10.90 > E.ROOT-SERVERS.NET. 6D IN A 192.203.230.10 > F.ROOT-SERVERS.NET. 6D IN A 192.5.5.241 > G.ROOT-SERVERS.NET. 6D IN A 192.112.36.4 > H.ROOT-SERVERS.NET. 6D IN A 128.63.2.53 > I.ROOT-SERVERS.NET. 6D IN A 192.36.148.17 > J.ROOT-SERVERS.NET. 6D IN A 198.41.0.10 > K.ROOT-SERVERS.NET. 6D IN A 193.0.14.129 > L.ROOT-SERVERS.NET. 6D IN A 198.32.64.12 > M.ROOT-SERVERS.NET. 6D IN A 202.12.27.33 > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Sep 2 19:11:14 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:18 EST