#6203 dnsrecord-add does not prompt for missing record parts internactively
Closed: Fixed None Opened 7 years ago 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?

master:

  • afea961 dns: normalize record type read interactively in dnsrecord_add
  • dce95a1 dns: prompt for missing record parts in CLI
  • 38a51fa dns: fix crash in interactive mode against old servers

ipa-4-4:

  • fa8a5c3 dns: normalize record type read interactively in dnsrecord_add
  • b4c104e dns: prompt for missing record parts in CLI
  • 47d6f49 dns: fix crash in interactive mode against old servers

Additional test cases:

master:

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

ipa-4-4:

  • e302886 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

7 years ago

Login to comment on this ticket.

Metadata