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

     1  ---
     2  name: NS
     3  parameters:
     4    - name
     5    - target
     6    - modifiers...
     7  ---
     8  
     9  NS adds a NS record to the domain. The name should be the relative label for the domain.
    10  Use `@` for the domain apex, though if you are doing this consider using NAMESERVER() instead.
    11  
    12  Target should be a string representing the NS target. If it is a single label we will assume it is a relative name on the current domain. If it contains *any* dots, it should be a fully qualified domain name, ending with a `.`.
    13  
    14  {% include startExample.html %}
    15  {% highlight js %}
    16  
    17  D("example.com", REGISTRAR, DnsProvider("R53"),
    18    NS("foo", "ns1.example2.com"), // Delegate ".foo.example.com" zone to another server.
    19    NS("foo", "ns2.example2.com"), // Delegate ".foo.example.com" zone to another server.
    20    A("ns1.example2.com", "10.10.10.10"), // Glue records
    21    A("ns2.example2.com", "10.10.10.20"), // Glue records
    22  );
    23  
    24  {%endhighlight%}
    25  {% include endExample.html %}