resolv.conf slows down X

Jeff Vian jvian10 at charter.net
Tue Aug 31 16:33:58 UTC 2004


On Tue, 2004-08-31 at 10:02, Rokicki, Andrew wrote:
> I am running FC2 KDE desktop	
> If I am on a network my X works just fine and is very responsive. 
> When I unplug PC from the network and reboot X is very slow to respond. 
> Once an application starts it behaves normally. It just takes forever to
> load.
> I noticed that if I remove resolv.conf file it works fine when it off the
> network.
> 
> content of resolv.conf
> 
> search mydomain.com
> nameserver  ip_of_nameserver1
> nameserver  ip_of_nameserver2
> 
> 
> Could somebody explain to me how to fix it and what is going on.
> 
> 

When you are not attached to the network the system searches
mydomain.com for the named host and must wait for the DNS timeout before
continuing. 

Maybe removing the search line from resolv.conf will help


Also, do you have this in /etc/hosts??
-----------------
[jeff at goliath jeff]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
-----------------------

If that line is not there then X must have its connections resolved by
DNS instead of the hosts file.


> Thanks
> Andy R.
> Somewhere at:  41 -72
> 
> 
> 
> The information contained in this transmission may contain privileged and confidential information.  
> It is intended only for the use of the person(s) named above. If you are not the intended recipient, 
> you are hereby notified that any review, dissemination, distribution or duplication of this communication 
> is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email 
> and destroy all copies of the original message. This communication is from TI Automotive.
> 





More information about the fedora-list mailing list