Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-03-2016, 10:53 AM   #1
LQ Newbie
Registered: Jan 2016
Posts: 10

Rep: Reputation: Disabled
Exclamation wicd-client ignores global DNS configuration and replaces /etc/resolv.conf on connection

I have set global DNS settings in wicd-client and checked the box to use them, but each time it makes a connection it replaces /etc/resolv.conf with one generated from the network connection and uses the network's DNS configuration. Anyone know how to get it to stop doing this and actually use my global DNS settings?

backend = external
wireless_interface = wlan0
wired_interface = eth0
wpa_driver = wext
always_show_wired_interface = False
use_global_dns = True
global_dns_1 =
global_dns_2 =
global_dns_3 =
global_dns_dom = None
global_search_dom = None
auto_reconnect = True
debug_mode = 0
wired_connect_mode = 1
signal_display_type = 0
should_verify_ap = 1
dhcp_client = 0
link_detect_tool = 0
flush_tool = 0
sudo_app = 0
prefer_wired = False
show_never_connect = True
Old 11-03-2016, 11:21 AM   #2
LQ Newbie
Registered: Jan 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled

I found a fix. I simply manually edited, then write-protected resolv.conf with the command below to keep processes like wicd or the DHCP client from modifying it.
chattr +i /etc/resolv.conf


dns, network, resolvconf, wicd, wicd network manager

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
[SOLVED] DNS resolv.conf ggruen 4MLinux 7 07-08-2016 11:13 AM
[SOLVED] DNS configuration file /etc/resolv.conf gets updated after every reboot yogesh_attarde Linux - Software 3 02-11-2014 01:40 AM
How to Prevent WICD Overwriting /etc/resolv.conf tronayne Slackware 2 12-19-2013 09:13 AM
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 09:21 AM
DNS & resolv.conf robeb Linux - Networking 1 06-25-2002 09:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:16 PM.

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
Open Source Consulting | Domain Registration