SUSE Support

Here When You Need Us

How to stop samba from updating DNS with interface information

This document (7017489) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 12

Situation

System has 2 interfaces, eth0 and eth1.  It is desired that eth0 be used for samba functions, but not eth1.  It is also desired that DNS not be dynamically updated with information about eth1.   The /etc/samba/smb.conf has been set with:
 
[global]
interfaces = eth0
 
yet DNS is still being dynamically updated with information about the IP address of eth1.

Resolution

In /etc/samba/smb.conf, in addition to the interfaces parameter limiting to just one of the interfaces, also set "allow dns updates = disabled".
 
It might also be desired to manually insure that eth0 (the desired interface) is represented in DNS.
 
Alternative, not tested:
It may also be helpful to set:
 
bind interfaces only = yes
 
This might also impact whether "allow dns updates = disabled" is needed in this situation.  But this has not been verified.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7017489
  • Creation Date: 11-Apr-2016
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.