Bug 671276 - unable to add NAPTR records with dns2 tools
Summary: unable to add NAPTR records with dns2 tools
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-admintools
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 23:12 UTC by Michael Gregg
Modified: 2015-01-04 23:45 UTC (History)
3 users (show)

Fixed In Version: freeipa-2.1.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 07:22:23 UTC


Attachments (Terms of Use)

Description Michael Gregg 2011-01-20 23:12:03 UTC
Description of problem:
unable to add NAPTR records with dns2 tools

Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2011011418gita68b2d2.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. ipa  dnsrecord-add newzone1 naptr --naptr-rec='E2U+msg" "!^.*$!info!'

Actual Results:
ipa dnsrecord-find newzone1 naptr works
 
dig -t NAPTR naptr.newzone1
and
dig -t NAPTR naptr.newzone1 NAPTR
Give no results

Other: I'm pretty sure I'm using naptr correctly. Though, it is a new record type to me. I'm working off of:
http://tools.ietf.org/html/rfc3403

Comment 1 Jakub Hrozek 2011-01-24 21:37:18 UTC
https://fedorahosted.org/freeipa/ticket/840

Comment 2 Rob Crittenden 2011-02-22 15:01:32 UTC
master: 6e7815a30e6897967b3c7e50f98f23c8a89c3b03

Comment 3 Jenny Severance 2011-06-13 15:12:11 UTC
verified:

# ipa dnsrecord-add testrelm naptr --naptr-rec '100 10 U E2U+msg !^.*$!info! .'
  Record name: naptr
  NAPTR record: 100 10 U E2U+msg !^.*$!info! .


# dig naptr.'100 10 U E2U+msg !^.*$!info! .'

; <<>> DiG 9.7.3-RedHat-9.7.3-2.el6 <<>> naptr.100 10 U E2U+msg !^.*$!info! .
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28914
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;naptr.100\03210\032U\032E2U+msg\032!^.*\$!mailto:info\@example.com!\032. IN A

;; AUTHORITY SECTION:
.			10800	IN	SOA	a.root-servers.net. nstld.verisign-grs.com. 2011061300 1800 900 604800 86400

;; Query time: 300 msec
;; SERVER: 10.16.19.202#53(10.16.19.202)
;; WHEN: Mon Jun 13 11:08:55 2011
;; MSG SIZE  rcvd: 147


# ipa dnsrecord-del testrelm naptr --naptr-rec '100 10 U E2U+msg !^.*$!info! .'
----------------------
Deleted record "naptr"
----------------------


version:
ipa-server-2.0.0-23.el6.x86_64


Note You need to log in before you can comment on or make changes to this bug.