dnstxt(1)

πŸ“¦
version 1.05 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

dnstxt β€” bestie, it prints the TXT record of fqdn 🌸


✨ SYNOPSIS ✨

dnstxt fqdn

🌸 DESCRIPTION 🌸

okay so dnstxt prints the TXT record of fqdn on a single line ✨ like it's not doing a whole paragraph moment, it's one line, that's the vibe πŸ’…

and if there's no TXT record?? it just prints a blank line 🫢 no drama, no error, just an empty lil line. it's giving minimalism ngl.

Normally dnstxt exits 0 β€” that's the slay, the standard, the "everything worked bestie" exit status πŸ‘‘

BUT 😭 if dnstxt hits a temporary problem that stops it from figuring out the TXT record, it prints an error message and exits 111. so if you see 111 just know something was being messy and it wasn't the record's fault, it was a temporary situation, periodt.

πŸ’€ heads up: exit 0 = fine, exit 111 = temporary problem, error message printed. those are the only two exit statuses mentioned here, don't go inventing others.

πŸ¦‹ SEE ALSO πŸ¦‹

http://cr.yp.to/djbdns.html


and that's the whole page bestie!! this one lives in the General Commands Manual, and the page is literally called dnstxt(1) β€” that's the footer, that's the vibe, we're done here πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from