diff options
author | Martin Kosek <mkosek@redhat.com> | 2012-10-25 08:47:34 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-11-06 17:42:09 +0100 |
commit | a00109585684fac520c48188298b75df816fbd23 (patch) | |
tree | c21fe71c0c0d611d0c04f1c4cd133a461c5d7847 /VERSION | |
parent | 53a94211100d8622ccd2442140ff8db2ae05add9 (diff) | |
download | freeipa-a00109585684fac520c48188298b75df816fbd23.tar.gz freeipa-a00109585684fac520c48188298b75df816fbd23.tar.xz freeipa-a00109585684fac520c48188298b75df816fbd23.zip |
Process relative nameserver DNS record correctly
Nameserver hostname passed to dnszone_add command was always treated
as FQDN even though it was a relative DNS name to the new zone. All
relative names were being rejected as unresolvable.
Modify --name-server option processing in dnszone_add and dnszone_mod
to respect FQDN/relative DNS name and do the checks accordingly. With
this change, user can add a new zone "example.com" and let dnszone_add
to create NS record "ns" in it, when supplied with its IP address. IP
address check is more strict so that it is not entered when no forward
record is created. Places misusing the option were fixed.
Nameserver option now also accepts zone name, which means that NS and A
record is placed to DNS zone itself. Also "@" is accepted as a nameserver
name, BIND understand it also as a zone name. As a side-effect of this
change, other records with hostname part (MX, KX, NS, SRV) accept "@"
as valid hostname. BIND replaces it with respective zone name as well.
Unit tests were updated to test the new format.
https://fedorahosted.org/freeipa/ticket/3204
Diffstat (limited to 'VERSION')
-rw-r--r-- | VERSION | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,4 +79,4 @@ IPA_DATA_VERSION=20100614120000 # # ######################################################## IPA_API_VERSION_MAJOR=2 -IPA_API_VERSION_MINOR=44 +IPA_API_VERSION_MINOR=45 |