#4143 ipa dnszone-add fails to add '0/27.0.10.10.in-addr.arpa.' as RFC 2317 suggests
Closed: Fixed None Opened 10 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 1058688

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

Description of problem:
ipa dnszone-add fails to add '0/27.0.0.10.in-addr.arpa.' as RFC 2317 suggests

Version-Release number of selected component (if applicable):
ipa-server-3.0.0-37.el6.x86_64


How reproducible:
100 %

Steps to Reproduce:
1. Try to add a zone using
# ipa dnszone-add 0/27.10.10.in-addr.arpa. --name-from-ip=10.10.0.0/27
--name-server=`hostname`. --admin-email=hostmaster.0.0.10.10.in-addr.arpa.
2.
3.

Actual results:
# ipa dnszone-add 0/27.10.10.in-addr.arpa. --name-from-ip=10.10.0.0/27
--name-server=`hostname`. --admin-email=hostmaster.0.0.10.10.in-addr.arpa.
ipa: ERROR: invalid 'name': only letters, numbers, and - are allowed. DNS label
may not start or end with -


Expected results:
# ipa dnszone-add 0/27.10.10.in-addr.arpa. --name-from-ip=10.10.0.0/27
--name-server=`hostname`. --admin-email=hostmaster.0.0.10.10.in-addr.arpa.
Zone name: 0-27.10.10.in-addr.arpa.
  Authoritative nameserver: vm205.example.com.
  Administrator e-mail address: hostmaster.0.0.10.10.in-addr.arpa.
  SOA serial: 1390589478
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  BIND update policy: grant EXAMPLE.COM krb5-subdomain
0-27.10.10.in-addr.arpa. PTR;
  Active zone: TRUE
  Dynamic update: FALSE
  Allow query: any;
  Allow transfer: none;

Additional info:

This works

# ipa dnszone-add 0-27.10.10.in-addr.arpa. --name-from-ip=10.10.0.0/27
--name-server=`hostname`. --admin-email=hostmaster.0.0.10.10.in-addr.arpa.

Please make sure that IPA CLI allows to use DNAME records as descibed on http://tools.ietf.org/html/rfc6672#section-6.2 .

master:[[BR]]
5d65856 DNS tests for classless reverse domains[[BR]]
8ede71f DNS classless support for reverse domains[[BR]]

ipa-3-3:[[BR]]
4098720 DNS classless support for reverse domains[[BR]]

Additional fixes:

master:[[BR]]
39ebeae Fix test_host_plugin for DNS Classless Reverse zones[[BR]]

ipa-3-3:[[BR]]
5ec9170 Fix test_host_plugin for DNS Classless Reverse zones[[BR]]
ce182dc DNS tests for classless reverse domains[[BR]]

Metadata Update from @mkosek:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 3.3.5 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata