---
name: "dnstxt"
section: "1"
platform: "linux"
package: "djbdns-utils"
version: "1:1.05-22"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dnstxt"
---

# dnstxt(1)

prints the TXT record of fqdn

## NAME

dnstxt - prints the TXT record of fqdn

## SYNOPSIS

**dnstxt** *fqdn*

## DESCRIPTION

**dnstxt** prints the TXT record of   *fqdn* on a single line. If there is no TXT record, **dnstxt** prints a blank line.

Normally  **dnstxt** exits 0. If  **dnstxt** encounters a temporary problem that prevents it from determining the TXT record, it prints an error message and exits 111.

## SEE ALSO

[dnsip(1)](/dnsip/1.md), [dnsname(1)](/dnsname/1.md), [dnsmx(1)](/dnsmx/1.md), [dnsipq(1)](/dnsipq/1.md), [dnsqr(1)](/dnsqr/1.md), [dnsq(1)](/dnsq/1.md), [dnstrace(1)](/dnstrace/1.md)

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