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 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 (ipv6 and ipv4 address to be present in resolv.cfg file.
Any suggestion here, how to achieve that??
Regards, Shagun
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=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 (ipv6 and ipv4 address to be present in resolv.cfg file.
Any suggestion here, how to achieve that??
Regards, Shagun _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 21 June 2018 12:13:02 "anax" anax@ayni.com wrote:
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=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 (ipv6 and ipv4 address to be present in resolv.cfg file.
Any suggestion here, how to achieve that??
Regards, Shagun _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I think this was a bug in 7.2 have you updated your rpms. Peerdns ignored. Regards peter
Sent with AquaMail for Android https://www.mobisystems.com/aqua-mail