LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 03-02-2007, 09:36 AM   #1
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Rep: Reputation: 15
Question 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... :-)

Last edited by ashesh0326; 03-02-2007 at 09:53 AM. Reason: format
 
Old 03-02-2007, 09:48 AM   #2
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Original Poster
Rep: Reputation: 15
Talking :-d

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

Thank you!

 
Old 03-02-2007, 09:51 AM   #3
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Original Poster
Rep: Reputation: 15
There we go again! Named has stopped performing new lookups again! I can't even open google.co.in now.
 
  


Reply

Tags
bind, dns, linux, named, server, suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is this, whats wrong w/ me? colinstu General 11 12-19-2006 06:50 AM
Whats wrong with python? M$ISBS Programming 15 12-17-2006 12:05 PM
whats wrong with krnel 2.6.8.1 masand Linux - Software 19 08-24-2004 01:13 PM
Whats wrong with my XF86Config here: Scruff Linux - General 4 09-17-2003 01:06 AM
Whats wrong with this? OlRoy Programming 2 05-28-2003 01:21 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration