Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Clean up dynamic names (Cuttler, Brian R (HEALTH)) 2. RE: Clean up dynamic names (Cuttler, Brian R (HEALTH)) 3. Re: Clean up dynamic names (Bob Harold) ---------------------------------------------------------------------- Message: 1 Date: Wed, 8 Feb 2017 16:59:09 +0000 From: "Cuttler, Brian R (HEALTH)" <brian.cutt...@health.ny.gov> To: Users of ISC DHCP <dhcp-users@lists.isc.org>, "bind-us...@lists.isc.org" <bind-us...@lists.isc.org> Subject: Clean up dynamic names Message-ID: <bn3pr09mb0594177635296e01b51641d3ba...@bn3pr09mb0594.namprd09.prod.outlook.com> Content-Type: text/plain; charset="us-ascii" Hello Bind and DHCP users, Sorry for the post to both lists, but it is a dynamic DNS question and I'm not sure where the answer will come from. We replaced the network card in a printer, which had been working, we had a DHCP lease, we had created from DHCP a dynamic DNS forward and reverse record for the printer. The new network card was configured to provide the same HOSTNAME information as the old card, we do this because the printers now carry network names that reflect their inventory tags. I need the cleanest/best way to remove the old DNS records so that the DHCP server will be able to register the IP information in DNS. Needless to say the TXT fingerprint information for the two network cards is different, so automatic cleanup, which would say, allow us to rename the printer if needing the same network card, will not work. I suspect that # nsupdate removing the A, TXT and PTR records is the way to go, but hope for a quicker, less error prone method. Thanks in advance, Brian ------------------------------ Message: 2 Date: Wed, 8 Feb 2017 18:09:40 +0000 From: "Cuttler, Brian R (HEALTH)" <brian.cutt...@health.ny.gov> To: "Darcy Kevin (FCA)" <kevin.da...@fcagroup.com>, Users of ISC DHCP <dhcp-users@lists.isc.org>, "bind-us...@lists.isc.org" <bind-us...@lists.isc.org> Subject: RE: Clean up dynamic names Message-ID: <bn3pr09mb0594b0fdd7543d078fed7e95ba...@bn3pr09mb0594.namprd09.prod.outlook.com> Content-Type: text/plain; charset="us-ascii" Kevin, I understand. Let me refocus the question. DHCP: I know DHCP will remove the info when the old lease expires, will it remove this information for me in the case of the device falling off line, and how can I accelerate that process so that I can reassign the printer tag to a new IP address. BIND: Knowing that I have a "A", "TXT" and "PTR" record, is # nsupdate the correct mechanism, and how do I specify the commands to remove the "TXT" record as it is missing column 1 in the tables. I have previously manually both created and removed forward and reverse records, but text records are different, I just don't know how different. The forward table looks like this hr16038 A 10.57.48.209 TXT "00f8e5793e94da14990f27763448c54a00" Thank you, Brian > -----Original Message----- > From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of > Darcy Kevin (FCA) > Sent: Wednesday, February 08, 2017 12:58 PM > To: Users of ISC DHCP <dhcp-users@lists.isc.org>; bind-us...@lists.isc.org > Subject: RE: Clean up dynamic names > > ATTENTION: This email came from an external source. Do not open > attachments or click on links from unknown senders or unexpected emails. > > > Honestly, this is like asking for a closet that automatically throws out > the items you pitch into it, once the items are deemed obsolete or junk. > > The DNS database is a repository of information, like a closet, but it has > no inherent way of knowing the value or currency of the information that > is put into it. Therefore any "auto-cleaning" mechanism is going to be > unreliable, at best. > > Now, if you want, you can add "metadata" alongside your regular data, or > in a parallel database, e.g. a timestamp or something like that. You could > then use that "metadata" to make decisions on what to delete. Various > layers on top of DNS itself can perform "aging" and "scavenging" in this > way (Microsoft's solution does this). But that's not perfect either -- > we've had major infrastructure outages due to erroneous scavenging of > Microsoft-hosted DNS data. > > The bottom line is that the processes which read and write data into/out > of the DNS database are responsible for keeping track of it, evaluating > it, and getting rid of data that is no longer needed or wanted. This is > not something the database itself can do. > > > - Kevin > > > > -----Original Message----- > From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of > Cuttler, Brian R (HEALTH) > Sent: Wednesday, February 08, 2017 11:59 AM > To: Users of ISC DHCP; bind-us...@lists.isc.org > Subject: Clean up dynamic names > > Hello Bind and DHCP users, > > Sorry for the post to both lists, but it is a dynamic DNS question and I'm > not sure where the answer will come from. > > We replaced the network card in a printer, which had been working, we had > a DHCP lease, we had created from DHCP a dynamic DNS forward and reverse > record for the printer. > > The new network card was configured to provide the same HOSTNAME > information as the old card, we do this because the printers now carry > network names that reflect their inventory tags. > > I need the cleanest/best way to remove the old DNS records so that the > DHCP server will be able to register the IP information in DNS. > > Needless to say the TXT fingerprint information for the two network cards > is different, so automatic cleanup, which would say, allow us to rename > the printer if needing the same network card, will not work. > > I suspect that # nsupdate removing the A, TXT and PTR records is the way > to go, but hope for a quicker, less error prone method. > > Thanks in advance, > Brian > > > > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-us...@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-us...@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users ------------------------------ Message: 3 Date: Wed, 8 Feb 2017 15:04:54 -0500 From: Bob Harold <rharo...@umich.edu> To: "Cuttler, Brian R (HEALTH)" <brian.cutt...@health.ny.gov> Cc: "Darcy Kevin (FCA)" <kevin.da...@fcagroup.com>, Users of ISC DHCP <dhcp-users@lists.isc.org>, "bind-us...@lists.isc.org" <bind-us...@lists.isc.org> Subject: Re: Clean up dynamic names Message-ID: <CA+nkc8D9hdSHm-HXX6fYr3J=ec6uh5ujqkax1y3g70tw7ua...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" On Wed, Feb 8, 2017 at 1:09 PM, Cuttler, Brian R (HEALTH) < brian.cutt...@health.ny.gov> wrote: > Kevin, > > I understand. Let me refocus the question. > > DHCP: > I know DHCP will remove the info when the old lease expires, will it > remove this information for me in the case of the device falling off line, > and how can I accelerate that process so that I can reassign the printer > tag to a new IP address. > > BIND: > Knowing that I have a "A", "TXT" and "PTR" record, is # nsupdate the > correct mechanism, and how do I specify the commands to remove the "TXT" > record as it is missing column 1 in the tables. I have previously manually > both created and removed forward and reverse records, but text records are > different, I just don't know how different. > > The forward table looks like this > > hr16038 A 10.57.48.209 > TXT "00f8e5793e94da14990f27763448c54a00" > > If the first field is shown as blank, it means "same as previous", so "hr16038" in this case. If the ttl is not shown, it is "same as last $TTL record" (or taken from 'minimum' field in SOA if no $TTL) If no class is shown, it is probably "IN", I forget now where it defaults that. If the first field is not fully qualified, the domain is taken from the last $ORIGIN, or SOA?, or named.conf. So the records if listed in full would be something like: hr16038.somedomain.tld. 9999 IN A 10.57.48.209 hr16038.somedomain.tld. 9999 IN TXT " 00f8e5793e94da14990f27763448c54a00" nsupdate is probably the best tool for removing the old records. -- Bob Harold > Thank you, > Brian > > > -----Original Message----- > > From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of > > Darcy Kevin (FCA) > > Sent: Wednesday, February 08, 2017 12:58 PM > > To: Users of ISC DHCP <dhcp-users@lists.isc.org>; > bind-us...@lists.isc.org > > Subject: RE: Clean up dynamic names > > > > ATTENTION: This email came from an external source. Do not open > > attachments or click on links from unknown senders or unexpected emails. > > > > > > Honestly, this is like asking for a closet that automatically throws out > > the items you pitch into it, once the items are deemed obsolete or junk. > > > > The DNS database is a repository of information, like a closet, but it > has > > no inherent way of knowing the value or currency of the information that > > is put into it. Therefore any "auto-cleaning" mechanism is going to be > > unreliable, at best. > > > > Now, if you want, you can add "metadata" alongside your regular data, or > > in a parallel database, e.g. a timestamp or something like that. You > could > > then use that "metadata" to make decisions on what to delete. Various > > layers on top of DNS itself can perform "aging" and "scavenging" in this > > way (Microsoft's solution does this). But that's not perfect either -- > > we've had major infrastructure outages due to erroneous scavenging of > > Microsoft-hosted DNS data. > > > > The bottom line is that the processes which read and write data into/out > > of the DNS database are responsible for keeping track of it, evaluating > > it, and getting rid of data that is no longer needed or wanted. This is > > not something the database itself can do. > > > > > > - Kevin > > > > > > > > -----Original Message----- > > From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of > > Cuttler, Brian R (HEALTH) > > Sent: Wednesday, February 08, 2017 11:59 AM > > To: Users of ISC DHCP; bind-us...@lists.isc.org > > Subject: Clean up dynamic names > > > > Hello Bind and DHCP users, > > > > Sorry for the post to both lists, but it is a dynamic DNS question and > I'm > > not sure where the answer will come from. > > > > We replaced the network card in a printer, which had been working, we had > > a DHCP lease, we had created from DHCP a dynamic DNS forward and reverse > > record for the printer. > > > > The new network card was configured to provide the same HOSTNAME > > information as the old card, we do this because the printers now carry > > network names that reflect their inventory tags. > > > > I need the cleanest/best way to remove the old DNS records so that the > > DHCP server will be able to register the IP information in DNS. > > > > Needless to say the TXT fingerprint information for the two network cards > > is different, so automatic cleanup, which would say, allow us to rename > > the printer if needing the same network card, will not work. > > > > I suspect that # nsupdate removing the A, TXT and PTR records is the way > > to go, but hope for a quicker, less error prone method. > > > > Thanks in advance, > > Brian > > > > > > > > _______________________________________________ > > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > > unsubscribe from this list > > > > bind-users mailing list > > bind-us...@lists.isc.org > > https://lists.isc.org/mailman/listinfo/bind-users > > _______________________________________________ > > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > > unsubscribe from this list > > > > bind-users mailing list > > bind-us...@lists.isc.org > > https://lists.isc.org/mailman/listinfo/bind-users > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-us...@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20170208/b21fe8bf/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 100, Issue 3 ******************************************