github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/provider/ns1.md (about) 1 ## Configuration 2 3 To use this provider, add an entry to `creds.json` with `TYPE` set to `NS1` 4 along with your NS1 api key. 5 6 Example: 7 8 {% code title="creds.json" %} 9 ```json 10 { 11 "ns1": { 12 "TYPE": "NS1", 13 "api_token": "your-ns1-token" 14 } 15 } 16 ``` 17 {% endcode %} 18 19 ## Metadata 20 This provider does not recognize any special metadata fields unique to NS1. 21 22 ## Usage 23 An example configuration: 24 25 {% code title="dnsconfig.js" %} 26 ```javascript 27 var REG_NONE = NewRegistrar("none"); 28 var DSP_NS1 = NewDnsProvider("ns1"); 29 30 D("example.com", REG_NONE, DnsProvider(DSP_NS1), 31 A("test", "1.2.3.4"), 32 END); 33 ``` 34 {% endcode %}