similar to: Resolv.conf being overwritten

Displaying 20 results from an estimated 7000 matches similar to: "Resolv.conf being overwritten"

2009 Oct 08
12
resolv.conf rewritten every reboot. How to figure out who and why?
My machine has a static IP, with dhcp and IPv6 disabled. Every time I reboot, some process rewrites /etc/resolv.conf, including a comment about dhcpclient. The only package I have installed that shows up in "rpm -qa|grep -i dhcp" is dhcpv6-client-1.0.10-16.el5, and nothing in there is named dhcpclient. I'd like to figure out what software is rewriting this file and why. man 5
2008 Feb 09
2
resolv.conf question
Hello, I have a centos 4.6 system acting as a router for my local network. I obtain my eth0 IP address automatically via DHCP from my ISP, sc.rr.com. If I add 127.0.0.1 to resolv.conf, it won't save it. I tried adding this to my dhclient.conf lease { option domain-name-servers 127.0.0.1; } The above is the only entry in the file. Don't know it caused it but my system locked up 3
2018 Nov 19
3
NetworkManager and /etc/resolv.conf
> On 11/17/18 8:31 AM, Alice Wonder wrote: >> On 11/17/2018 07:01 AM, Alice Wonder wrote: >>> On 11/17/2018 06:43 AM, Alice Wonder wrote: >>>> CentOS 7.5 image running on linode. >>>> >>>> unbound running on localhost. >>>> >>>> Have to use a cron job once a minute to keep /etc/resolv.conf using >>>> the
2017 Jan 13
9
Unable to edit resolv.conf
Hello, I changed ISPs and need to update name servers in resolv.conf. I have tried nano, gedit, Webmin, system-config-network and it won't allow me to make the changes. I have Network Manager turned off and when I enable it , eth0 and eth1 have no entries. I enabled it, added the connections, but still no changes. I'm stuck TIA
2015 Aug 27
2
centos 6 - changing resolv.conf by hand gets overwritten by rebooting
given machine with C6 x86_64 (seen on C 6.6 but also before and probably still present on C6.7) only 1 interface, there is dhcp on this network (for kickstarting) but the machines have static ip's, and NO networkmanager installed contents of resolv.conf search some.domain.here nameserver x.x.x.x #dns1 nameserver y.y.y.y #dns2 change resolv.conf to: search some.newdomain.here nameserver
2017 Jan 13
4
Unable to edit resolv.conf
On 01/13/2017 05:50 AM, Albert McCann wrote: >> -----Original Message----- >> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of TE Dukes >> Sent: Friday, January 13, 2017 7:50 AM >> To: 'CentOS mailing list' <centos at centos.org> >> Subject: [CentOS] Unable to edit resolv.conf >> >> I changed ISPs and need to update name
2015 Mar 03
2
dhclient.conf
Hi all :-) on centos 6 I need keep the hostname from a dhcp server: cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:50:56:27:0E:C8 TYPE=Ethernet UUID=20924b21-e92a-4944-a054-06d1967155c1 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp PEERDNS=yes with this config, centos keep only ip from dhcp server (not gw, not dns) where is dhclient.conf? I need to create it? If yes,
2018 Jun 21
2
NetworkManager updating resolv.cfg
Hi, I am facing issue stoping NetworkManager to update resolv.cfg, I am using below configuration for eth0 interface: TYPE=Ethernet BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=eth0 UUID=93b90a46-dab5-4a67-8fd0-fefe8874a8b9 DEVICE=eth0 ONBOOT=no PEERDNS=no PEERROUTES=yes
2018 Nov 17
2
NetworkManager and /etc/resolv.conf
On 11/17/2018 07:01 AM, Alice Wonder wrote: > On 11/17/2018 06:43 AM, Alice Wonder wrote: >> CentOS 7.5 image running on linode. >> >> unbound running on localhost. >> >> Have to use a cron job once a minute to keep /etc/resolv.conf using >> the localhost for name resolution - whenever NetworkManager gets >> restarted (usually only a system boot) it
2013 Jun 06
1
Fwd: WpaSupplicant how to
Hi, I was recently going through the how to located here: http://wiki.centos.org/HowTos/Laptops/WpaSupplicant This how-to shows the steps to follow to get a wifi interface working without using NetworkManager and subsequently how to have wireless working withouth having a user login. Anyways, when going through this I was having issues because everything seemed to work but I was never
2018 Nov 17
2
NetworkManager and /etc/resolv.conf
CentOS 7.5 image running on linode. unbound running on localhost. Have to use a cron job once a minute to keep /etc/resolv.conf using the localhost for name resolution - whenever NetworkManager gets restarted (usually only a system boot) it gets over-written. It seems every distro has a different way of preventing NetworkManager from replacing that file. I found instructions for Fedora that
2019 Mar 13
4
replication fails
Am 13.03.19 um 11:22 schrieb L.P.H. van Belle via samba: > > Hi Stefan, > > Debian 8 ? 9? > DC's samba version ? Deb 9.8, Samba-4.8.9 > Can you post your smb.conf and resolv.conf > > If you check with (per server what is the outcome. ) > samba-tool dbcheck 0 errors > samba-tool dbcheck --cross-nc Checked 3754 objects (3174 errors) on the DC1. where
2010 Dec 08
1
dhcp + static dns
Hi all, Not having issues setting this in Ubuntu or Windows but I cannot seem to add a static DNS or search path without it getting over written when networks restarts. The file dhclient.conf seems ignored. I would like to simply have a fixed DNS and search path added to what ever was found by the dhcp client. So I don't think peersdns=no is an option. Any advice is greatly
2012 May 10
4
NetworkManager frustration...
I would like to use dnsmasq to cache nameserver query results, and I have set dhcp to prepend the 127.0.0.1 name-server to the list of nameservers. dnsmasq would then automatically exclude the localhost as a name server and use all the others from the list provided by dhcp. But it was too nice to be true, because NetworkManager was there, ready to mess up anything I try to do, including the
2019 Dec 03
2
midco stealling searches, was browsers slowing Centos 7 installation to a crawl
On Mon, Dec 02, 2019 at 06:51:44PM -0600, Michael Hennebry wrote: > I've chacked on that. > I've made what seemed like promissing changes to > /etc/sysconfig/network-scripts/ifup-post and > /etc/sysconfig/network-scripts/network-functions . > No go. > I still get the search line in resolv.conf . > I've tried putting in search google.com , > but on reboot, it
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon, every second IP-address is unwanted. We restarted? eno4: nmcli con down eno4; nmcli con up eno4 and the second address vanishes. Then after a few ours, the second ip address reappears. This is the config-file of eno2: # cat ifcfg-eno2 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes
2018 Aug 30
2
Mail has quit working
Added back the IPV6 to /etc/hosts a couple days ago for grins and giggles. No longer getting IPV6 errors in logwatch for bind. Everything working. I think removing my ISP's nameservers from /etc/resolv.conf was the fix. They have been in there forever so still have my fingers crossed. Again, many thanks!!
2019 Mar 13
2
replication fails
Am 13.03.19 um 11:55 schrieb L.P.H. van Belle via samba: > Hai, > > Ok, so the reboot changed your resolv.conf > check the timestamp of /etc/resolv.confs > Write this down. > >> So I assume it should point to the own IPv4-IP of DC1 itself, >> which is .205 > Yes correct. > After that reboot the server. > Check the timestamp again and/or did it change?
2004 Apr 12
1
fresh install - resolv.conf error?
Before I submit as a bug, has anyone else encountered -- doing a fresh, clean install of CentOS-3 results in a resolv.conf with only my secondary nameserver listed and the search domain. The install works fine, the eth0 and eth1 (onboard e100's) are detected, all the right info entered, etc -- typical by the book textmode (not GUI) install that I'd normally do with RH9/RHEL3. Static
2020 Feb 18
6
From network-scripts to NetworkManager on a router : questions
Le 18/02/2020 ? 12:28, Anand Buddhdev a ?crit?: > Neither. The DNS configuration should not normally be bound to a > specific interface, so don't configure it with any interface. If you do, > and that interface goes down, your DNS config also disappears. I would like to do that very much, only NetworkManager makes you jump through burning loops to do so. With network-scripts, it