Skip to content

auth: add-autoprimary doesn't normalize FQDNs #16911

@sdomi

Description

@sdomi
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions