LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-03-2016, 10:53 AM   #1
Brosef_Stalin
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?

/etc/wicd/manager-settings.conf:
Code:
[Settings]
backend = external
wireless_interface = wlan0
wired_interface = eth0
wpa_driver = wext
always_show_wired_interface = False
use_global_dns = True
global_dns_1 = 96.90.175.167
global_dns_2 = 104.238.153.178
global_dns_3 = 45.32.215.96
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
Brosef_Stalin
LQ Newbie
 
Registered: Jan 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Lightbulb

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.
Code:
chattr +i /etc/resolv.conf
 
  


Reply

Tags
dns, network, resolvconf, wicd, wicd network manager



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 AM.

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