TCP/IPv6 Configuration and Management Manual (G06.29+, H06.03+, J06.03+)
Domain Name Server (DNS)
HP NonStop TCP/IPv6 Configuration and Management Manual—524523-012
E-3
Remote Server
Remote Server
A remote server is an option given to people who would like to use a domain name
server on their workstation or on a machine that has a limited amount of memory and
CPU cycles. By using this option you can run all the networking programs that use the
domain name server without having to run the domain name server on the local
machine. All queries are serviced by a domain name server running on another
machine on the network.
Slave Server
A slave server is a server that always forwards to a fixed list of forwarding servers
those queries it cannot satisfy locally, instead of interacting with the master name
servers for the root and other domains. The queries to the forwarding servers are
recursive queries. There might be one or more forwarding servers, and they are tried in
turn until the list is exhausted.
A slave and forwarder configuration is typically used when you do not want all the
servers at a given site to interact with the rest of the Internet servers. A typical scenario
would involve a number of workstations and a departmental timesharing machine that
has Internet access. The workstations might be administratively prohibited from having
Internet access. To give the workstations the appearance of access to the Internet
domain system, the workstations could be slave servers to the timesharing machine,
which forwards queries and interacts with other name servers to resolve the query
before returning the answer.
Domain Name Resolver
The Domain Name Resolver is part of the NonStop TCP/IPv6 sockets library; Domain
Name Resolver allows user-developed application programs to access a Domain
Name Server, as described above. The Domain Name Resolver consists of those
socket library support routines that get information on hosts, networks, protocols, and
services.
Depending on which support routine your program calls and the setting of the
=TCPIP^HOST^FILE parameter at the time the program is executed, the Domain
Name resolver either accesses a name server or a special file that contains a list of
Internet addresses with the host name and aliases that correspond to each address.
The default name of this file is $SYSTEM.ZTCPIP.HOSTS. If this information is
contained in some other file, each user running the program must set the
=TCPIP^HOST^FILE parameter to specify the name of that file.
If a name server is available on the network, the recommended method for resolving
names is to access the name server. To ensure that the resolver accesses a name
server, your program should call gethostbyname, getaddrinfo, getipnodebyname,
gethostbyaddr, getnameinfo, or getipnodebyaddr and you should not set the
TCPIP^HOST^FILE parameter before running the program. For more information on
these calls, see the TCP/IP Programming Manual.