Query/Response Examples
- HNAME Query - Given a name, find the entry or entries that match the name. For example:
HNAME SRI-NIC.ARPA <CRLF>
where <CRLF> is a carriage return/ linefeed, and 'SRI-NIC.ARPA' is a host name
The likely response is:
HOST : 26.0.0.73, 10.0.0.51 : SRI-NIC.ARPA,SRI-NIC,NIC :
DEC-2060 : TOPS20 : TCP/TELNET,TCP/SMTP,TCP/TIME,TCP/FTP,
TCP/ECHO,ICMP :
A response may stretch across more than one line. Continuation lines always begin with at least one space.
- HADDR Query - Given an internet address (as specified in RFC 796) find the entry or entries that match that address. For example:
HADDR 26.0.0.73 <CRLF>
where <CRLF> is a carriage return/ linefeed, and '26.0.0.73' is a host address.
The likely response is the same as for the previous HNAME request.
- ALL Query - Deliver the entire internet host table in a machine-readable form. For example:
ALL <CRLF> ;where <CRLF> is a carriage return/linefeed
The likely response is the keyword 'BEGIN' followed by a colon ':', followed by the entire internet host table in the format specified in RFC-952, followed by 'END:'.