[Samba] Migrating from Internal DNS to bind9_dlz

Bob Miller bob at computerisms.ca
Thu Feb 14 15:36:07 MST 2013


try adding this to your smb.conf:

server services = -dns



-- 
Computerisms
Bob Miller      
867-334-7117 / 867-633-3760
http://computerisms.ca


On Thu, 2013-02-14 at 17:07 -0500, Thomas Simmons wrote:
> Hello,
> 
> I'm not sure what I'm doing and still haven't been able to get this
> working. I've not been able to find any documentation. Can anyone offer
> some insight?
> 
> So far I've:
> 
> 1) Installed Bind 9.8.2 (from the CentOS repo)
> 
> 2) Run 'samba_upgradedns --dns-backend=BIND9_DLZ'
> [root at DC1 var]# samba_upgradedns --dns-backend=BIND9_DLZ
> Reading domain information
> Looking up IPv4 addresses
> Looking up IPv6 addresses
> DNS accounts already exist
> No zone file /usr/local/samba/private/dns/internal.ama-inc.com.zone
> DNS records will be automatically created
> DNS partitions already exist
> dns-amadc1 account already exists
> See /usr/local/samba/private/named.conf for an example configuration
> include file for BIND
> and /usr/local/samba/private/named.txt for further documentation required
> for secure DNS updates
> Finished upgrading DNS
> 
> 3) Add "include "/usr/local/samba/private/named.conf";" to the end of
> /etc/named.conf (directly after other include statements)
> 
> 4) Add "tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";" under
> (inside) options{
> 
> 5) run "chgrp named /usr/local/samba/private/dns.keytab" and "chmod g+r
> /usr/local/samba/private/dns.keytab"
> 
> Start Bind
> Start Samba4
> 
> I see this in log.samba
> 
> [2013/02/14 16:15:39,  0]
> ../source4/smbd/service_stream.c:342(stream_setup_socket)
>   Failed to listen on 0.0.0.0:53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
> [2013/02/14 16:15:39,  0]
> ../source4/dns_server/dns_server.c:616(dns_add_socket)
>   Failed to bind to 0.0.0.0:53 TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
> 
> 
> 
> 
> On Tue, Feb 5, 2013 at 3:10 PM, <felix at epepm.cupet.cu> wrote:
> 
> > > Hello All,
> > >
> > > I would like to migrate our production S4 instance from internal DNS to
> > > bind9_dlz. Has anyone else done this? Is it even possible?
> > >
> >
> > I did it using samba_upgradedns. Check this in your server:
> >
> > /usr/local/samba/sbin/samba_upgradedns --help
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >



More information about the samba mailing list