Paul Littlefield
2018-Mar-05  10:25 UTC
[Samba] Delete second IP address from aipServerAddrs and aipListenAddrs DC
For some reason, the provision picked up 2 network IP addresses in my VM.
Snipped output below...
root at dc1.example.com ~ $ (screen) samba-tool dns serverinfo dc1
   dwVersion                   : 0xece0205
   fBootMethod                 : DNS_BOOT_METHOD_DIRECTORY
   fAdminConfigured            : FALSE
   fAllowUpdate                : TRUE
   fDsAvailable                : TRUE
   pszServerName               : DC1.example.com
   pszDsContainer              :
CN=MicrosoftDNS,DC=DomainDnsZones,DC=example,DC=com
   aipServerAddrs              : ['192.168.122.8',
'192.168.122.208']
   aipListenAddrs              : ['192.168.122.8',
'192.168.122.208']
root at dc1.example.com ~ $ (screen) samba-tool dns query dc1 example.com @ ALL
   Name=, Records=4, Children=0
     SOA: serial=149, refresh=900, retry=600, expire=86400, minttl=3600,
ns=dc1.example.com., email=hostmaster.example.com. (flags=600000f0, serial=149,
ttl=3600)
     NS: dc1.example.com. (flags=600000f0, serial=1, ttl=900)
     A: 192.168.122.208 (flags=600000f0, serial=1, ttl=900)
     A: 192.168.122.8 (flags=600000f0, serial=4, ttl=900)
Is there a way to delete the second IP address from the DC LDAP database?
Thanks.
Paully