Displaying 20 results from an estimated 20000 matches similar to: "resolv.conf question"
2010 May 20
5
Resolv.conf being overwritten
I am trying to add 127.0.0.1 to my resolv.conf. I added it through the
system-config-network but if I reboot, its gone. I do not have the caching
nameserver package installed. My ISP's nameservers are there. It must have
something to do with DHCP.
Also, in the network config GUI, should I select the IPv6 option for either
or both network cards?
TIA
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
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,
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
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
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
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
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
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
2017 Feb 21
1
Centos7: Intel nuc/Linksys usb-ethernet
Hello All,
I'm installing some DIY routers, composed of Intel nuc's ,Linksys usb-ethernet adapters and Centos7
On most machines I just plug in the usb device, install Centos7 and everything works.
But on this one machine the network interface doesn't work.
After installing ip addr shows:
[root at clgmol ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
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
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
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
2013 Jul 09
2
hme0 interface going up/down (dhclient ?)
Hi all,
I am having an issue where my hme0 interface is always turning up and down with dhclient requesting a lease.
I am thinking this could be the same issue described by Jeremy Chadwick on June 9th:
http://lists.freebsd.org/pipermail/freebsd-stable/2013-June/073711.html
Everything was fine on 8.2-STABLE and older versions.
It was then upgraded directly to 9.0-STABLE
2017 Sep 12
3
File server questions
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Rowland Penny via samba
> Verzonden: maandag 11 september 2017 18:50
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] File server questions
>
> On Mon, 11 Sep 2017 13:08:16 -0300
> Flávio Silveira via samba <samba at lists.samba.org> wrote:
>
> >
2013 Oct 10
3
Detect dhclient leases file in centos
Hello,
I''m using shorewall-4.5.16 with centos5. The dhclient stores the lease information on
the /var/lib/dhclient/dhclient-<DEVICE>.leases file.
The /var/lib/shorewall/firewall script has the function detect_dynamic_gateway that
detects the gateway based on the leases file. The code in the function is:
detect_dynamic_gateway() { # $1 = interface
local interface
2011 Aug 24
6
OT: Hardware upgrade help
I would like to upgrade my system to a 64 bit machine. I'd like to find a
bare bones platform to build on. I'm not looking to spend a lot of money on
this as it is a home system. I looked on the CentOS sponsor page but only
saw hosting services.
I haven't kept up with hardware in years so I'm dumber than dirt on what's
out there. I would prefer a desktop so I can stack it.
2008 Mar 24
2
/etc/resolv.conf changes
Hello all,
I'm getting frustrated attempting to understand; I googled and asked
folks and am unable to get a straight answer.
1. How is the /etc/resolv.conf file maintained ? I do not seem to
get a consistent result when I save resolv.conf configuration from GUI
or by hand using vim /etc/resolv.conf.
a. Sometimes I the entries toggles between the two entries:
# generated by
2009 Jun 17
2
Issues with dhclient support in 4.2.8
While troubleshooting my MultiISP box, I suspect I might have found
either a bug or an incompatibility with CentOS 5.2.
In prog.header (function detect_dynamic_gateway), Shorewall tries to look for:
/var/lib/dhcp/dhclient-${1}.lease
However (at least under CentOS 5 - unknown about other OSes), this should be:
/var/lib/dhclient/dhclient-${1}.leases
(different path, and "leases"
2011 Nov 29
4
DHCP_HOSTNAME in ifcfg-eth0
Hello
Is there a way for the dhcp client to send the current host name of the
machine when requesting a lease ?
Currently I have to include a line like
DHCP_HOSTNAME=appserver2
in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to
tell the dhcp client to just 'also send the hostname' and then the
client to get the current hostname itself, instead of having the name