Describe the bug
When using HTTPS("…", 1, ".", "alpn=h3 … ech=IGNORE"), but ech has not yet been set by the owner, then dnscontrol keeps saying it needs to change it … by adding a space that isn't there every run…
To Reproduce
- Create a HTTPS record with
ech=IGNORE
+ CREATE ccccc.example.com HTTPS 1 . alpn="h3" ttl=1
- run dnscontrol again
± MODIFY ccccc.example.com HTTPS (1 . alpn="h3" ttl=1) -> (1 . alpn="h3" ttl=1) id=X
- Observe changes, every, run…
± MODIFY ccccc.example.com HTTPS (1 . alpn="h3" ttl=1) -> (1 . alpn="h3" ttl=1) id=X
Expected behavior
+ CREATE ccccc.example.com HTTPS 1 . alpn="h3" ttl=1
- observe no double space between value and ttl
- re-run
- observe no change to record
DNS Provider
Additional context
The ECH field needs to be managed by whoever manages the certs (probably the webserver), and when making these records but before first use means it doesn't have a value.
Note that this issue was missed in testing because ech has a value there…