Skip to content

Ignore differences in case for record name #2

@fortiko

Description

@fortiko

Great script, just what I was looking for.

A simple improvement would be to handle record names like "VPN" and "vpn" as identical when checking for existence.

At the moment, if you use upper case letters in the record name, you will see this erroneous message:

DNS record "VPN" does not exists - will be created.

instead of the (correct):

DNS record "VPN" is up to date - nothing to to.

However, contrary to the first warning, no new record "VPN" will be created (if a record "vpn" already exists), because DNS names and hostnames are case-insensitive by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions