User's Manual
Chapter 10: Using the Command Line Interface
246
Setting the IPv4 Secondary DNS Server
After selecting the static IP configuration mode, you can use this
command syntax to specify the secondary DNS server.
config:#
network ipv4 secondaryDNSServer <ip address>
Variables:
<ip address> is the IP address of the secondary DNS server. The
value ranges from 0.0.0.0 to 255.255.255.255.
Note: The EMX supports a maximum of 3 DNS servers. If two IPv4 DNS
servers and two IPv6 DNS servers are available, the EMX only uses the
primary IPv4 and IPv6 DNS servers.
Example
The following command determines that the secondary DNS server is
192.168.84.33.
config:#
network ipv4 secondaryDNSServer 192.168.84.33
Overriding the IPv4 DHCP-Assigned DNS Server
After specifying the primary/secondary DNS server, you can use this
command to override the DHCP-assigned DNS server with the one you
specified.
config:#
network ipv4 overrideDNS <option>
Variables:
<option> is one of the options: enable or disable.
Option
Description
enable
This option overrides the DHCP-assigned DNS
server with the primary/secondary DNS server
you assign.
disable
This option resumes using the DHCP-assigned
DNS server.