#pragma section-numbers off DNS records are managed through [[MemberManual/UsingDomtool|Domtool]]. The most basic directives for adding DNS records are in the [[https://hcoop.net/domtool/bind.html|Bind]] module. There are also higher-level convenience directives in the [[https://hcoop.net/domtool/easy_domain.html|Easy_domain]] module. === TXT records === A TXT record consists of a domain name and a string. The `dnsDefaultText` directive sets the domain name to the name of the domain the DNS record belongs to, which is the most typical case. The equivalent in some other domain management interfaces is putting `@` in the domain name field. Let's say we're setting DNS records for `example.com`. ==== Domtool directive ==== {{{ dnsDefaultText "Wow, so text"; }}} ==== Resulting DNS record ==== {{{ example.com. IN TXT "Wow, so text" }}} The `addDefaultSPF` directive adds a TXT record describing a basic Sender Policy Framework (SPF) setup. ==== Domtool directive ==== {{{ addDefaultSPF; }}} ==== Resulting DNS record ==== {{{ example.com. IN TXT "v=spf1 mx -all" }}} ---- CategoryMemberManual