GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GETNAMEINFO(1) User Contributed Perl Documentation GETNAMEINFO(1)

"getnameinfo" - command-line tool to "getnameinfo(3)" resolver

getnameinfo [options...] address port

This tool provides a convenient command-line wrapper around the getnameinfo(3) resolver function. It will perform a single reverse lookup to convert an address and port number into its host and service names. This is mainly useful when debugging names resolution problems, because it allows inspection of the getnameinfo(3) behaviour itself, outside of any real program that is trying to use it.

--address, -A ADDR
Numerical form of address to look up. If not supplied, will use the first positional argument.
--port, -P PORT
Port number to look up. If not supplied, will use the second positional argument.
--dgram
Sets the "NI_DGRAM" flag; looks up a "SOCK_DGRAM" (udp) port allocation rather than "SOCK_STREAM" (tcp).
--help
Display a help summary and exit

Paul Evans <leonerd@leonerd.org.uk>
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.