[Samba] Changing from Interal DNS to Bind9

Rowland Penny rowlandpenny at googlemail.com
Fri May 29 11:24:24 MDT 2015


On 25/05/15 12:46, JokerG ermany wrote:
> Hi,
> I am playing arround with a Samba4 at the moment.
> I had a running AD with Samba4 and the Internal DNS.
>
> I tried to change the DNS to Bind9.
>
> When i start bind9, i get the following error in the /var/log/syslog
>
> May 25 12:42:54 masnyjg named[1383]: starting BIND
> 9.9.5-3ubuntu0.2-Ubuntu -u bind
> May 25 12:42:54 masnyjg named[1383]: built with '--prefix=/usr'
> '--mandir=/usr/share/man' '--infodir=/usr/share/info'
> '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads'
> '--enable-largefile' '--with-libtool' '--enable-shared'
> '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr'
> '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6'
> '--enable-rrl' '--enable-filter-aaaa' 'CFLAGS=-fno-strict-aliasing
> -DDIG_SIGCHASE -O2'
> May 25 12:42:54 masnyjg named[1383]:
> ----------------------------------------------------
> May 25 12:42:54 masnyjg named[1383]: BIND 9 is maintained by Internet
> Systems Consortium,
> May 25 12:42:54 masnyjg named[1383]: Inc. (ISC), a non-profit
> 501(c)(3) public-benefit
> May 25 12:42:54 masnyjg named[1383]: corporation.  Support and
> training for BIND 9 are
> May 25 12:42:54 masnyjg named[1383]: available at https://www.isc.org/support
> May 25 12:42:54 masnyjg named[1383]:
> ----------------------------------------------------
> May 25 12:42:54 masnyjg named[1383]: adjusted limit on open files from
> 4096 to 1048576
> May 25 12:42:54 masnyjg named[1383]: found 1 CPU, using 1 worker thread
> May 25 12:42:54 masnyjg named[1383]: using 1 UDP listener per interface
> May 25 12:42:54 masnyjg named[1383]: using up to 4096 sockets
> May 25 12:42:54 masnyjg named[1383]: loading configuration from
> '/etc/bind/named.conf'
> May 25 12:42:54 masnyjg named[1383]: reading built-in trusted keys
> from file '/etc/bind/bind.keys'
> May 25 12:42:54 masnyjg named[1383]: using default UDP/IPv4 port
> range: [1024, 65535]
> May 25 12:42:54 masnyjg named[1383]: using default UDP/IPv6 port
> range: [1024, 65535]
> May 25 12:42:54 masnyjg named[1383]: listening on IPv6 interfaces, port 53
> May 25 12:42:54 masnyjg named[1383]: listening on IPv4 interface lo,
> 127.0.0.1#53
> May 25 12:42:54 masnyjg named[1383]: listening on IPv4 interface eth0,
> 192.168.2.2#53
> May 25 12:42:54 masnyjg named[1383]: generating session key for dynamic DNS
> May 25 12:42:54 masnyjg named[1383]: sizing zone task pool based on 7 zones
> May 25 12:42:54 masnyjg named[1383]: Loading 'AD DNS Zone' using driver dlopen
> May 25 12:42:54 masnyjg named[1383]: samba_dlz: started for DN DC=geheim,DC=lan
> May 25 12:42:54 masnyjg named[1383]: samba_dlz: starting configure
> May 25 12:42:54 masnyjg named[1383]: samba_dlz: Failed to configure
> zone 'geheim.lan'
> May 25 12:42:54 masnyjg named[1383]: loading configuration: already exists
> May 25 12:42:54 masnyjg named[1383]: exiting (due to fatal error)
>
>
> Why masnyjg? the Servers Name is nasbyjg.
> And why does it not work?
>
> Thanks

No idea why it is using the wrong hostname, are you sure that something 
isn't misconfigured, I take it the DC has a fixed IP. As for why it is 
not working, I hope that you haven't configure the zone in the named 
config, you shouldn't. Can you post your named conf files (all of them).

Rowland


More information about the samba mailing list