#6203 dnsrecord-add does not prompt for missing record parts internactively
Closed: Fixed Opened by jcholast.

This is how dnsrecord-add behaves in 4.4:

$ ipa dnsrecord-add example.test test --srv-target $HOSTNAME
ipa: ERROR: invalid 'srvrecord': 'srv_priority' is a required part of DNS record

This is how it behaved before 4.4:

$ ipa dnsrecord-add example.test test --srv-target $HOSTNAME
SRV Priority: 
...

btw, isn't the root cause same as in #6169?

causes #6184

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1368557

master:

  • afea9616318fbbffc2c296b7c41890db8595e3cc dns: normalize record type read interactively in dnsrecord_add
  • dce95a14595a37ce83bcf3e28f41feab715d0c81 dns: prompt for missing record parts in CLI
  • 38a51fa984a6aa92f383d7f8176057de8e057d52 dns: fix crash in interactive mode against old servers

ipa-4-4:

  • fa8a5c33b73398c731cf2a472c79bd9a51404fe2 dns: normalize record type read interactively in dnsrecord_add
  • b4c104ee9038d8d87a7e78137826e655ebb5d39b dns: prompt for missing record parts in CLI
  • 47d6f49e53d27e1df1377a91789c072b11ccea31 dns: fix crash in interactive mode against old servers

Additional test cases:

master:

  • 866e59bdcee74ea9aea4e65f193339ae9cab5ce3 Tests: extend DNS cmdline tests with lowercased record type

ipa-4-4:

  • e302886204fbac3f155bf272debeaf3330c99952 Tests: extend DNS cmdline tests with lowercased record type

Metadata Update from @jcholast:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.4.2

Metadata