mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-07-08 23:11:57 -04:00
1.9 KiB
1.9 KiB
Vercel
Configuration
Example
{
"settings": [
{
"provider": "vercel",
"domain": "domain.com",
"token": "yourtoken",
"ip_version": "ipv4",
"ipv6_suffix": "",
"team_id": ""
}
]
}
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."token"is your Vercel API token. You can create one at Vercel Account Settings > Tokens.
Optional parameters
"team_id"is your Vercel team ID. Required if the domain belongs to a team rather than your personal account. You can find this in your team settings."ttl"is the TTL in seconds for the DNS record. It defaults to being not set, using the existing TTL configured for the record in Vercel or the default TTL determined by Vercel."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 temporary IPv6 address of the machine is used in the record updating. You might want to set this to use your permanent IPv6 address instead of your temporary IPv6 address.
Domain setup
- Ensure your domain is added to Vercel. You can do this via the Vercel Dashboard under your project's Domain settings, or via the API.
- Your domain must be using Vercel's nameservers or have DNS management delegated to Vercel for this provider to work.
- Create an API token with appropriate permissions at Vercel Account Settings > Tokens.
- If the domain belongs to a team, make sure to include the
team_idparameter in your configuration.