Change DNS Servers on Linux Host
- The nameserver IPs needs to be modified on a Linux host.
- Need to change the IP to the DNS resolvers.
- Platform9 Managed OpenStack v3.6.0 and Higher
- CentOS 7.x
- Ubuntu 16.04
- Modify the value to the directive nameserver in /etc/resolv.conf
- Restart of network or services are NOT needed
- Add/modify the directive dns-servers in /etc/network/interfaces
- Reload the network configuration
# ifdown -a && ifup -a