LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 01-24-2006, 04:15 PM   #1
kosmepe
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
A strange problem... probably DNS related but I am not sure


Hello boys, I have a really strange question for you.

I have a D-LINK ADSL modem / router / wireless access point, on which I have connected two PCs and a laptop. One of the PCs and the laptop have Windows XP, while on the second PC I recently installed Mandrake 10.1.

Now, letís describe the problem on the Linux box: When I ping whatever server on the Internet, everything is OK. On the contrary, when I try to connect via http (either from the X or simply using lynx) then no site can be reached unless I ping it (or nslookup it) first!

For example:

# lynx a.site
Nothing happens and the screen remains at "Making HTTP connection to a.site"

# ping a.site
PING a.site (64.179.4.149) 56(84) bytes of data.
64 bytes from a.site (64.179.4.149): icmp_seq=1 ttl=52 time=121 ms

Then immediately afterwards

# lynx a.site
works fine!

Now, the really impressive thing: I do not need to ping from the Linux box, I can also ping from the Windows PC; the http request from the Linux box will then work normally!!!!

So:

# ping a.site
Nothing happens as previously; Now I am going to the laptop:

C:\Documents and Settings\Petros>ping a.site

Pinging a.site [64.179.4.149] with 32 bytes of data:

And then again on the Linux machine:

# lynx a.site
works!

What the hell is going on? Any suggestions?
 
Old 01-24-2006, 05:06 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,506

Rep: Reputation: 116Reputation: 116
That's odd. Is the nameserver listed in /etc/resolv.conf your router? Perhaps it has buggy firmware of some sort... try placing your ISP's nameserver there.
 
Old 01-24-2006, 05:40 PM   #3
kosmepe
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you and congratulations my friend... I replaced the nameservers in /etc/resolv.conf with the ones of my ISP (although I understand that this is just a workaround, since these are subject to change) and it worked...

Do you think that this might be a bug in D-LINK's firmware?
 
Old 01-24-2006, 09:46 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,506

Rep: Reputation: 116Reputation: 116
That would be my likely guess. Or, perhaps, but probably not, a problem in the dns resolving library in your linux installation.
 
  


Reply


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
Strange DNS problem ~=gr3p=~ Linux - Networking 1 12-23-2005 11:29 PM
Strange possibly Amarok related problem futz Linux - Software 4 12-13-2005 10:44 AM
Strange DNS problem JonCooperUK Slackware 3 04-02-2004 12:09 PM
DNS related problem eantoranz Linux - Software 3 04-01-2004 05:23 AM
Strange dns problem jekyl Linux - Networking 1 01-15-2003 12:49 PM


All times are GMT -5. The time now is 04:53 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