Path: csiph.com!news.uzoreto.com!news.etla.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!usenet-its.stanford.edu!usenet.stanford.edu!not-for-mail From: Mark Andrews Newsgroups: comp.protocols.dns.bind Subject: Re: nsupdate: using "wildcard" TTL when removing specific record Date: Mon, 1 Jun 2020 19:27:26 +1000 Lines: 54 Approved: bind-users@lists.isc.org Message-ID: References: NNTP-Posting-Host: lists.isc.org Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1591003652 1574 149.20.1.60 (1 Jun 2020 09:27:32 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bind-users@lists.isc.org To: Petr Bena Return-Path: X-Original-To: bind-users@lists.isc.org Delivered-To: bind-users@lists.isc.org In-Reply-To: X-Mailer: Apple Mail (2.3445.9.5) X-BeenThere: bind-users@lists.isc.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: BIND Users Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.protocols.dns.bind:15803 TTL is ignored on delete if it present. It is set to 0 when sending. 2.5.4 - Delete An RR =46rom 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 wrote: >=20 > Hello, >=20 > Is there any way to tell nsupdate to delete specific record with ANY = TTL value? For example I have following record: >=20 > record.domain.org 3500 A 1.2.3.4 >=20 > I want to delete exactly that record (A with IP 1.2.3.4), except I = don't know what the TTL is, normally, if I knew the TTL, I would do >=20 > update delete record.domain.org 3500 A 1.2.3.4 >=20 > But I would like to do something like >=20 > update delete record.domain.org * A 1.2.3.4 >=20 > Is there any way to accomplish this, or do I always have to retrieve = the record somehow, figure out the TTL and then continue? >=20 > Thanks >=20 > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to = unsubscribe from this list >=20 > ISC funds the development of this software with paid support = subscriptions. Contact us at https://www.isc.org/contact/ for more = information. >=20 >=20 > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users --=20 Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org