A strange problem... probably DNS related but I am not sure
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.