- Program: Authoritative
- Issue type: Bug report
Short description
pdnsutil add-autoprimary accepts a hostname string, but doesn't normalize the FQDN for the trailing canonical dot. If the entry is added with the trailing dot, later replications will get rejected.
Environment
- Operating system: Alpine Linux edge
- Software version: 5.0.2
- Software source: alpine repo
Expected behaviour
Warning/error on add-autoprimary with a bad domain name, or silently normalizing the name on entry to the database sounds like the least cursed option to me.
Other information
Short description
pdnsutil add-autoprimaryaccepts a hostname string, but doesn't normalize the FQDN for the trailing canonical dot. If the entry is added with the trailing dot, later replications will get rejected.Environment
Expected behaviour
Warning/error on
add-autoprimarywith a bad domain name, or silently normalizing the name on entry to the database sounds like the least cursed option to me.Other information