brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: dig +multiline explains the fields of an SOA record

Dig
~/tips/tip-dig-multiline-soa-fields

dig +multiline SOA example.com

Prints SOA and key records over several lines with a label per field.

An SOA record is a row of numbers with no labels, and I never remember which one is the refresh interval.

dig +multiline SOA example.com

With +multiline, dig prints the record across several lines and adds a comment after each field: serial, refresh, retry, expire and minimum. Times show in readable units as well. It also lays out long DNSKEY and RRSIG records in a form that is easier to read. The flag only changes the layout, so you can still copy the values into a zone file.

Further reading: dig manual page

Going deeper: Guide: dig for beginners, look up DNS records and read the answer

More Dig tips dig +noall +answer DS example.com dig nope.iana.org @9.9.9.9 | grep -E 'status|SOA' dig +search nas dig @8.8.8.8 www.google.com +subnet=203.0.113.0/24 dig +yaml example.com A All Dig tips (36) All topics

Link