nsupdate: using "wildcard" TTL when removing specific record
marka at isc.org
Mon Jun 1 09:27:26 UTC 2020
TTL is ignored on delete if it present. It is set to 0 when sending.
2.5.4 - Delete An RR From An RRset
RRs to be deleted are added to the Update Section. The NAME, TYPE,
RDLENGTH and RDATA must match the RR being deleted. TTL must be
specified as zero (0) and will otherwise be ignored by the primary
master. CLASS must be specified as NONE to distinguish this from an
RR addition. If no such RRs exist, then this Update RR will be
silently ignored by the primary master.
> On 1 Jun 2020, at 18:45, Petr Bena <petr at bena.rocks> wrote:
> Is there any way to tell nsupdate to delete specific record with ANY TTL value? For example I have following record:
> record.domain.org 3500 A 18.104.22.168
> I want to delete exactly that record (A with IP 22.214.171.124), except I don't know what the TTL is, normally, if I knew the TTL, I would do
> update delete record.domain.org 3500 A 126.96.36.199
> But I would like to do something like
> update delete record.domain.org * A 188.8.131.52
> Is there any way to accomplish this, or do I always have to retrieve the record somehow, figure out the TTL and then continue?
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> bind-users mailing list
> bind-users at lists.isc.org
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users