Active Directory DNS registration with multiple IPs

Exhorder

Explorer
Joined
Jul 12, 2019
Messages
66
Hi,

I've set up a TrueNAS box with two network interfaces:
  • IP 10.0.1.10 for SMB access for clients
  • IP 10.0.2.10 for management via WebUI and ssh
After that I've joined the fileserver to an Active Directory. During the join the IPs are registered to the DC's nameserver:
Code:
dig mynas.mydomain.local
...
;; ANSWER SECTION:
mynas.mydomain.local.        3600    IN    A    10.0.1.10
mynas.mydomain.local.        3600    IN    A    10.0.2.10


The second IP (management) actually should not be registered as it should not be shown to clients. Can it be configured?

P.S.: Of course I can just delete the second IP from the DC's nameserver, but I wonder if it will reappear?
 

Exhorder

Explorer
Joined
Jul 12, 2019
Messages
66
Seems I should have disabled SMB on the management interface before joining the domain (services -> smb -> advanced options -> bind ip addresses).
After leaving and re-joining the AD the second IP did not reappear in DNS.

Other workarounds may be one of the following smb auxiliary parameters:
  • allow dns updates = disabled
  • dns update command = /usr/bin/true
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Seems I should have disabled SMB on the management interface before joining the domain (services -> smb -> advanced options -> bind ip addresses).
After leaving and re-joining the AD the second IP did not reappear in DNS.

Other workarounds may be one of the following smb auxiliary parameters:
  • allow dns updates = disabled
  • dns update command = /usr/bin/true
There's a checkbox in the AD form to not do DNS updates automatically. No need for any aux params.
 
Top