github.com/pmoroney/dnscontrol@v0.2.4-0.20171024134423-fad98f73f44a/docs/_functions/domain/NAMESERVER.md (about) 1 --- 2 name: NAMESERVER 3 parameters: 4 - name 5 - ip 6 - modifiers... 7 --- 8 9 NAMESERVER NS instructs DNSControl to inform the domain's registrar where to find this zone. 10 For some registrars this will also add NS records to the zone itself. 11 12 `ip` is optional, and is only required if glue records need to be generated in the parent zone. 13 14 {% include startExample.html %} 15 {% highlight js %} 16 17 D("example.com", REGISTRAR, .... , 18 NAMESERVER("ns1.myserver.com"), 19 NAMESERVER("ns2.example.com", "100.100.100.100"), // the server plus glue 20 A("www", "10.10.10.10"), 21 ); 22 23 {%endhighlight%} 24 {% include endExample.html %}