Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 526
    • Issues 526
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 102
    • Merge requests 102
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #2225

Closed
Open
Created Oct 21, 2020 by Elijah Lynn@elijahlynn

named-checkconf: Validate that A records contain valid IP address (e.g. not a CNAME)

Description

Recently ran into an issue with named failing to start on a deployment which appears to be due to the following type of entry:

example IN A example.com (no trailing period either)

We discussed adding some validation which led us to the named-checkconf tool, as referenced in https://www.cyberciti.biz/tips/howto-linux-unix-check-dns-file-errors.html. The tool doesn't appear to check for valid IPs and I think it could be a good place to put this logic. I tested locally and it doesn't appear to catch an invalid IP for an A record.

Request

Can we consider adding validation support for valid IP addresses for A records in named-checkconf?

Links / references

Edited Oct 21, 2020 by Elijah Lynn
Assignee
Assign to
Time tracking