Discussion:
[Samba] Samba4 with external bind - best practices?
Elias Pereira
2016-07-25 19:12:50 UTC
Permalink
Hello guys,

For those who already have an external DNS server on a separate machine,
how the best way to work with Samba4 ?

How to integrate this bind server with Samba configuration ways in relation
to dns (samba_internal/bind_dlz)
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
mathias dufresne
2016-07-26 08:31:00 UTC
Permalink
Hi Elias,

Separating DNS and AD services:
It should be possible to have AD DNS server hosted on a non-DC server.
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This library can
be replaced be one of those shipped with Bind, this library will need
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that should be
possible: Bind+DLZ seems to me to be meant for that kind of job.

One (or more) non-DC DNS server dealing with AD DNS servers:
That is more simple to achieve:
- just configure AD DNS service as you want (please note that few weeks ago
Samba's internal DNS server was still not able to work as multi-masters
which is needed to avoid SPOF in AD, so IMHO the only valid DNS backend is
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not AD DC)
like that one:
----------------------------------------------------------------------------------------------
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
----------------------------------------------------------------------------------------------
Restart your external non-DC Bind service and it should be able to resolve
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs zone as it
is a sub zone of "ad.domain.tld", your external Bind will also forward
requests regarding _msdcs to AD servers.

I did not played with that for a relatively long time and I'm just coming
back from vacations, so I'm not sure if you would need to allow forwarding
and recursion on that non-DC DNS server. It could be necessary... Anyway as
this DNS should be meant to resolve Internet addresses in addition of your
local domain(s) recursion and forwarding should be accepted already...

Hoping this clarify DNS management a little bit and that helps you,

Mathias
Post by Elias Pereira
Hello guys,
For those who already have an external DNS server on a separate machine,
how the best way to work with Samba4 ?
How to integrate this bind server with Samba configuration ways in relation
to dns (samba_internal/bind_dlz)
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Elias Pereira
2016-07-26 18:42:05 UTC
Permalink
Thanks Mathias and Rowland for the answers.

Rowland,

You said: “Use the sub domain for your AD domain and forward anything
outside the sub domain to your main DNS servers.”

This forward I do on the settings of the bind in Samba4?

Something like:

acl goodclients {
192.168.1.0/24;
localhost;
localnets;
};

options {
directory "/var/cache/bind";

recursion yes;
allow-query { goodclients; };

forwarders {
192.168.1.15; # EXTERNAL DNS SERVER
};
forward only;

dnssec-validation auto;

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};


Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC server.
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This library can
be replaced be one of those shipped with Bind, this library will need
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that should be
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few weeks ago
Samba's internal DNS server was still not able to work as multi-masters
which is needed to avoid SPOF in AD, so IMHO the only valid DNS backend is
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not AD DC)
----------------------------------------------------------------------------------------------
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
----------------------------------------------------------------------------------------------
Restart your external non-DC Bind service and it should be able to resolve
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs zone as it
is a sub zone of "ad.domain.tld", your external Bind will also forward
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm just coming
back from vacations, so I'm not sure if you would need to allow forwarding
and recursion on that non-DC DNS server. It could be necessary... Anyway as
this DNS should be meant to resolve Internet addresses in addition of your
local domain(s) recursion and forwarding should be accepted already...
Hoping this clarify DNS management a little bit and that helps you,
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD
* Since the BIND DLZ module accesses the AD database directly, BIND
for AD zones must be on the same machine.
* Because the BIND DLZ module uses the information already stored in
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must run Bind9
on the DC and you do not need to create any zones (except the reverse zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
Elias Pereira
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
mathias dufresne
2016-07-27 12:34:10 UTC
Permalink
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC server.
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This library can
be replaced be one of those shipped with Bind, this library will need
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that should be
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few weeks ago
Samba's internal DNS server was still not able to work as multi-masters
which is needed to avoid SPOF in AD, so IMHO the only valid DNS backend is
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not AD DC)
----------------------------------------------------------------------------------------------
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
----------------------------------------------------------------------------------------------
Restart your external non-DC Bind service and it should be able to resolve
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs zone as it
is a sub zone of "ad.domain.tld", your external Bind will also forward
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm just coming
back from vacations, so I'm not sure if you would need to allow forwarding
and recursion on that non-DC DNS server. It could be necessary... Anyway as
this DNS should be meant to resolve Internet addresses in addition of your
local domain(s) recursion and forwarding should be accepted already...
Hoping this clarify DNS management a little bit and that helps you,
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD
* Since the BIND DLZ module accesses the AD database directly, BIND
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module provided by
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host if, as I
said yesterday, you accept to use standard module (so not Samba's Bind
module) and configure it correctly. Of course this is more complicated to
achieve, especially compared to the forward zone I described also yesterday.
* Because the BIND DLZ module uses the information already stored in
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must run Bind9
on the DC and you do not need to create any zones (except the reverse zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Elias Pereira
2016-07-27 15:32:34 UTC
Permalink
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-directory-with-bind9-on-separate-machines-ubuntu-14-04/
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC server.
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This library can
be replaced be one of those shipped with Bind, this library will need
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that should
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few weeks ago
Samba's internal DNS server was still not able to work as multi-masters
which is needed to avoid SPOF in AD, so IMHO the only valid DNS backend
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not AD
DC)
----------------------------------------------------------------------------------------------
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
----------------------------------------------------------------------------------------------
Post by mathias dufresne
Restart your external non-DC Bind service and it should be able to
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs zone as it
is a sub zone of "ad.domain.tld", your external Bind will also forward
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm just
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be necessary... Anyway as
this DNS should be meant to resolve Internet addresses in addition of
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted already...
Hoping this clarify DNS management a little bit and that helps you,
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD
* Since the BIND DLZ module accesses the AD database directly, BIND
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module provided by
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host if, as I
said yesterday, you accept to use standard module (so not Samba's Bind
module) and configure it correctly. Of course this is more complicated to
achieve, especially compared to the forward zone I described also yesterday.
* Because the BIND DLZ module uses the information already stored in
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must run Bind9
on the DC and you do not need to create any zones (except the reverse
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Jeff Sadowski
2016-07-27 19:02:54 UTC
Permalink
Looking over this thread it got me thinking of multiple domains and then
thinking maybe it would be better to setup the external DNS as a slave to
the AD domain?

Then you could have it resolve from the external DNS for multiple AD
domains.
Post by Elias Pereira
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-directory-with-bind9-on-separate-machines-ubuntu-14-04/
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC server.
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This
library
Post by mathias dufresne
Post by mathias dufresne
can
be replaced be one of those shipped with Bind, this library will need
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that should
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few
weeks
Post by mathias dufresne
Post by mathias dufresne
ago
Samba's internal DNS server was still not able to work as
multi-masters
Post by mathias dufresne
Post by mathias dufresne
which is needed to avoid SPOF in AD, so IMHO the only valid DNS
backend
Post by mathias dufresne
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not AD
DC)
----------------------------------------------------------------------------------------------
Post by mathias dufresne
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
----------------------------------------------------------------------------------------------
Post by mathias dufresne
Post by mathias dufresne
Restart your external non-DC Bind service and it should be able to
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs zone
as
Post by mathias dufresne
Post by mathias dufresne
it
is a sub zone of "ad.domain.tld", your external Bind will also forward
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm just
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be necessary...
Anyway
Post by mathias dufresne
Post by mathias dufresne
as
this DNS should be meant to resolve Internet addresses in addition of
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted already...
Hoping this clarify DNS management a little bit and that helps you,
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD
Post by mathias dufresne
* Since the BIND DLZ module accesses the AD database directly, BIND
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module provided by
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host if, as I
said yesterday, you accept to use standard module (so not Samba's Bind
module) and configure it correctly. Of course this is more complicated to
achieve, especially compared to the forward zone I described also yesterday.
* Because the BIND DLZ module uses the information already stored in
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must run
Bind9
Post by mathias dufresne
on the DC and you do not need to create any zones (except the reverse
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
mathias dufresne
2016-07-28 08:57:00 UTC
Permalink
Here we (the DNS team of our company, not me ;) chose the zone type forward
as it is the way DNS works (one resolver on client system, this resolver
will forward requests to others DNS server to get answer) and also because
that seemed to them the strongest against failure: there is no data stored
on the client resolver, there can't be corrupted data on this DNS server
when with masters / slaves slaves have to wait for synchronization, they
host data, these data can be corrupted... in addition of the very same
problems on any masters...
And we can declare as much zone with type forward as we want so it works
also with multiple domains, AD or not.
Post by Jeff Sadowski
Looking over this thread it got me thinking of multiple domains and then
thinking maybe it would be better to setup the external DNS as a slave to
the AD domain?
Then you could have it resolve from the external DNS for multiple AD
domains.
Post by Elias Pereira
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-directory-with-bind9-on-separate-machines-ubuntu-14-04/
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC
server.
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This
library
Post by mathias dufresne
Post by mathias dufresne
can
be replaced be one of those shipped with Bind, this library will
need
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that
should
Post by Elias Pereira
Post by mathias dufresne
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few
weeks
Post by mathias dufresne
Post by mathias dufresne
ago
Samba's internal DNS server was still not able to work as
multi-masters
Post by mathias dufresne
Post by mathias dufresne
which is needed to avoid SPOF in AD, so IMHO the only valid DNS
backend
Post by mathias dufresne
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not
AD
Post by Elias Pereira
Post by mathias dufresne
DC)
----------------------------------------------------------------------------------------------
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
----------------------------------------------------------------------------------------------
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Restart your external non-DC Bind service and it should be able to
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs
zone
Post by Elias Pereira
as
Post by mathias dufresne
Post by mathias dufresne
it
is a sub zone of "ad.domain.tld", your external Bind will also
forward
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm just
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be necessary...
Anyway
Post by mathias dufresne
Post by mathias dufresne
as
this DNS should be meant to resolve Internet addresses in addition
of
Post by Elias Pereira
Post by mathias dufresne
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted
already...
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hoping this clarify DNS management a little bit and that helps you,
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD
Post by mathias dufresne
* Since the BIND DLZ module accesses the AD database directly, BIND
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module provided by
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host if, as
I
Post by Elias Pereira
Post by mathias dufresne
said yesterday, you accept to use standard module (so not Samba's Bind
module) and configure it correctly. Of course this is more complicated
to
Post by Elias Pereira
Post by mathias dufresne
achieve, especially compared to the forward zone I described also yesterday.
* Because the BIND DLZ module uses the information already stored in
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must run
Bind9
Post by mathias dufresne
on the DC and you do not need to create any zones (except the reverse
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Elias Pereira
2016-08-04 19:34:11 UTC
Permalink
Guys,

In the clients dns settings I configure the Samba4 or external DNS IP?
Post by mathias dufresne
Here we (the DNS team of our company, not me ;) chose the zone type forward
as it is the way DNS works (one resolver on client system, this resolver
will forward requests to others DNS server to get answer) and also because
that seemed to them the strongest against failure: there is no data stored
on the client resolver, there can't be corrupted data on this DNS server
when with masters / slaves slaves have to wait for synchronization, they
host data, these data can be corrupted... in addition of the very same
problems on any masters...
And we can declare as much zone with type forward as we want so it works
also with multiple domains, AD or not.
Post by Jeff Sadowski
Looking over this thread it got me thinking of multiple domains and then
thinking maybe it would be better to setup the external DNS as a slave to
the AD domain?
Then you could have it resolve from the external DNS for multiple AD
domains.
Post by Elias Pereira
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-
directory-with-bind9-on-separate-machines-ubuntu-14-04/
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC
server.
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This
library
Post by mathias dufresne
Post by mathias dufresne
can
be replaced be one of those shipped with Bind, this library will
need
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that
should
Post by Elias Pereira
Post by mathias dufresne
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few
weeks
Post by mathias dufresne
Post by mathias dufresne
ago
Samba's internal DNS server was still not able to work as
multi-masters
Post by mathias dufresne
Post by mathias dufresne
which is needed to avoid SPOF in AD, so IMHO the only valid DNS
backend
Post by mathias dufresne
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is not
AD
Post by Elias Pereira
Post by mathias dufresne
DC)
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Restart your external non-DC Bind service and it should be able to
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs
zone
Post by Elias Pereira
as
Post by mathias dufresne
Post by mathias dufresne
it
is a sub zone of "ad.domain.tld", your external Bind will also
forward
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm just
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be necessary...
Anyway
Post by mathias dufresne
Post by mathias dufresne
as
this DNS should be meant to resolve Internet addresses in addition
of
Post by Elias Pereira
Post by mathias dufresne
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted
already...
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hoping this clarify DNS management a little bit and that helps
you,
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_
for_Samba_AD
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
* Since the BIND DLZ module accesses the AD database directly,
BIND
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module provided
by
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host if,
as
Post by Jeff Sadowski
I
Post by Elias Pereira
Post by mathias dufresne
said yesterday, you accept to use standard module (so not Samba's
Bind
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
module) and configure it correctly. Of course this is more
complicated
Post by Jeff Sadowski
to
Post by Elias Pereira
Post by mathias dufresne
achieve, especially compared to the forward zone I described also yesterday.
* Because the BIND DLZ module uses the information already stored
in
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must run
Bind9
Post by mathias dufresne
on the DC and you do not need to create any zones (except the
reverse
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
Elias Pereira
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
mathias dufresne
2016-08-05 10:02:02 UTC
Permalink
You do what you want!

The point is the clients must resolve everything.

You have two options:
A - client resolver is non-DC DNS server: here the non-DC DNS server must
be configured to forward DNS requests about AD to AD DNS servers (to DCs)
B - client resolver is AD DNS server: here AD DNS server(s) used as
resolver(s) must be configured to forward any non-AD DNS request to non-DC
DNS server.

Hoping this is clear enough...

Cheers,

mathias
Post by Elias Pereira
Guys,
In the clients dns settings I configure the Samba4 or external DNS IP?
Post by mathias dufresne
Here we (the DNS team of our company, not me ;) chose the zone type forward
as it is the way DNS works (one resolver on client system, this resolver
will forward requests to others DNS server to get answer) and also because
that seemed to them the strongest against failure: there is no data stored
on the client resolver, there can't be corrupted data on this DNS server
when with masters / slaves slaves have to wait for synchronization, they
host data, these data can be corrupted... in addition of the very same
problems on any masters...
And we can declare as much zone with type forward as we want so it works
also with multiple domains, AD or not.
Post by Jeff Sadowski
Looking over this thread it got me thinking of multiple domains and then
thinking maybe it would be better to setup the external DNS as a slave
to
Post by Jeff Sadowski
the AD domain?
Then you could have it resolve from the external DNS for multiple AD
domains.
Post by Elias Pereira
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-directory-
with-bind9-on-separate-machines-ubuntu-14-04/
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC
server.
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This
library
Post by mathias dufresne
Post by mathias dufresne
can
be replaced be one of those shipped with Bind, this library will
need
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that
should
Post by Elias Pereira
Post by mathias dufresne
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that few
weeks
Post by mathias dufresne
Post by mathias dufresne
ago
Samba's internal DNS server was still not able to work as
multi-masters
Post by mathias dufresne
Post by mathias dufresne
which is needed to avoid SPOF in AD, so IMHO the only valid DNS
backend
Post by mathias dufresne
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is
not
Post by Jeff Sadowski
AD
Post by Elias Pereira
Post by mathias dufresne
DC)
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Restart your external non-DC Bind service and it should be able
to
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs
zone
Post by Elias Pereira
as
Post by mathias dufresne
Post by mathias dufresne
it
is a sub zone of "ad.domain.tld", your external Bind will also
forward
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm
just
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be necessary...
Anyway
Post by mathias dufresne
Post by mathias dufresne
as
this DNS should be meant to resolve Internet addresses in
addition
Post by Jeff Sadowski
of
Post by Elias Pereira
Post by mathias dufresne
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted
already...
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hoping this clarify DNS management a little bit and that helps
you,
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_f
or_Samba_AD
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
* Since the BIND DLZ module accesses the AD database directly,
BIND
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module provided
by
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host if,
as
Post by Jeff Sadowski
I
Post by Elias Pereira
Post by mathias dufresne
said yesterday, you accept to use standard module (so not Samba's
Bind
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
module) and configure it correctly. Of course this is more
complicated
Post by Jeff Sadowski
to
Post by Elias Pereira
Post by mathias dufresne
achieve, especially compared to the forward zone I described also yesterday.
* Because the BIND DLZ module uses the information already
stored in
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must
run
Post by Jeff Sadowski
Post by Elias Pereira
Bind9
Post by mathias dufresne
on the DC and you do not need to create any zones (except the
reverse
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
Elias Pereira
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Elias Pereira
2016-08-05 16:07:22 UTC
Permalink
mathias, I believe I get it. :D

The "A" option can be "resolved" with the inclusion of the zone that you
suggested me, right?

zone "ad.domain.tld" IN {
Post by mathias dufresne
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
And in the "B" option I set up in "DNS DC" each zone belonging to the "DNS
non-DC"?
Post by mathias dufresne
zone "domain.tld" {
type forward;
type forward;
forward only;
forwarders {
<ip of DNS non-DC>;
};
};
The reverse zones also will be this way?
Post by mathias dufresne
zone "0.168.192.in-addr.arpa" {
type forward;
type forward;
forward only;
forwarders {
<ip of DNS non-DC>;
};
};
Sorry for so many questions, but maybe this will help others who are having
the same doubts. Thanks again!
Post by mathias dufresne
You do what you want!
The point is the clients must resolve everything.
A - client resolver is non-DC DNS server: here the non-DC DNS server must
be configured to forward DNS requests about AD to AD DNS servers (to DCs)
B - client resolver is AD DNS server: here AD DNS server(s) used as
resolver(s) must be configured to forward any non-AD DNS request to non-DC
DNS server.
Hoping this is clear enough...
Cheers,
mathias
Post by Elias Pereira
Guys,
In the clients dns settings I configure the Samba4 or external DNS IP?
Post by mathias dufresne
Here we (the DNS team of our company, not me ;) chose the zone type forward
as it is the way DNS works (one resolver on client system, this resolver
will forward requests to others DNS server to get answer) and also because
that seemed to them the strongest against failure: there is no data stored
on the client resolver, there can't be corrupted data on this DNS server
when with masters / slaves slaves have to wait for synchronization, they
host data, these data can be corrupted... in addition of the very same
problems on any masters...
And we can declare as much zone with type forward as we want so it works
also with multiple domains, AD or not.
Post by Jeff Sadowski
Looking over this thread it got me thinking of multiple domains and
then
Post by Jeff Sadowski
thinking maybe it would be better to setup the external DNS as a slave
to
Post by Jeff Sadowski
the AD domain?
Then you could have it resolve from the external DNS for multiple AD
domains.
Post by Elias Pereira
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-directory-w
ith-bind9-on-separate-machines-ubuntu-14-04/
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC
server.
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration. This
library
Post by mathias dufresne
Post by mathias dufresne
can
be replaced be one of those shipped with Bind, this library will
need
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that
should
Post by Elias Pereira
Post by mathias dufresne
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of job.
- just configure AD DNS service as you want (please note that
few
Post by Jeff Sadowski
Post by Elias Pereira
weeks
Post by mathias dufresne
Post by mathias dufresne
ago
Samba's internal DNS server was still not able to work as
multi-masters
Post by mathias dufresne
Post by mathias dufresne
which is needed to avoid SPOF in AD, so IMHO the only valid DNS
backend
Post by mathias dufresne
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is
not
Post by Jeff Sadowski
AD
Post by Elias Pereira
Post by mathias dufresne
DC)
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Restart your external non-DC Bind service and it should be able
to
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account _msdcs
zone
Post by Elias Pereira
as
Post by mathias dufresne
Post by mathias dufresne
it
is a sub zone of "ad.domain.tld", your external Bind will also
forward
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm
just
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be
necessary...
Post by Jeff Sadowski
Post by Elias Pereira
Anyway
Post by mathias dufresne
Post by mathias dufresne
as
this DNS should be meant to resolve Internet addresses in
addition
Post by Jeff Sadowski
of
Post by Elias Pereira
Post by mathias dufresne
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted
already...
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hoping this clarify DNS management a little bit and that helps
you,
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_f
or_Samba_AD
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
* Since the BIND DLZ module accesses the AD database directly,
BIND
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module
provided by
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host
if, as
Post by Jeff Sadowski
I
Post by Elias Pereira
Post by mathias dufresne
said yesterday, you accept to use standard module (so not Samba's
Bind
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
module) and configure it correctly. Of course this is more
complicated
Post by Jeff Sadowski
to
Post by Elias Pereira
Post by mathias dufresne
achieve, especially compared to the forward zone I described also
yesterday.
* Because the BIND DLZ module uses the information already
stored in
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must
run
Post by Jeff Sadowski
Post by Elias Pereira
Bind9
Post by mathias dufresne
on the DC and you do not need to create any zones (except the
reverse
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read
the
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
Elias Pereira
--
Elias Pereira
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
mathias dufresne
2016-08-09 08:39:27 UTC
Permalink
A reverse zone is a zone as others. Configure the reverse(s) zone(s) as you
do for standard zones.

A:
Clients -> main DNS (Bind, not Samba, not DC) -> AD DNS servers

Clients know only your company's DNS server, not AD DNS servers. This name
server (the clients resolver) will send AD DNS request to AD DNS server
because of the forward zone (type forward).

B:
Clients -> AD DNS servers -> main DNS (Bind, not Samba, not DC)

Clients must be reconfigured (a bad point imho, I'm lazy) to use Samba DNS
servers as resolver.
You must also make a choice on which DC would be used to do that job if you
have more than 2 DC (with 2 DC you can set both as resolver on clients).
Samba must be configured using "dns forwarder = 192.168.0.1" where
192.168.0.1 would be your company's DNS server.

tcpdump is a very great tool to understand DNS behaviour which is not so
complex for what we generally need.
tcpdump -i eth0 port domain host <ip of client>
would be sufficient to see what happens when a client tries to resolve
something. This tcpdump could be run on the client's resolver: you will see:
- client request arriving
- forwarding request according to your own configuration if needed
- answer from others DNS servers
- answer send back to the client
All you need to make it clear ;)
Post by Elias Pereira
mathias, I believe I get it. :D
The "A" option can be "resolved" with the inclusion of the zone that you
suggested me, right?
zone "ad.domain.tld" IN {
Post by mathias dufresne
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
And in the "B" option I set up in "DNS DC" each zone belonging to the "DNS
non-DC"?
Post by mathias dufresne
zone "domain.tld" {
type forward;
type forward;
forward only;
forwarders {
<ip of DNS non-DC>;
};
};
The reverse zones also will be this way?
Post by mathias dufresne
zone "0.168.192.in-addr.arpa" {
type forward;
type forward;
forward only;
forwarders {
<ip of DNS non-DC>;
};
};
Sorry for so many questions, but maybe this will help others who are
having the same doubts. Thanks again!
Post by mathias dufresne
You do what you want!
The point is the clients must resolve everything.
A - client resolver is non-DC DNS server: here the non-DC DNS server must
be configured to forward DNS requests about AD to AD DNS servers (to DCs)
B - client resolver is AD DNS server: here AD DNS server(s) used as
resolver(s) must be configured to forward any non-AD DNS request to non-DC
DNS server.
Hoping this is clear enough...
Cheers,
mathias
Post by Elias Pereira
Guys,
In the clients dns settings I configure the Samba4 or external DNS IP?
Post by mathias dufresne
Here we (the DNS team of our company, not me ;) chose the zone type forward
as it is the way DNS works (one resolver on client system, this resolver
will forward requests to others DNS server to get answer) and also because
that seemed to them the strongest against failure: there is no data stored
on the client resolver, there can't be corrupted data on this DNS server
when with masters / slaves slaves have to wait for synchronization, they
host data, these data can be corrupted... in addition of the very same
problems on any masters...
And we can declare as much zone with type forward as we want so it works
also with multiple domains, AD or not.
Post by Jeff Sadowski
Looking over this thread it got me thinking of multiple domains and
then
Post by Jeff Sadowski
thinking maybe it would be better to setup the external DNS as a
slave to
Post by Jeff Sadowski
the AD domain?
Then you could have it resolve from the external DNS for multiple AD
domains.
Post by Elias Pereira
I found this article about separate samba4 and bind.
https://quercerjanath.wordpress.com/samba-active-directory-w
ith-bind9-on-separate-machines-ubuntu-14-04/
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hi Elias,
It should be possible to have AD DNS server hosted on a non-DC
server.
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Samba Wiki explain we just have to include
"/var/lib/samba/private/named.conf" in Bind configuration.
This
Post by Jeff Sadowski
Post by Elias Pereira
library
Post by mathias dufresne
Post by mathias dufresne
can
be replaced be one of those shipped with Bind, this library
will
Post by Jeff Sadowski
need
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
configuration for it can deal with remote DC(s).
Please note I never tried that, 'cause I'm a lazy guy, but that
should
Post by Elias Pereira
Post by mathias dufresne
be
Post by mathias dufresne
possible: Bind+DLZ seems to me to be meant for that kind of
job.
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
- just configure AD DNS service as you want (please note that
few
Post by Jeff Sadowski
Post by Elias Pereira
weeks
Post by mathias dufresne
Post by mathias dufresne
ago
Samba's internal DNS server was still not able to work as
multi-masters
Post by mathias dufresne
Post by mathias dufresne
which is needed to avoid SPOF in AD, so IMHO the only valid DNS
backend
Post by mathias dufresne
is
Post by mathias dufresne
bind+DLZ if you want high availability)
- add a new zone to your existing DNS server (the one which is
not
Post by Jeff Sadowski
AD
Post by Elias Pereira
Post by mathias dufresne
DC)
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
zone "ad.domain.tld" IN {
type forward;
forward only;
forwarders {
<ip of 1st DC>;
<ip of 2nd DC>;
....
<ip of Nth DC>;
};
};
------------------------------------------------------------
----------------------------------
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Restart your external non-DC Bind service and it should be
able to
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
resolve
Post by mathias dufresne
one more zone: the one from your AD.
What is nice in that is you don't need to take in account
_msdcs
Post by Jeff Sadowski
zone
Post by Elias Pereira
as
Post by mathias dufresne
Post by mathias dufresne
it
is a sub zone of "ad.domain.tld", your external Bind will also
forward
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
requests regarding _msdcs to AD servers.
I did not played with that for a relatively long time and I'm
just
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
coming
Post by mathias dufresne
back from vacations, so I'm not sure if you would need to allow
forwarding
Post by mathias dufresne
and recursion on that non-DC DNS server. It could be
necessary...
Post by Jeff Sadowski
Post by Elias Pereira
Anyway
Post by mathias dufresne
Post by mathias dufresne
as
this DNS should be meant to resolve Internet addresses in
addition
Post by Jeff Sadowski
of
Post by Elias Pereira
Post by mathias dufresne
your
Post by mathias dufresne
local domain(s) recursion and forwarding should be accepted
already...
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Hoping this clarify DNS management a little bit and that helps
you,
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Post by mathias dufresne
Mathias
https://wiki.samba.org/index.php/Configure_BIND_as_backend_f
or_Samba_AD
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
* Since the BIND DLZ module accesses the AD database directly,
BIND
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
for AD zones must be on the same machine.
This, for me, means: as long as we use the BIND DLZ module
provided by
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
Samba, Bind must run on same host as Samba AD DC".
In other words, you should be able to move Bind to another host
if, as
Post by Jeff Sadowski
I
Post by Elias Pereira
Post by mathias dufresne
said yesterday, you accept to use standard module (so not Samba's
Bind
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
module) and configure it correctly. Of course this is more
complicated
Post by Jeff Sadowski
to
Post by Elias Pereira
Post by mathias dufresne
achieve, especially compared to the forward zone I described also
yesterday.
* Because the BIND DLZ module uses the information already
stored in
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
AD, you do not need to create any extra databases.
Or to put it another way, if you want to use bind_dlz, you must
run
Post by Jeff Sadowski
Post by Elias Pereira
Bind9
Post by mathias dufresne
on the DC and you do not need to create any zones (except the
reverse
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
zone
and you have to do this anyway)
Rowland
--
To unsubscribe from this list go to the following URL and read
the
Post by Jeff Sadowski
Post by Elias Pereira
Post by mathias dufresne
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
Elias Pereira
--
Elias Pereira
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Continue reading on narkive:
Search results for '[Samba] Samba4 with external bind - best practices?' (Questions and Answers)
3
replies
what is DNS?what is Active Directory?what is patch file?
started 2006-10-10 03:15:22 UTC
computer networking
Loading...