LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-30-2004, 06:49 PM   #1
mjsabby
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
eternal resolving host problem


Hello,

I'm currently facing with the eternal resolving host delay problem with most browsers if not all.

Mozilla Firefox also doesn't solve the problem of exhaustive delays in resolving host names, most noticably Google.com

I don't understand why this problem occurs on Linux and not on Windows XP, on the same box. Reading previous forum posts regarding this indicate that it's the IPv6 support enabled in the kernel.

And some others point to your router's IP DNS settings, etc.

Well, I use a DLINK router to connect to my cable modem! My router is 192.168.0.1

And my /etc/resolv.conf contained 192.168.0.1 as my DNS servers, agreeable, since that's my gateway.

I also started running named (bind), with the caching configuration only to speed up the process, no luck there.

Ofcourse I did add 127.0.0.1 in my /etc/resolv.conf

reflecting my /etc/resolv.conf to :
127.0.0.1
192.168.0.1

Are these settings incorrect? Do i need to add my internet provider's DNS settings which show up on my router's status page??

Or is it the IPv6 thing ?
 
Old 03-30-2004, 07:37 PM   #2
eccles23
Member
 
Registered: Jun 2003
Location: Australia
Distribution: Gentoo/kernel 2.6.2
Posts: 45

Rep: Reputation: 15
if you aren't using DHCP (which should automatically set up /etc/resolv.conf for you) then you should have the following line in your resolv.conf:

Quote:

nameserver <ip address of your ISPs DNS>
I have a feeling that if you are pointing to your router (which you aren't if you don't have 'nameserver' at the start of the line anyway) then it isn't going to work... because the router will not be running a DNS service (will it?)...

so you need to specify a valid nameserver that you know works.

(in windows XP, if it gets the DNS dynamically, I think typing 'ipconfig /a' or something will get you a table of data that includes the nameservers).

so then put them into the file as above.

good luck
 
Old 03-30-2004, 08:10 PM   #3
mjsabby
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Ok So I did that.

looked at my router's status page, put those crappy numbers in... now .. no differencr has it made.

I don't know why it takes an entire minute .. somtimes less but around that time to resolve. sheesh.. this is slow!

so is it the ip address .. or is it just the ipv6 support?

also if i run named, on normal configuration does it automatically cache??
 
Old 03-30-2004, 08:35 PM   #4
eccles23
Member
 
Registered: Jun 2003
Location: Australia
Distribution: Gentoo/kernel 2.6.2
Posts: 45

Rep: Reputation: 15
It could very well be something to do with ipv6, yes. Why are you using that?
I have never used it myself but I would imagine that there are lots of ways that it could slow things down if it's not configured properly...

I am not sure whether named caches automatically or not - it might depend on the distro.
but that wouldn't fix your problem, you'd still have to wait forever for everything that wasn't cached.
 
Old 03-31-2004, 05:44 PM   #5
mjsabby
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I'm not using it.. it seems to be compiled in the kernel!!

now what do i do.. i don wanna recompile the kernel!!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 08:48 AM
resolving host problem Veteq Linux - Newbie 4 06-03-2004 01:45 PM
Fixing Mozilla resolving host problem geoff_f Linux - Software 0 06-03-2004 07:10 AM
resolving host problem scorpion777 Mandriva 0 05-17-2004 12:23 AM
eternal resolving host problem mozilla mjsabby Linux - General 4 03-30-2004 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration