|
The Domain Name Server [DNS] section of the RtxTcpIp INI file is used to configure DNS support for RT-TCP/IP. This section is optional and supports up to 3 Domain Name servers that will be searched in the order 1 to 3. Both the Server IP Address and Port Address must be specified for each server. The Port Address is typically 53, but may differ for your LAN.
Configurable Parameter |
Default Value |
Description |
Server1 |
N/A |
DNS Server #1 IPv4 Address |
Port1 |
N/A |
DNS Server #1 Port Address |
Server2 |
N/A |
DNS Server #2 IPv4 Address |
Port2 |
N/A |
DNS Server #2 Port Address |
Server3 |
N/A |
DNS Server #3 IPv4 Address |
Port3 |
N/A |
DNS Server #3 Port Address |
NOTE: Configurable parameters that have N/A for a default value in the table above do not have a default value. Values for these parameters must be specified in the INI file.
RT-TCP/IP support of DNS Translations from IP to Ethernet addresses are not cached for reasons of determinism. Each call to gethostbyname() will cause requests to be sent to the DNS servers specified.