Hi,
We have 2 DCs with isc-dhcp and bind9 on debian buster using sernet
packages. Those serve about 40 known (MAC:IP mapped by dhcp) clients and
and offer the net 10.0.254.0/24 for unknown guests ... the internal LAN
is 10.0.0.0/16.
We use the dhcp-dyndns.sh to write the dns records into the AD.
Though writing works better than expected only a very few records will
be deleted :(
---cut---
root at addcr:~# grep 'dhcpd.*= add' /var/log/daemon.log | wc -l
2236
root at addcr:~# grep 'dhcpd.*= delete' /var/log/daemon.log | wc -l
67
---cut---
ending in a mess.
I exported the DNS records using this MS tool to a textfile
DNSrecords.txt and copied it to a linux machine for further investigation:
---cut--
root at fileserver /home/maikholtkamp.AD # cat DNSRecords.txt | wc -l
9582
root at fileserver /home/maikholtkamp.AD # i=1; while [ $i -le 9 ]; do
\echo "PC-00$i: ";grep PC-00$i DNSRecords.txt | wc -l;i=$((i+1)); done
PC-001:
0
PC-002:
0
PC-003:
0
PC-004:
0
PC-005:
43
PC-006:
0
PC-007:
37
PC-008:
28
PC-009:
0
---cut---
But I can't see what's the real difference between my PC-001 and the
host PC-005 of my colleague in the dhcpd.conf:
---cut---
### AP qmb (Maik)
host pc-001n_eth {
option host-name "pc-001";
hardware ethernet 00:01:2E:66:BE:A7;
fixed-address 10.0.41.10;
}
....
### AP eb/vw (Martin)
host pc-005 {
option host-name "pc-005";
hardware ethernet 00:01:2e:66:fd:3b;
fixed-address 10.0.41.2;
}
---cut---
Any idea why pc-005 messes the DNS while my own client isn't there at all?
Moreover almost all guests are messing the DNS no matter if Win10, iOS
or android. My present favorite is an ubiquity AC-Pro:
---cut---
root at fileserver /home/maikholtkamp.AD # grep ubi-kueche DNSRecords.txt |
wc -l
2794
---cut---
where the single A records look like:
---cut---
...
CNF:010f6542-787c-4bc5-b748-44fb61c07c0d Host (A)
10.0.0.101 Static
ubi-kueche
CNF:016b879e-b277-4660-8b6d-cc5aca91d3a8 Host (A)
10.0.0.101 Static
...
---cut---
I can delete those mess manually from time to time, but I am afraid
that's not the way it used to work :(.
Any ideas? - TIA.
--
Mit freundlichen Gruessen/Best regrads Maik Holtkamp
Kirchstr. 76 D-32278 Kirchlengern/Germany
Tel: +49 5223 879202 Mob.: +49 172 203 5491
e-mail: s-y-l at gmx.net
Datenschutz Bedenken/Privacy Concerns: PGP-ID: 0xB8DC036F