LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Whats wrong with my BIND? (http://www.linuxquestions.org/questions/linux-server-73/whats-wrong-with-my-bind-533910/)

ashesh0326 03-02-2007 09:36 AM

Whats wrong with my BIND?
 
Well, here's my problem.
It's been quite some time since I've been trying to configure and run the BIND dns server on my machine as my nameserver.
When I just started, I just installed named and ran in on my machine and then edited the /etc/resolv.conf file as follows:
nameserver 127.0.0.1
Next, I started BIND and it functioned properly. And I figured, that since I was using a slow internet connection, some of the hostnames could not be looked up in any number of tries (one such example was www.mitadmissions.org)
Step two; I wanted some servers that my machine could connect to more quickly than the servers specified beforehand in the file /var/lib/root.hint (in the file /var/lib/root.hint, the hint file for BIND; please note that I'm on SUSE 10.1), and hence added 3 additional dns servers provided by my isp. Finally my root.hint file looked like this:
;
. 3600000 NS DNSDEL.MANTRAONLINE.COM
DNSDEL.MANTRAONLINE.COM 3600000 A 202.56.230.5
; airtel dns Delhi
. 3600000 NS DNSBOM.MANTRAONLINE.COM
DNSBOM.MANTRAONLINE.COM 3600000 A 202.56.240.5
; airtel dns Bombay
. 3600000 NS DNSBLR.MANTRAONLINE.COM
DNSBLR.MANTRAONLINE.COM 3600000 A 202.56.250.5
; airtel dns Bangalore
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; operated by VeriSign, Inc.
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
;
; operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
;
; operated by ICANN
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
;
; operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
; End of File
Now, there was certainly some performance improvement, i.e., some hostnames my dns couldn't lookup earlier could now be looked up, but there were still certain hostnames that didn't budge.
Then, I also added the 3 dns servers provided by my isp as the forwarders for BIND. This was a major improvement in performance, as now, most of the hostnames (eg. www.mitadmissions.org) could be looked up, and that too in much less time...

Anyways, I was faced with a strange problem now. I noticed that after 15-20 minutes of running, BIND stopped performing new lookups, and hostnames that would easily be looked up earlier, could not be looked up again. This problem vanished everytime I restarted the dns server, and then recurred 10-15 minutes after every such restart.

I've tried my best at it, and I've given up. Where do you guys think the problem is?
(Please note that I'm using a VERY slow GPRS connection, and I get a maximum of 15-20 kbps)
What should I do?
Thanks in advance... :-)

ashesh0326 03-02-2007 09:48 AM

:-d
 
BTW, please don't mind the format of the root.hint file...:D
I promise that the root.hint file I have on my machine is much neater...

Thank you!

:newbie:

ashesh0326 03-02-2007 09:51 AM

There we go again! Named has stopped performing new lookups again! I can't even open google.co.in now. :(


All times are GMT -5. The time now is 05:12 PM.