Skip to content

dns

The dns identity: Domain Name System. Every field and what is required.

dns is the Domain Name System (RFC 1035). The target is host:port (default 53). The step sends and receives raw datagram bytes as hex over UDP, and the session persists across steps, so a solution can stage an exchange and continue it.

Fields

dns uses the byte-session fields from tcp: send, recv, recv_until, timeout, close, and capture. Each send is one datagram and each read returns the next datagram.

Example

dns query
  meaning: send a DNS query and look for the response
  send: abcd0100000100000000000003777777...
  recv: 512
  assert: contains "abcd8180"

Write attacks down. Verify them.

Download the binary, point it at a target you own, and get a verified result. The corpus is open and the format is plain text.