DNSCONFIG
Manually configures Ethernet DNS servers
Platform: |
OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7-I, SMART7-SI |
This command is part of the Ethernet set up. It is used to configure the Domain Name Servers (DNS) so that host names can be used instead of IP addresses.
The DNSCONFIG command configures a DNS server for the Ethernet interface, ETHA.
The DNSCONFIG command will fail if the IP address for the Ethernet interface, ETHA, is configured to use DHCP. Ensure the IP address for the Ethernet interface is configured to use a static IP address before entering the DNSCONFIG command.
When using DHCP, the DNS server received using DHCP is used and the DNS server configured by DNSCONFIG is ignored.
Message ID: 1244
Abbreviated ASCII Syntax:
DNSCONFIG DNSServers IP
Factory Default:
DNSCONFIG 0
ASCII Example:
DNSCONFIG 1 192.168.1.5
Field |
Field Type |
ASCII Value |
Binary Value |
Description |
Format |
Binary Bytes |
Binary Offset |
1 |
Command header |
- |
- |
DNSCONFIG header This field contains the command name for abbreviated ASCII or the message header for ASCII or Binary. |
- |
H |
0 |
2 |
DNSServers |
0 |
0 |
Number of DNS servers If this field is set to 0, an IP address is not required. |
Enum |
4 |
H |
1 |
1 |
||||||
3 |
IP |
ddd.ddd. |
|
IP address of primary DNS server |
String [16] |
variable1 |
H+4 |