dnscontrol/docs/_functions/domain/NAMESERVER.md
Tom Limoncelli ea3e2831a8 Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM (#184)
* Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM
2017-08-15 10:46:31 -07:00

607 B

name parameters
NAMESERVER
name
ip
modifiers...

NAMESERVER NS instructs DNSControl to inform the domain's registrar where to find this zone. For some registrars this will also add NS records to the zone itself.

ip is optional, and is only required if glue records need to be generated in the parent zone.

{% include startExample.html %} {% highlight js %}

D("example.com", REGISTRAR, .... , NAMESERVER("ns1.myserver.com"), NAMESERVER("ns2.example.com", "100.100.100.100"), // the server plus glue A("www", "10.10.10.10"), );

{%endhighlight%} {% include endExample.html %}