#2308 SRV record target not validated
Closed: Fixed None Opened 12 years ago by edewata.

The target attribute in SRV record should contain a hostname, but it's not validated allowing characters that may cause an error.

Adding SVR target with a space is accepted:

# ipa dnsrecord-add test.com test --srv-priority=1 --srv-weight=2 --srv-port=3 --srv-target="Hello World"
  Record name: test
  SRV record: 1 2 3 Hello World

The space is causing a problem with the new DNS API:

# ipa dnsrecord-show test.com test --structured
ipa: ERROR: an internal error has occurred

Metadata Update from @edewata:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02

7 years ago

Login to comment on this ticket.

Metadata