Difference between revisions of "Changing the DNS Back End of a Samba AD DC"

m (Introduction)
m (Changing from BIND_DLZ to Samba Internal DNS)
Line 37: Line 37:
 
* Shutdown BIND
 
* Shutdown BIND
  
* Shutdown Samba
+
* Shutdown Samba
  
 
* Migrate to Samba Internal DNS:
 
* Migrate to Samba Internal DNS:

Revision as of 14:11, 28 November 2014

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