github.com/pmoroney/dnscontrol@v0.2.4-0.20171024134423-fad98f73f44a/docs/_providers/ns1.md (about) 1 --- 2 name: NS1 3 title: NS1 Provider 4 layout: default 5 jsId: NS1 6 --- 7 # NS1 Provider 8 9 ## Configuration 10 11 In your credentials json file you must provide your NS1 api key: 12 13 {% highlight json %} 14 { 15 "ns1":{ 16 "api_token": "your-ns1-token" 17 } 18 } 19 {% endhighlight %} 20 21 ## Metadata 22 This provider does not recognize any special metadata fields unique to NS1. 23 24 ## Usage 25 Example Javascript: 26 27 {% highlight js %} 28 var REG_NONE = NewRegistrar('none', 'NONE') 29 var NS1 = NewDnsProvider("ns1", "NS1"); 30 31 D("example.tld", REG_NONE, DnsProvider(NS1), 32 A("test","1.2.3.4") 33 ); 34 {% endhighlight %} 35