I've moved my new DC from one location to another test location within the office where it will be deployed. The new test location connects to subnet 192.168.0.1 rather than 192.168.0 as I used when doing the initial setup. I've been going through the wiki verifying zones, rDNS, etc. On the A record test I get: # host -t A dc1.hprs.locl dc1.hprs.locl has address 192.168.0.2 dc1.hprs.locl has address 24.142.169.13 dc1.hprs.locl has address 192.168.0.126 dc1.hprs.locl has address 192.168.1.60 The first 3 of these are wrong/obsolete. The /etc/hosts file has the last entry (1.60) which is correct. My DNS backend is Samba Internal. How do I remove these other A records? Thanks --Mark
Rowland Penny
2023-Dec-19 21:00 UTC
[Samba] Joining Windows 10 Domain Member to Samba AD/DC
On Tue, 19 Dec 2023 15:46:24 -0500 Mark Foley via samba <samba at lists.samba.org> wrote:> I've moved my new DC from one location to another test location > within the office where it will be deployed. The new test location > connects to subnet 192.168.0.1 rather than 192.168.0 as I used when > doing the initial setup. > > I've been going through the wiki verifying zones, rDNS, etc. On the A > record test I get: > > # host -t A dc1.hprs.locl > dc1.hprs.locl has address 192.168.0.2 > dc1.hprs.locl has address 24.142.169.13 > dc1.hprs.locl has address 192.168.0.126 > dc1.hprs.locl has address 192.168.1.60 > > The first 3 of these are wrong/obsolete. The /etc/hosts file has the > last entry (1.60) which is correct. My DNS backend is Samba > Internal. > > How do I remove these other A records? > > Thanks --Mark >samba-tool dns delete --help Rowland