Back
The standard file for documenting the location of DNS servers is still /etc/resolv.conf. Typically, it'll have one or two entries, similar to the following.
search example.com
nameserver 192.168.122.1
The search directive appends the example.con domain name to searches for simple host-names. The name-server directive specifies the IP address of the configured DNS server. If in doubt about whether the DNS server is operational, run the following command :
# dig @192.168.122.1 mheducation.com
If needed, substitute the IP address associated with the nameserver directive in your /etc/resolv.conf file.
The standard file for documenting the location of DNS servers is still /etc/resolv.conf. Typically, it'll have one or two entries, similar to the following.
search example.com
nameserver 192.168.122.1
The search directive appends the example.con domain name to searches for simple host-names. The name-server directive specifies the IP address of the configured DNS server. If in doubt about whether the DNS server is operational, run the following command :
# dig @192.168.122.1 mheducation.com
If needed, substitute the IP address associated with the nameserver directive in your /etc/resolv.conf file.