| Summary: | dnszone-find displays administrator's e-mail address without "@" when added using --zonemgr option. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Gowrishankar Rajaiyan <grajaiya> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED NOTABUG | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | jgalipea, mkosek, shaines |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-02 12:27:38 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
Gowrishankar Rajaiyan
2011-10-31 11:14:37 UTC
This is intentional and standard way of storing zone administrator mail address. As RFC 1035 defines, zone administrator mail is stored in a form of domain name, i.e. no @ is present. I think you were confused by the fact that we automatically do a conversion of standard mail address (with @) to proper zone mail address format. (In reply to comment #1) > This is intentional and standard way of storing zone administrator mail > address. > > As RFC 1035 defines, zone administrator mail is stored in a form of domain > name, i.e. no @ is present. I think you were confused by the fact that we > automatically do a conversion of standard mail address (with @) to proper zone > mail address format. Ok, I went through RFC 1035, which states <snip> The DNS encodes the <local-part> as a single label, and encodes the <mail-domain> as a domain name. The single label from the <local-part> is prefaced to the domain name from <mail-domain> to form the domain name corresponding to the mailbox. Thus the mailbox HOSTMASTER@SRI- NIC.ARPA is mapped into the domain name HOSTMASTER.SRI-NIC.ARPA. </snip> Hence the out that we display is as expected. The RFC also continues to state: <snip> If the <local-part> contains dots or other special characters, its representation in a master file will require the use of backslash quoting to ensure that the domain name is properly encoded. For example, the mailbox Action.domains would be represented as Action\.domains.ISI.EDU. </snip> So, to test this out I created a zone as: [root@jetfire ~]# ipa dnszone-add Authoritative nameserver: jetfire.testrelm. Zone name: lab.eng.pnq.redhat.com Administrator e-mail address [root.lab.eng.pnq.redhat.com.]: gs.r <<< Zone name: lab.eng.pnq.redhat.com Authoritative nameserver: jetfire.testrelm. Administrator e-mail address: gs.r.redhat.com. SOA serial: 2011021101 SOA refresh: 3600 SOA retry: 900 SOA expire: 1209600 SOA minimum: 3600 Active zone: TRUE Dynamic update: FALSE [root@jetfire ~]# # ldapsearch -x -h jetfire.lab.eng.pnq.redhat.com -D "cn=Directory Manager" -w Secret123 -b idnsname=lab.eng.pnq.redhat.com,cn=dns,dc=testrelm # lab.eng.pnq.redhat.com, dns, testrelm dn: idnsname=lab.eng.pnq.redhat.com,cn=dns,dc=testrelm idnsZoneActive: TRUE idnsSOAexpire: 1209600 nSRecord: jetfire.testrelm. idnsSOAserial: 2011021101 idnsSOAretry: 900 idnsSOAminimum: 3600 idnsSOArefresh: 3600 objectClass: top objectClass: idnsrecord objectClass: idnszone idnsName: lab.eng.pnq.redhat.com idnsSOAmName: jetfire.testrelm. idnsSOArName: gs.r.redhat.com. <<< idnsAllowDynUpdate: FALSE I expected a backslash quoting as "gs\.r.redhat.com", however do not see that, is this as expected too? You are right, we can do email normalization better. I created a bug for this: Bug 750806. I am closing this bug as NotABug (as you confirmed, the display is OK). |