Configures the name and name server addresses (local forwarders) for the local domain.
setdnslocaldomain -d domain_name -a local_forwarder_addresses [-r]
-d | Local domain name. |
-a | Up to 2 local forwarder addresses, given as -1 <addr1> -2 <addr2>. |
-r | If given, removes domain. |
setdnslocaldomain -d homeoffice.com -a -1 205.15.3.41 -2 205.15.3.42
This command will configure the local DNS domain to be homeoffice.com, and specify the DNS forwarders to that domain as 205.15.3.41 and 205.15.3.42.