Change DNS Servers on Linux Host
- The nameserver IPs need to be modified on 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.
Note: Restart of network or services is not needed.
- Add/modify the directive dns-servers in /etc/network/interfaces.
- Reload the network configuration.
# ifdown -a && ifup -a