github.com/hexonet/dnscontrol@v0.2.8/docs/_functions/domain/TLSA.md (about)

     1  ---
     2  name: TLSA
     3  parameters:
     4    - name
     5    - usage
     6    - selector
     7    - type
     8    - certificate
     9    - modifiers...
    10  ---
    11  
    12  TLSA adds a TLSA record to a domain. The name should be the relative label for the record.
    13  
    14  Usage, selector, and type are ints.
    15  
    16  Certificate is a hex string.
    17  
    18  {% include startExample.html %}
    19  {% highlight js %}
    20  
    21  D("example.com", REGISTRAR, DnsProvider("GCLOUD"),
    22    // Create TLSA record for certificate used on TCP port 443
    23    TLSA("_443._tcp", 3, 1, 1, "abcdef0"),
    24  );
    25  
    26  {%endhighlight%}
    27  {% include endExample.html %}