[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to force Debian/KDE to use particular DNS server?



This is a minor but irritating problem.  I’m running Debian Sarge, normally using KDE as the desktop environment.

 

I want the machine to use the two DNS servers supplied by my ISP.  These are set in my resolv.conf file.  There are no other entries in that file.  I have no particular need for DNS within the local network.

 

I am connected to the internet via an router, which is set to “auto discover” DNS servers – necessary, because the server also has to handle internet and VPN access to a corporate network.

 

For some reason, this router tells the Linux box that the DNS servers are its own local address (192.168.8.1) and the first of the two “ISP” servers.  This means that DNS lookups always try the router, then the “real” DNS” server.  This causes delays.

 

I need to be able to tell the Linux box to disregard what it is being told by the router and use the DNS servers explicitly listed in resolv.conf.

 

If I open up the Networking applet in KDE, it tells me that the box is using an “unknown” profile, which has DNS details as shown above.  I can save the “correct” DNS details as another profile, but I haven’t found a way to force this profile to be loaded on startup of KDE.

 

Any ideas, or pointers to FAQs /ReadMe’s? Thanks in advance.

 

Phil



This email has been sent from KPMG LLP, a UK limited liability partnership, or from one of the companies within its control (which include KPMG Audit Plc , KPMG United Kingdom Plc and KPMG UK Limited). The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter.

Reply to: