nslookup — Group 12, Code 120

Resolve a hostname or service record through a RAIDA.

Purpose

nslookup lets a client ask a RAIDA to resolve a fully qualified domain name. Use it when the application wants RAIDA-mediated name lookup rather than direct local DNS.

Request layout

CH CH CH CH CH CH CH CH CH CH CH CH CH CH CH CH RR FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ FQ 3E 3E

Request packet diagram

Challenge (16 bytes) 0 15 RR 16 FQDN (bytes 0-6 of 64) 17 23 FQDN (bytes 7-14 of 64) 24 31 FQDN (bytes 15-22 of 64) 32 39 FQDN (continuing through byte 80) 40 80 3E 3E (terminator) 81 82
Field Meaning
RRRecord type selector. Typical values are A-style IPv4 lookup or SRV-style service lookup.
FQ64-byte fully qualified domain name field.

Response layout

On success the response body returns the resolved address data for the requested record type. A typical A-record response is an IPv4 address plus port-like service data where the command family expects it.

IP IP IP IP PN PN 3E 3E