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

m (Changing from BIND_DLZ to Samba Internal DNS)
m (Fix link)
Line 15: Line 15:
 
= Changing from Samba Internal DNS to BIND_DLZ =
 
= Changing from Samba Internal DNS to BIND_DLZ =
  
* [[DNS_Backend_BIND|Setup BIND]]
+
* [[Configure_BIND_as_backend_for_Samba_AD|Setup BIND]]
  
 
* Shutdown Samba
 
* Shutdown Samba

Revision as of 17:52, 25 August 2015

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