DNSGETD
[/?]
[/SERVERIP address]
[/SERVER name]
[/SERVICE name]
[/WELLKNOWNPORT port]
[/CLIENTIP address]
[/CLIENTPORT port]
[/IP6[+|-]]
address
The DNSGETD command obtains all of the domain names for the IP address address. It prints them, one per line, to its standard output.
If address is an IP version 4 address, DNSGETD issues a
PTR query for the appropriate subdomain of in-addr.arpa..
If address is an IP version 6 address, DNSGETD issues a
PTR query for the appropriate subdomain of ip6.arpa..
Lookups are performed by contacting a proxy DNS server. DNSGETD 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 DNSGETD 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 data are obtained successfully, DNSGETD exits with a zero code. Otherwise it exits with a non-zero code.