Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 08-07-2005, 03:02 PM   #1
Registered: Nov 2004
Distribution: Mandriva + kernel 2.6.15
Posts: 38

Rep: Reputation: 15
DNS problem when switching to WiFi...

Mandriva LE 2005

I am having a small DNS problem when switching from a wired to wireless connection. I use this laptop when roaming about the facility, and there are many areas that do not have wireless access (so I have to plug into Ethernet). When I first connect to the network after booting up, DNS works fine. But when I roam to an area that I have to switch my network connection to wirless (from wired) or visa-versa, DNS gets very slow (but it does work after 5-10 seconds or so for each site I go to). I am using dhclient for DHCP.

If I remove this line from my resolv.conf:


Then lookups are fast again.

I believe this just bypasses any DNS caching on my laptop. But if there is a way to flush or reset DNS caching so it works properly, I think that would fix it. The lookups work fine at first boot, and that entry exists in resolv.conf.

I am not sure it has anything to do with tmdns or mdnsresponder.

I have tried changing PEERDNS to =no in all ifcfg- scripts so resolv.conf does not get updated......but that did nothing.

Any ideas?



PS - for now I just wrote a script to remove the line "nameserver=" in resolv.conf, and I run it after switching networks.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting Wifi problem dguitar Linux - Wireless Networking 3 10-06-2005 04:06 AM
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 02:00 PM
Wifi help please -- switching networks; Yast vs. hosts file costrevs Linux - Wireless Networking 1 03-24-2005 02:42 AM
Ralink WIFI with Asus@Home WIFI wavemachine Linux - Hardware 0 10-20-2004 03:10 PM
Problem with linux and wifi chevy2410 Linux - Newbie 1 01-31-2004 12:43 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:21 AM.

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