#7982 Cannot modify TTL with ipa dnsrecord-mod --ttl alone on command line
Closed: fixed 4 years ago by abbra. Opened 4 years ago by frenaud.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1720952

Description of problem:

See the following output and reported error:
vesemir:~> ipa dnsrecord-mod ZZZZZ.org ns11 --ttl=86400
No option to modify specific record provided.
Current DNS record contents:

A record: xxx.xxx.xxx.xxx
AAAA record: xxxx:xx

Modify A record 'xxxx.xxxx.xxxx.xxxx'? Yes/No (default No):
Modify AAAA record 'xxxx:xx'? Yes/No (default No):
ipa: ERROR: No options to modify a specific record provided.

Version-Release number of selected component (if applicable):

ipa-client-4.6.4-10.el7.centos.3.x86_64

How reproducible:
Always

Actual results:

Cannot modify DNS record's TTL.

Expected results:

DNS record's TTL modified.

Additional info:
Disclosure - found on CentOS 7.6 and NOT replicated on RHEL.
Passing data already on the record already allows changing TTL but is error
prone (especially for records with many data):

vesemir:~> ipa dnsrecord-mod ZZZZ.org ns11 --ttl=86400 --a-rec=xxx.xxx.xxx.xxx
--aaaa-rec=xxxx:xx
  Record name: ns11
  Czas życia: 86400
  A record: xxx.xxx.xxx.xxx
  AAAA record: xxxx:xx

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1720952

4 years ago

Metadata Update from @frenaud:
- Issue assigned to frenaud

4 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/3288

4 years ago

master:

  • bb91fca dnsrecord-mod: allow to modify ttl without passing the record
  • f25a7c2 XMLRPC tests: add new test for ipa dsnrecord-mod $ZONE $RECORD --ttl

Metadata Update from @frenaud:
- Custom field test_case adjusted to ipatests/test_xmlrpc/test_dns_plugin.py::test_dns

4 years ago

master:

  • 7188417 ipatests: fix ipatests/test_xmlrpc/test_dns_plugin.py

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

4 years ago

ipa-4-6:

  • e7fa5f3 dnsrecord-mod: allow to modify ttl without passing the record
  • de17f2a XMLRPC tests: add new test for ipa dsnrecord-mod $ZONE $RECORD --ttl
  • 104247d ipatests: fix ipatests/test_xmlrpc/test_dns_plugin.py

ipa-4-7:

  • eb11537 dnsrecord-mod: allow to modify ttl without passing the record
  • 45c3d6e XMLRPC tests: add new test for ipa dsnrecord-mod $ZONE $RECORD --ttl
  • 1d02008 ipatests: fix ipatests/test_xmlrpc/test_dns_plugin.py

Login to comment on this ticket.

Metadata