Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1023 Bytes

luadns.md

File metadata and controls

39 lines (30 loc) · 1023 Bytes

LuaDNS

Configuration

Example

{
  "settings": [
    {
      "provider": "luadns",
      "domain": "domain.com",
      "host": "@",
      "email": "email",
      "token": "token",
      "ip_version": "ipv4",
      "ipv6_suffix": ""
    }
  ]
}

Compulsory parameters

  • "domain"
  • "host" is your host and can be a subdomain or "@" or "*"
  • "email"
  • "token"

Optional parameters

  • "ip_version" can be ipv4 (A records), or ipv6 (AAAA records) or ipv4 or ipv6 (update one of the two, depending on the public ip found). It defaults to ipv4 or ipv6.
  • "ipv6_suffix" is the IPv6 interface identifiersuffix to use. It can be for example 0: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

  1. Go to api.luadns.com/settings
  2. Enable API access
  3. Obtain your API token and replace it in the parameters as the value for token