github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/provider/luadns.md (about) 1 ## Configuration 2 3 To use this provider, add an entry to `creds.json` with `TYPE` set to `LUADNS` 4 along with your [email and API key](https://www.luadns.com/api.html#authentication). 5 6 Example: 7 8 {% code title="creds.json" %} 9 ```json 10 { 11 "luadns": { 12 "TYPE": "LUADNS", 13 "email": "your-email", 14 "apikey": "your-api-key" 15 } 16 } 17 ``` 18 {% endcode %} 19 20 ## Metadata 21 This provider does not recognize any special metadata fields unique to LuaDNS. 22 23 ## Usage 24 An example configuration: 25 26 {% code title="dnsconfig.js" %} 27 ```javascript 28 var REG_NONE = NewRegistrar("none"); 29 var DSP_LUADNS = NewDnsProvider("luadns"); 30 31 D("example.com", REG_NONE, DnsProvider(DSP_LUADNS), 32 A("test", "1.2.3.4"), 33 END); 34 ``` 35 {% endcode %} 36 37 ## Activation 38 [Create API key](https://api.luadns.com/api_keys). 39 40 ## Caveats 41 - LuaDNS cannot change the default nameserver TTL in `nameserver_ttl`, it is forced to fixed at 86400("1d"). 42 This is not the case if you are using vanity nameservers. 43 - This provider does not currently support the "FORWARD" and "REDIRECT" record types. 44 - The API is available on the LuaDNS free plan, but due to the limit of 30 records, some tests will fail when doing integration tests.