~bitfehler/pawdns

Suite of DNS tools written in Hare
17 days ago
17 days ago

#Paw DNS

Paw DNS (some pun intended) is an attempt to write a collection of DNS tools in Hare.

  • A DNS client (like dig/nslookup/etc) (see cmd/dnsc)
  • An authoritative DNS server (see cmd/dnsd)
  • A DNS resolver (see cmd/resolved)

#Status

Currently mainly intended as a means to test and improve Hare's standard library DNS implementation and - for the daemons - hare-ev.

The client (dnsc) is actually usable. The daemons not at all.

NOTE: Might at times use features that are not yet available in Hare or the Hare package you are using!

#dnsc usage

./dnsc: simple DNS client

Usage: ./dnsc [-hr46S] [-s <server>] [-t <type>] name

-h: print this help text
-s <server>: server to query (can be used multiple times)
-r: do not request recursion
-t <type>: record type to request
-4: use IPv4 only
-6: use IPv6 only
-S: signal DNSSEC support

If -s is not used, the system's default resolver(s) will be queried. Record type is the usual A, AAAA, TXT, etc. The -S switch will cause DNSSEC signatures to be returned (if present), but does not verify them.

#Contact

Feel free to send patches, comments, questions, or other feedback to my public inbox.