I have a static IP configuration on my CentOs 7 network interface, configured 3 DNS servers, first two with public, third one with private IP address, but third one doesn't appear at /etc/resolve.conf.
Here is my interface config file.
[root@lb1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eno16777984
TYPE="Ethernet"
BOOTPROTO="static"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
GATEWAY="192.168.1.254"
DNS1="8.8.8.8"
DNS2="8.8.4.4"
DNS3="192.168.1.10"
DEFROUTE="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV4_FAILURE_FATAL="no"
NAME="eno16777984"
UUID="a40a179d-c2c4-4788-b68c-ed96ecac1da8"
DEVICE="eno16777984"
ONBOOT="yes"
NM_CONTROLLED="no"
0 Answers