| Summary: | unable to create resolvable SRV records with dnsrecord-add | |||
|---|---|---|---|---|
| Product: | [Retired] freeIPA | Reporter: | Michael Gregg <mgregg> | |
| Component: | ipa-admintools | Assignee: | Rob Crittenden <rcritten> | |
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | unspecified | CC: | benl, dpal, jhrozek | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 673227 (view as bug list) | Environment: | ||
| Last Closed: | 2012-03-28 09:26:23 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 673227 | |||
|
Description
Michael Gregg
2011-01-21 20:38:25 UTC
After retesting, I see this is just a docs bug - the SRV resource records has a special format you need to add as RDATA, plus the name of the record must be in format _service._protocol. Here's what works for me (consider existing zone srvzone): 1) ipa dnsrecord-add srvzone _ldap._tcp --srv-rec="0 100 389 foo.example.com" 2) ipa dnsrecord-add srvzone _ldap._tcp --srv-rec="1 100 389 bar.example.com" 3) dig _ldap._tcp.srvzone SRV ;; ANSWER SECTION: _ldap._tcp.srvzone. 86400 IN SRV 1 100 389 bar.example.com.srvzone. _ldap._tcp.srvzone. 86400 IN SRV 0 100 389 foo.example.com.srvzone. The format of RDATA is "priority weight port target". See RFC 2782 for a detailed explanation. master: 682ca8658aa3b1c517848bc72e6531fea782ed07 |