| Summary: | unable to add multiple NS records to a zone | ||
|---|---|---|---|
| Product: | [Retired] freeIPA | Reporter: | Michael Gregg <mgregg> |
| Component: | ipa-admintools | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | benl, dpal, jhrozek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-28 09:25:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Michael Gregg
2011-01-20 23:24:17 UTC
The bug has been fixed upstream in 0a6b1c4bced35dc0943ae38fcea71586274395ba. The root cause was that NS records are supposed to be resolvable hostnames. This is expected by Bind and enforced so that if Bind cannot find an A or AAAA record for a NS record, it wouldn't load the zone. Even if you add an IP address, Bind would still treat is as a hostname. The fix is to a) during zone creation, check if NS record can be resolved with DNS. This can be overridden with --force (if, for some reason you'd like to add the NS record afterwards with dnsrecord-add/host-add or perhaps for testing purposes). b) provide a new option to dnszone-add that allows specifying IP address of the NS record, so zone and NS record can be created in one go c) when adding a new NS record with dnsrecord-add, check for a valid A/AAAA record, too. |