[Freeipa-devel] [freeipa PR#34] dns: prompt for missing record parts in CLI (comment)

mbasti-rh freeipa-github-notification at redhat.com
Thu Sep 1 11:28:02 UTC 2016


mbasti-rh commented on a pull request

"""
Fix works for me partially, it fixes issues reported in ticket. Do you want to open new ticket for this or should it be part of this ticket?

Expected:
```
[root at vm-058-080 ~]# ipa dnsrecord-add test. rec
Please choose a type of DNS resource record to be added
The most common types for this type of zone are: A, AAAA

DNS resource record type: srv
SRV Priority: 5
SRV Weight: 5
SRV Port: 5
SRV Target: host.example.com.
  Record name: rec
  SRV record: 5 5 5 host.example.com.
```

Got:
```
[root at vm-058-017 ~]# ipa dnsrecord-add test. rec
Please choose a type of DNS resource record to be added
The most common types for this type of zone are: A, AAAA

DNS resource record type: srv
ipa: ERROR: No options to add a specific record provided.
Command help may be consulted for all supported record types.
```
"""

See the full comment at https://github.com/freeipa/freeipa/pull/34#issuecomment-244051256


More information about the Freeipa-devel mailing list