Article 4VZPT Purging old host names from reverse-zone file

Purging old host names from reverse-zone file

by
mfoley
from LinuxQuestions.org on (#4VZPT)
I'm running Slackware64 14.2, kernel 4.4.182, BIND 9.11.9.

While monitoring iftop, I noticed some old host names popping up. These are for computers that have been since has their hostnames changed, yet the new host names don't show.

I found the old host names in my reverse zone file:
Code:52 PTR BRIANVM.hprs.local.
53 PTR DESKTOP-UMPPGUP.hprs.local.
56 PTR DESKTOP-NSGIEI3.hprs.local.These IPs now have new hostnames:
Code:192.168.0.52 MIKE.hprs.local
192.168.0.53 SUSAN.hprs.local
192.168.0.56 HOLLY.hprs.localThese host names ARE NOT in the reverse zone file, but they are in the /etc/dhcpd.conf file. E.g.:
Code:host HOLLY {
hardware ethernet 12:72:42:72:A2:E2;
fixed-address 192.168.0.56;
}and I get the right IP when looking up:
Code:> host HOLLY
holly.hprs.local has address 192.168.0.56

# but not when reverse lookup:

> host 192.168.0.56
56.0.168.192.in-addr.arpa domain name pointer DESKTOP-NSGIEI3.hprs.local.The old hostnames that begin with "DESKTOP-" are probably what happened when I upgraded these computers to Windows 10 (scratch install, not actual "upgrade"). They got the randomly assigned hostname Windows gives when it first boots. I then changed the computers to the correct hostname (e.g. HOLLY) when finishing the config. Interestingly, the "correct" hostname is the same name the computer had when running Windows 7, yet that old name is no longer in the reverse zone file.

So, why is the reverse-zone file not getting updated with the new/correct host names?

What can I do to fix this?latest?d=yIl2AUoC8zA latest?i=03JWzzvyPNw:0nbs4ctAZpI:F7zBnMy latest?i=03JWzzvyPNw:0nbs4ctAZpI:V_sGLiP latest?d=qj6IDK7rITs latest?i=03JWzzvyPNw:0nbs4ctAZpI:gIN9vFw03JWzzvyPNw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments