loading...

Check a DNS record value on macOS using the command-line

ianwalter profile image Ian Walter Originally published at ianwalter.dev on ・1 min read

Check a DNS record value on macOS using the command-line

I was manually renewing a SSL certificate with Let's Encrypt using DNS verification and needed to verify that the DNS record had been updated before continuing the process:

host -t TXT <domain>

Make sure to change TXT to whatever record type you're looking for, e.g. CNAME, A, etc.

Discussion

pic
Editor guide