Multiple DNS records created in AD
Hi,
I have been successfully joining RHEL 7.2 and 7.3 servers to an Active Directory domain and creatong DNS records correctly. However, when a server has multiple NICs and IP Addresses there are multiple DNS records created all with the same name.
Has anyone come across this? Is there a way to avoid it?
Any suggestions would be appreciated.
Responses
For RHEL 5 and 6, there is this solution for exactly this problem:
https://access.redhat.com/solutions/519193
i.e. using the "interfaces" keyword in /etc/samba/smb.conf to identify the network interface(s) you wish AD and the SMB/CIFS ecosystem to be aware of.
The configuration seems similar in this regard in RHEL 7.3's version of Samba, so perhaps the solution will apply to RHEL 7.x too?
Thanks Matti, I'm working with Andy on this project, do you know if smb.conf is used when using realm to connect to AD?
I did not find any conclusive word on that and cannot test at the moment. However, it looks like realm/realmd mostly works its magic by configuring the underlying sssd/winbind components, and it does not have a way to specify SMB settings in detail, I'd expect that realm/realmd acts like a good boss and only specifies the things that are important to it, leaving any "implementation details" to the appropriate sub-systems.
Besides, how else would you configure SMB shares if you wanted to share some directories over SMB while using realm to provide the AD connection?
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
