Skip to content

Feature request: cname-flag #3

Description

@puggan

As some webhost put there alias as A-records, and some put them as CNAME, it would be nice with a flag that can handle that.

Exemple, at one DNS-server I have:

exemple.com. A 1.2.3.4
www.exemple.com. A 1.2.3.4

At the other I have

exemple.com. A 1.2.3.4
www.exemple.com CNAME exemple.com.

In normal mode, it should say its a missmatch:

(MIS-MATCH) query: www.exemple.com.
 Expected:  7200 IN CNAME exemple.com.
 Received:  None

Results:
Matches:      1
Mis-matches:  1

But with the cname-flag, it reports:

(CNAME-MATCH) query: www.exemple.com.
 Expected:  7200 IN CNAME exemple.com. (A 1.2.3.4)
 Received:  7200 IN A 1.2.3.4

Results:
Matches:      1
Cname-matches:  1
Mis-matches:  0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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