mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-03-31 06:24:00 -04:00
- retro-compatible change: keep using host/owner if set - otherwise extract owner and eTLD+1 from domain field - documentation updated to only use the `domain` field
1.1 KiB
1.1 KiB
LuaDNS
Configuration
Example
{
"settings": [
{
"provider": "luadns",
"domain": "domain.com",
"email": "email",
"token": "token",
"ip_version": "ipv4",
"ipv6_suffix": ""
}
]
}
Compulsory parameters
"domain"is the domain to update. It can beexample.com(root domain),sub.example.com(subdomain ofexample.com) or*.example.comfor the wildcard."email""token"
Optional parameters
"ip_version"can beipv4(A records), oripv6(AAAA records) oripv4 or ipv6(update one of the two, depending on the public ip found). It defaults toipv4 or ipv6."ipv6_suffix"is the IPv6 interface identifier suffix to use. It can be for example0:0:0:0:72ad:8fbb:a54e:bedd/64. If left empty, it defaults to no suffix and the raw public IPv6 address obtained is used in the record updating.
Domain setup
- Go to api.luadns.com/settings
- Enable API access
- Obtain your API token and replace it in the parameters as the value for
token