github.com/philhug/dnscontrol@v0.2.4-0.20180625181521-921fa9849001/docs/_functions/domain/NAMESERVER.md (about) 1 --- 2 name: NAMESERVER 3 parameters: 4 - name 5 - modifiers... 6 --- 7 8 `NAMESERVER()` instructs DNSControl to inform the domain's registrar where to find this zone. 9 For some registrars this will also add NS records to the zone itself. 10 11 This takes exactly one argument: the name of the nameserver. It must end with 12 a "." if it is a FQDN, just like all targets. 13 14 This is different than the `NS()` function, which inserts NS records 15 in the current zone and accepts a label. It is useful for downward 16 delegations. This is for informing upstream delegations. 17 18 {% include startExample.html %} 19 {% highlight js %} 20 21 D("example.com", REGISTRAR, .... , 22 NAMESERVER("ns1.myserver.com."), 23 NAMESERVER("ns2.myserver.com."), 24 ); 25 26 {%endhighlight%} 27 {% include endExample.html %}