github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/provider/autodns.md (about) 1 ## Configuration 2 3 To use this provider, add an entry to `creds.json` with `TYPE` set to `AUTODNS` along with 4 [username, password and a context](https://help.internetx.com/display/APIXMLEN/Authentication#Authentication-AuthenticationviaCredentials(username/password/context)). 5 6 Example: 7 8 {% code title="creds.json" %} 9 ```json 10 { 11 "autodns": { 12 "TYPE": "AUTODNS", 13 "username": "autodns.service-account@example.com", 14 "password": "[***]", 15 "context": "33004" 16 } 17 } 18 ``` 19 {% endcode %} 20 21 ## Usage 22 23 An example configuration: 24 25 {% code title="dnsconfig.js" %} 26 ```javascript 27 var REG_NONE = NewRegistrar("none"); 28 var DSP_AUTODNS = NewDnsProvider("autodns"); 29 30 D("example.com", REG_NONE, DnsProvider(DSP_AUTODNS), 31 A("test", "1.2.3.4"), 32 END); 33 ``` 34 {% endcode %}