search for: peerdns

Displaying 20 results from an estimated 83 matches for "peerdns".

2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...naged_node_configuration_test.rb +++ b/src/test/functional/managed_node_configuration_test.rb @@ -48,7 +48,7 @@ class ManagedNodeConfigurationTest < Test::Unit::TestCase expected = <<-HERE # THIS FILE IS GENERATED! -ifcfg=#{nic.mac}|breth0|BOOTPROTO=#{nic.boot_protocol}|TYPE=bridge|PEERDNS=no|ONBOOT=yes +ifcfg=#{nic.mac}|breth0|BOOTPROTO=#{nic.boot_protocol}|TYPE=Bridge|PEERDNS=no|ONBOOT=yes ifcfg=#{nic.mac}|eth0|BRIDGE=breth0|ONBOOT=yes HERE @@ -67,7 +67,7 @@ ifcfg=#{nic.mac}|eth0|BRIDGE=breth0|ONBOOT=yes expected = <<-HERE # THIS FILE IS GENERATED! -ifcfg=#{ni...
2018 Jun 21
2
NetworkManager updating resolv.cfg
...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 IPV6_PEERDNS=yes IPV6_PEERROUTES=yes DNS1=<ipv4 address> DNS2=<ipv6 address> Also, added dns=none in NetworkManager.conf file. Whenever I am restarting NetworkManager, resolv.cfg gets updated and only ipv4 nameserver is displaced, whether I am expecting both the ips...
2007 Nov 10
2
Virtual Box Host Networking problems
...have a clue as to how to set up a bridge on eth0. Here is what I have so far: ~~~~~~~~~~~~~~~~~ ifcfg-br0: DEVICE=br0 TYPE=Bridge BOOTPROTO=static BROADCAST=192.168.255.255 IPADDR=192.168.255.10 NETMASK=255.255.255.0 NETWORK=192.168.255.0 GATEWAY=192.168.255.10 ONBOOT=yes USERCTL=yes IPV6INIT=no PEERDNS=no ~~~~~~~~~~~~~~~~~ ifcfg-eth0: DEVICE=eth0 TYPE=Ethernet BOOTPROTO=static BROADCAST=192.168.255.255 IPADDR=192.168.255.12 NETMASK=255.255.255.0 NETWORK=192.168.255.0 GATEWAY=192.168.255.10 ONBOOT=yes USERCTL=yes IPV6INIT=no PEERDNS=no BRIDGE=br0 ~~~~~~~~~~~~~~~~~ ifcfg-vbox0: DEVICE=vbox0 T...
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
2020 Feb 18
1
From network-scripts to NetworkManager on a router : questions
Le 18/02/2020 ? 17:43, Jonathan Billings a ?crit?: > According to 'man nm-settings-ifcfg-rh', PEERDNS=no is the old > network-services services mechanism for not changing /etc/resolv.conf, > while in NM it just means never add automatic nameservers to > resolv.conf from DHCP, PPP, VPN, etc. Turning off all DNS > updates means adding: > > [main] > dns=none > > ... to th...
2015 Nov 05
2
Problem with DNS configuration and "host" command . . .
...ought that stopped DHCP) https://help.ubuntu.com/14.04/serverguide/network-configuration.html#ip-addressing https://help.ubuntu.com/14.04/serverguide/network-configuration.html#name-resolution I'm not getting any errors. I'm not sure I need to make a change? The only instances of "peerdns" seem to be related to 'pppd' (which we're not using) adam at eagle:/$ sudo grep "peerdns" -r /etc /etc/ppp/peers/provider:usepeerdns /etc/ppp/ip-up.d/0000usepeerdns:# this variable is only set if the usepeerdns pppd option is being used /etc/ppp/ip-up.d/0dns-up:# conj...
2020 Sep 22
2
nmcli: unwanted secondary ip-address
...E_FATAL=no ?IPV6_ADDR_GEN_MODE=stable-privacy -NAME=eno1 -UUID=1e382037-fec9-493d-a4f2-ace7d73a1e7b -DEVICE=eno1 +NAME=eno4 +UUID=dbd95c24-1ed7-4292-8dba-3934bd1476a0 +DEVICE=eno4 ?ONBOOT=yes -IPADDR=192.168.1.90 +IPADDR=192.168.2.98 ?PREFIX=24 +DNS1=10.10.100.1 +DNS2=10.10.100.2 +#DNS3=8.8.8.8 +PEERDNS=no +PEERROUTES=no > Can you show the config of eno4? # cat? ifcfg-eno4 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=no IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=no IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=eno4 UUID=dbd95c...
2014 May 15
4
Set static IP
...have a static IP. Currently I get the IP I want because I have my router assign it on the basis of mac address. I placed the following file as: /etc/sysconfig/networking-scripts/eth0 DEVICE="eth0" BOOTPROTO=static HWADDR=00:1F:D0:9E:AE:67 ONBOOT=yes TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes NETMASK=255.255.255.0 IPADDR=192.168.0.99 GATEWAY=192.168.0.1 NM_CONTROLLED=no I also disabled Network Manager with chkconfig. It didn't work. When I rebooted I had no IP address for eth0. Should I leave all the other scripts in /etc/sysconfig/networking-scripts unchanged? Suggestions...
2019 Dec 03
2
midco stealling searches, was browsers slowing Centos 7 installation to a crawl
...resolv.conf ? > How can I fix this so I do not have to > manually edit resolv.conf after each reboot. Neither of those files are the correct files to edit. You want to edit the ifcfg-<interface name> file (replace <interface name> with the name of the network interface) and add PEERDNS=no in the file. This will make it so DHCP doesn't overwrite the resolv.conf. If you just want to hard-code DNS servers, you can either do that in your networkmanager configuration, or add DNS1=9.9.9.9 to the ifcfg file. You can add a second IP with DNS2=1.1.1.1, too. Use whatever DNS IPs yo...
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
2010 Aug 13
2
IP aliases from a QEMU/KVM guest
Hello, I'm trying to set up IP aliases within a QEMU/KVM guest on CentOS 5.5 x86_64, going through a bridged virtualized interface. The virtualized interface in the guest is configured as follow: # ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none PEERDNS=yes GATEWAY=IP.OF.HOST.GATEWAY HWADDR=11:11:11:11:11:11 IPADDR=IP.OF.GUEST.ETH1 NETMASK=255.255.255.255 ONBOOT=yes ARP=yes USERCTL=no IPV6INIT=no # route-eth1 IP.OF.HOST.GATEWAY dev eth1 default via IP.OF.HOST.GATEWAY dev eth1 This is the configuration recommended by the provider (OVH) after a v...
2014 Jan 15
4
default gw route has gone?
...twork-scripts]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" NM_CONTROLLED="yes" ONBOOT=yes TYPE=Ethernet BOOTPROTO=dhcp DEFROUTE=no IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth0" UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 HWADDR=00:24:8C:80:0B:15 PEERDNS=yes PEERROUTES=yes LAST_CONNECT=1389583930 So what am I missing? BTW - all other devices are working just fine - just my main CentOS 6.5 WS fails. TIA
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
2020 Sep 22
2
nmcli: unwanted secondary ip-address
...-DEVICE=eno1 >> +NAME=eno4 >> +UUID=dbd95c24-1ed7-4292-8dba-3934bd1476a0 >> +DEVICE=eno4 >> ?ONBOOT=yes >> -IPADDR=192.168.1.90 >> +IPADDR=192.168.2.98 >> ?PREFIX=24 >> +DNS1=10.10.100.1 >> +DNS2=10.10.100.2 >> +#DNS3=8.8.8.8 >> +PEERDNS=no >> +PEERROUTES=no >> >>> Can you show the config of eno4? >> # cat? ifcfg-eno4 >> TYPE=Ethernet >> PROXY_METHOD=none >> BROWSER_ONLY=no >> BOOTPROTO=none >> DEFROUTE=no >> IPV4_FAILURE_FATAL=no >> IPV6INIT=yes >> IPV6_AU...
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, where're the default options? thanks for help! Pol
2017 Mar 01
0
NetworkManager and Half DHCP not work correct - second time.
Hello Guys, today i strungle in my office and at home. 1. The networkadapter works before on "full" dhcp. 2. change to half (means searchname and searchserver manual) 3. order was correct inside the config, but in seperated network configs: PEERDNS=yes ????? 5. DNS Server where in wrong direction in the consol. 4. I changed the PEERDNS entry at home manually. Reboot. Everything works as expected, nameserver in right order (NEW, OLD, OLD2). At my office i deleted every adapter and rearrange it. Strange, but true. Sincerely Andy PS: Don&...
2018 Jun 21
0
NetworkManager updating resolv.cfg
Hi Shagun check your settings of PEERDNS and IPV6_PEERDNS... suomi On 06/21/2018 08:33 AM, Maheshwari, Shagun wrote: > 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=...
2019 Dec 03
0
midco stealling searches, was browsers slowing Centos 7 installation to a crawl
...x this so I do not have to >> manually edit resolv.conf after each reboot. > > Neither of those files are the correct files to edit. > > You want to edit the ifcfg-<interface name> file (replace > <interface name> with the name of the network interface) and add > PEERDNS=no in the file. This will make it so DHCP doesn't overwrite > the resolv.conf. I only have ifcfg-lo , which I am pretty sure is the loopback interface. As expected, other files suggest eth0 is my ethernet connection. Should I add a one-line ifcfg-eth0 file? > If you just want to hard-c...
2020 Feb 18
0
From network-scripts to NetworkManager on a router : questions
...On the other hand, using nmtui, the only place where I can actually fill in > DNS information is in the interface-specific dialogs. > > After googling around for this problem, it looks like I'm not the only one > scratching my head. According to 'man nm-settings-ifcfg-rh', PEERDNS=no is the old network-services services mechanism for not changing /etc/resolv.conf, while in NM it just means never add automatic nameservers to resolv.conf from DHCP, PPP, VPN, etc. Turning off all DNS updates means adding: [main] dns=none ... to the NetworkManager.conf (or preferably in an /e...
2020 Sep 22
0
nmcli: unwanted secondary ip-address
...UID=1e382037-fec9-493d-a4f2-ace7d73a1e7b > -DEVICE=eno1 > +NAME=eno4 > +UUID=dbd95c24-1ed7-4292-8dba-3934bd1476a0 > +DEVICE=eno4 > ?ONBOOT=yes > -IPADDR=192.168.1.90 > +IPADDR=192.168.2.98 > ?PREFIX=24 > +DNS1=10.10.100.1 > +DNS2=10.10.100.2 > +#DNS3=8.8.8.8 > +PEERDNS=no > +PEERROUTES=no > >> Can you show the config of eno4? > > # cat? ifcfg-eno4 > TYPE=Ethernet > PROXY_METHOD=none > BROWSER_ONLY=no > BOOTPROTO=none > DEFROUTE=no > IPV4_FAILURE_FATAL=no > IPV6INIT=yes > IPV6_AUTOCONF=yes > IPV6_DEFROUTE=no > IPV6_...