I have the system setup with a static IP with these settings:
Code: Select all
Address: 192.168.1.119/24
Gateway: 192.168.1.1
DNS Server 1: 192.168.1.1
DNS Server 2: 8.8.8.8
DNS Server 3: 8.8.4.4
Code: Select all
[ptunstall@wham02 ~]$ nslookup wham02
Server: 192.168.1.1
Address: 192.168.1.1#53
** server can't find wham02: NXDOMAIN
Code: Select all
[ptunstall@wham02 ~]$ hostnamectl
Static hostname: wham02
Icon name: computer-server
Chassis: server
Machine ID: 9c20cd5a630b4cc69c43d8471625e5ed
Boot ID: f449b5bc010d402c830f4f8d145f48c5
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.21.3.el7.x86_64
Architecture: x86-64
Code: Select all
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Code: Select all
[ptunstall@wham02 ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ac:1f:6b:94:8c:fc brd ff:ff:ff:ff:ff:ff
inet 192.168.1.119/24 brd 192.168.1.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::c037:767f:49d5:5d6d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether ac:1f:6b:94:8c:fd brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:93:6c:86 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:93:6c:86 brd ff:ff:ff:ff:ff:ff
Code: Select all
# Generated by NetworkManager
search 192.168.1.1
nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4