December 2018
Beginner
320 pages
8h 57m
English
The order of IP address to domain name and vice-versa lookup is already discussed earlier in this chapter. The information for the DNS server (nameserver) is stored in the /etc/resolv.conf file. The nameserver directive is followed by the IP address of a nameserver to query the IP lookup. A maximum of three nameserver directives can be specified in this file to provide backup if one is down.
DNS server entries in /etc/resolv.conf are managed by NetworkManager. We should add or modify the DNS server using nmcli or GUI NetworkManager if NetworkManager is running.
Following examples are used to explain, how we can view or modify the nameserver of a system:
Read now
Unlock full access