Changing the DNS Back End of a Samba AD DC

From SambaWiki
Revision as of 16:23, 26 August 2015 by Mmuehlfeld (talk | contribs) (Fix link)

Introduction

During the provisioning step of a new Samba Active Directory Domain Controller, you may have chose the internal DNS or BIND_DLZ as the DNS backend. Sometimes it is necessary to revise this decision, this may be because of problems, limitations or other reasons.

This guide provides you with the required information to change the DNS backend on a Domain Controller.

Server information used in this HowTo

Installation Directory:    /usr/local/samba/



Changing from Samba Internal DNS to BIND_DLZ

  • Shutdown Samba
  • Migrate to BIND9_DLZ:
/usr/local/samba/sbin/samba_upgradedns --dns-backend=BIND9_DLZ
  • Remove the 'dns' option from the 'server services = ' parameter in your smb.conf, or change it to '-dns':
server services = ........ -dns
  • Start BIND
  • Start Samba



Changing from BIND_DLZ to Samba Internal DNS

  • Shutdown BIND
  • Shutdown Samba
  • Migrate to Samba Internal DNS:
/usr/local/samba/sbin/samba_upgradedns --dns-backend=SAMBA_INTERNAL
  • Add 'dns' option to the 'server services = ' parameter in your smb.conf:
server services = ........ dns
  • Start Samba