github.com/pmoroney/dnscontrol@v0.2.4-0.20171024134423-fad98f73f44a/docs/_functions/domain/TXT.md (about)

     1  ---
     2  name: TXT
     3  parameters:
     4    - name
     5    - contents
     6    - modifiers...
     7  ---
     8  
     9  TXT adds an TXT record To a domain. The name should be the relative
    10  label for the record. Use `@` for the domain apex.
    11  
    12  The contents is a single string.  While DNS permits multiple
    13  strings in TXT records, that is not supported at this time.
    14  
    15  The string is a JavaScript string (quoted using single or double
    16  quotes).  The (somewhat complex) quoting rules of the DNS protocol
    17  will be done for you.
    18  
    19  Modifers can be any number of [record modifiers](#record-modifiers) or json objects, which will be merged into the record's metadata.
    20  
    21  {% include startExample.html %}
    22  {% highlight js %}
    23  
    24  D("example.com", REGISTRAR, ....,
    25    TXT('@', '598611146-3338560'),
    26    TXT('listserve', 'google-site-verification=12345'),
    27  );
    28  
    29  {%endhighlight%}
    30  {% include endExample.html %}