Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionGowrishankar Rajaiyan
2012-02-13 13:02:55 UTC
Description of problem:
This was detected by Amith as part of IPA Test Day.
While adding a dnsrecord with --kx-exchanger=$$, the shell expands the value to PID of current process and the record is added successfully. Domain name of just numbers should not be considered as valid.
Version-Release number of selected component (if applicable):
ipa-server-2.2.0-101.20120127T0607zgit6863b8f.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
[root@zetaprime ~]# ipa dnsrecord-add lab.eng.pnq.redhat.com @ --kx-exchanger="$$" --kx-preference=99
Record name: lab.eng.pnq.redhat.com
KX record: 99 21498
[root@zetaprime ~]#
Actual results:
record gets added successfully when you specify with $$ for --kx-exchanger option. (--kx-exchanger="$$")
Expected results:
Should error out as:
ipa: ERROR: invalid 'kx_exchanger': invalid domain-name: only letters, numbers, and - are allowed. - must not be the last name character
Additional info:
There is nothing we can do about this if the shell is messing with characters.
What is the desired outcome, specific documentation on what characters need to be escaped?
I'm tempted to close this as WONTFIX.
Comment 4Gowrishankar Rajaiyan
2012-02-13 17:48:47 UTC
bind appends the current zone to the dns name. Hence this seems to be valid. Please mark it as NOTABUG.
As discussed, this is a valid hostname. RFC says, that just the top level domain cannot be numerical. Details can be checked in RFC 1123:
http://tools.ietf.org/html/rfc1123
Closing as NOTABUG.