#4888 dnsrecord-del removes explicit TTL definition from DNS record
Closed: Invalid None Opened 7 years ago by pspacek.

[fedora@devconf ~]$ ipa dnsrecord-add ipa.test.devconf.cz. @ --ttl=10 --txt-rec="tesT"
  Record name: @
  Time to live: 10
  NS record: testipa.devconf.cz.
  TXT record: tesT

[fedora@devconf ~]$ ipa dnsrecord-del ipa.test.devconf.cz. @  --txt-rec="tesT"
  Record name: @
  NS record: testipa.devconf.cz.

works for me, git 4.1 branch

TTL is not shown by default

[root@replica ~]# ipa dnsrecord-add test.test. record --a-rec=10.20.30.40 --txt-rec=blabla --ttl=10
  Record name: record
  Time to live: 10
  A record: 10.20.30.40
  TXT record: blabla
[root@replica ~]# ipa dnsrecord-del test.test. record --a-rec=10.20.30.40
  Record name: record
  TXT record: blabla
[root@replica ~]# ipa dnsrecord-show test.test. record
  Record name: record
  TXT record: blabla
[root@replica ~]# ipa dnsrecord-show test.test. record --all
  dn: idnsname=record,idnsname=test.test.,cn=dns,dc=dnssec,dc=ipa,dc=test
  Record name: record
  Time to live: 10
  TXT record: blabla
  objectclass: top, idnsrecord

Metadata Update from @pspacek:
- Issue assigned to mbasti
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

5 years ago

Login to comment on this ticket.

Metadata