DNSGETA

Synopsis

DNSGETA [/?] [/SERVERIP address] [/SERVER name] [/SERVICE name] [/WELLKNOWNPORT port] [/CLIENTIP address] [/CLIENTPORT port] [/IP6[+|-]] [/IP6ADDR[+|-]] domain

Description

The DNSGETA command obtains all of the IP addresses of the domain name domain. It prints them, one per line, to its standard output.

DNSGETA performs the standard server lookup procedure that would be performed by a client that doesn't allow service lookups and always falls back to "implicit" lookup, printing the results of the server lookup rather than contacting the servers for actual service. It has no service name or transport name; and its well-known port number is zero.

Lookups are performed by contacting a proxy DNS server. DNSGETA uses the same DNS client library as applications (and the other service client utilities in the Internet Utilities) use, and so the proxy DNS server contacted is by default the same proxy DNS server as all applications use.

Although DNSGETA can thus be reconfigured to talk to other DNS servers and to bind the client ends of its sockets to specific IP addresses and port numbers using the DNS client library's ordinary configuration environment variables, for convenience the /SERVERIP, /WELLKNOWNPORT, /SERVER, /SERVICE, /CLIENTIP, and /CLIENTPORT command-line options can also be used to do the same thing, overriding the configuration environment variables.

If all IP addresses are obtained successfully, DNSGETA exits with a zero code. Otherwise it exits with a non-zero code.

Command-specific options


The Internet Utilities are © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.