Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent creation of records with the same name but different type #44

Open
GoogleCodeExporter opened this issue Aug 11, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create an A Record with some name
2. Create an CNAME Record with the same name
3. Record gets created successfully and this breaks AXFR requests from Bind to 
PDNS

What is the expected output? What do you see instead?
An Error message telling a record with this name already exists with a 
different type


This affects multiple different record types which are not allowed in 
combination, this can be a really big issue if not detected in time (this will 
break the complete zone if there is a bind slave). Unfortunately only a few 
interfaces for pdns support checks for this, so this would be a really great 
feature/fix.

Original issue reported on code.google.com by [email protected] on 27 Nov 2012 at 8:25

@GoogleCodeExporter
Copy link
Author

Yes this has to be implemented. But i first need to get a full list of record 
types that are not allowed in combination...

For example A records or NS records are allowed (for the sake of load balancing 
via DNS)

Original comment by timo.witte on 2 Mar 2013 at 2:12

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

RFC 1912 (http://www.ietf.org/rfc/rfc1912.txt) states that "A CNAME record is 
not allowed to coexist with any other data".
According to that same RFC, the only exception are PTR records "if you want to 
implement classless in-addr delegation".

Original comment by [email protected] on 8 May 2013 at 11:24

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

No branches or pull requests

1 participant