[Samba] Switching from Internal DNS to Bind9_DLZ

Rowland Penny rpenny at samba.org
Tue Jan 2 20:37:23 UTC 2018


On Tue, 2 Jan 2018 15:23:18 -0500
lingpanda101 <lingpanda101 at gmail.com> wrote:


> Actually it looks as if Bind isn't running. Though I could've sworn
> it did at one point.
> 
> service bind9 restart
>   * Stopping domain name service... bind9
>                rndc: connect failed: 127.0.0.1#953: connection refused
> [ OK ]
>   * Starting domain name service... bind9 [fail]
> 
> Log shows;
> 
> Jan  2 15:20:51 ddc2 named[2793]: 
> ----------------------------------------------------
> Jan  2 15:20:51 ddc2 named[2793]: BIND 9 is maintained by Internet 
> Systems Consortium,
> Jan  2 15:20:51 ddc2 named[2793]: Inc. (ISC), a non-profit 501(c)(3) 
> public-benefit
> Jan  2 15:20:51 ddc2 named[2793]: corporation.  Support and training
> for BIND 9 are
> Jan  2 15:20:51 ddc2 named[2793]: available at
> https://www.isc.org/support Jan  2 15:20:51 ddc2 named[2793]: 
> ----------------------------------------------------
> Jan  2 15:20:51 ddc2 named[2793]: adjusted limit on open files from
> 4096 to 1048576
> Jan  2 15:20:51 ddc2 named[2793]: found 2 CPUs, using 2 worker threads
> Jan  2 15:20:51 ddc2 named[2793]: using 2 UDP listeners per interface
> Jan  2 15:20:51 ddc2 named[2793]: using up to 4096 sockets
> Jan  2 15:20:51 ddc2 named[2793]: loading configuration from 
> '/etc/bind/named.conf'
> Jan  2 15:20:51 ddc2 named[2793]: /etc/bind/named.conf:15: 'options' 
> redefined near 'options'
> Jan  2 15:20:51 ddc2 named[2793]: loading configuration: already
> exists Jan  2 15:20:51 ddc2 named[2793]: exiting (due to fatal error)
> 
> It seems to stem from the issue I had before
> "/etc/bind/named.conf:15: 'options' redefined near 'options'"
> 

I reread your earlier post and noticed something I missed earlier, do
you normally use red-hat ?
I ask this because you have this line in /etc/bind/named.conf:

include "/etc/bind/named.conf.options";

Followed by:
# Global Configuration Options
options {
.........
......



If this is all in the one file (ala red-hat), then this is your
problem, debian splits up Bind9 into separate conf files and you will
have two 'options'

Rowland



More information about the samba mailing list