Closed
Description
Describe the bug
I set up a dnsconfig.js
matching the records for a domain I manage through Linode. All of the records in Linode have their TTL column set to "Default". I do not configure an explicit TTL in dnsconfig.js
for any record, leaving it at the dnscontrol
default.
When I run dnscontrol preview
, every record is marked as a modification such as:
#1: MODIFY A example.com: (1.2.3.4 ttl=0) -> (1.2.3.4 ttl=300), Linode ID: NNN: {"type":"A","name":"","target":"1.2.3.4","ttl_sec":300}
To Reproduce
- Configure a domain name to use Linode for DNS records.
- Add a DNS A record to Linode with some label and IP, and leave the TTL as "Default".
- Write a
dnsconfig.js
with the same A record label and IP, and no configured TTL. dnscontrol preview
Expected behavior
No modifications should be proposed.
Versions
- DNSControl version: 4.1.1 (Homebrew)
- DNS Provider:
LINODE
Additional context
The LINODE
provider documentation has a caveat that the TTLs must be from a specific list. The file that it links to does not exist in the Linode source tree anymore. When I searched for an equivalent list, I found this one that explicitly includes the option { label: 'Default', value: 0 }
.
Metadata
Metadata
Assignees
Labels
No labels