Configuring Name Services

Just as the clients need to have their default route defined, they also need information about how to resolve network names. The options in the configuration file for this are domain-name-servers and option domain-name. In the previous example, these are the two lines:

option domain-name "disruptive.org.uk";

option domain-name-servers 192.168.1.254, 62.30.112.39;

On a Linux client, the effect of these lines will be that the DHCP client (or NetworkManager) writes the file /etc/resolv.conf, and it contains the lines:

search disruptive.org.uk nameserver 192.168.1.254 nameserver 62.30.112.39

Was this article helpful?

0 0

Post a comment