Set DNS

Use the Network Level CLI Set command to configure DNS settings. If your appliance is using DHCP, the DNS settings will be inherited from the DHCP request and explicitly setting the DNS settings can be skipped. If all interfaces will be assigned static IP addresses, the DNS settings must be set.

Add the IP address of a name server or name servers to use for DNS resolution. You can pass all name servers as a comma separated list in their order of priority. For example,

set dns nameservers 192.168.0.10,192.168.0.11

Refer to the standard Linux documentation for all parameters you can supply to the set command.

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html.

Next you will initialize the appliance. See Initializing the System.

Related Documentation