InetSuite DNS resolver module SWI interface
Environment variables used
|Inet$Resolvers ||SPACE separated list of dotted IP addresses of servers|
|Inet$Hostname ||Used by gethostname() to read local host name|
|Inet$LocalDomain ||Overrides local domain (normally taken from Inet$Hostname)|
|Inet$SearchDomains ||SPACE separated list of IP domain names to search on|
|Inet$ResolverRetries ||Number of retries when lookups fail|
|Inet$ResolverDelay ||Delay in seconds between retry attempts|
The Resolver relocatable module provides the following SWI calls for use by network applications wishing to perform DNS/Hosts file name lookups;
This performs a single tasking lookup, and otherwise behaves like _GetHostName.
Example BASIC programs that use the DNS resolver can be found at DNS examples.
Add a comment to this article
I am sorry to report that no further comments are to be left for articles here. We thank you for past comments. This feature has been disabled.