[Samba] DNS Forwarder again
lukebarone at gmail.com
Wed Mar 31 21:03:25 UTC 2021
In your `/etc/resolv.conf` file working with AD, you want only your DCs
listed. If you have multiple DCs (i.e. dc1 and dc2), you want the other one
listed first, then itself. For example:
DC1 = 10.1.0.1 / DC2 = 10.1.0.2
root at dc1: cat /etc/resolv.conf
root at dc2: cat /etc/resolv.conf
If your DC name servers can't resolve the name, then *they* should be the
ones to forward the request on.
On Wed, Mar 31, 2021 at 1:25 PM Yakov Revyakin via samba <
samba at lists.samba.org> wrote:
> Thank you, Robert
> You understood my waiting.
> What is about if I add nameserver line to resolve.conf like this
> nameserver ThisSambaDcIp
> nameserver 18.104.22.168
> and samba dns returns negative answer? Algorithm the same? Second line will
> never be used?
> On Wed, 31 Mar 2021 at 20:24, Robert Marcano via samba <
> samba at lists.samba.org> wrote:
> > On 3/31/21 12:02 PM, Yakov Revyakin via samba wrote:
> > > Hi all,
> > > Could you help me to understand why my setting for Dns Forwarder
> > > work as waiting?
> > > I have:
> > > dns forwarder = 22.214.171.124 126.96.36.199
> > >
> > > This way I can resolve names of samba domain as well as internet names,
> > but
> > > I can't get resolved names from 188.8.131.52 external AD domain.
> > >
> > > I thought that google dns is recursive. Any explanation on?
> > If I understand correctly, you expect responses from both forwarders.
> > That isn't how forwarding works. It ask one of them and get a response.
> > Positive or negative, it will be the only response to the client. You
> > can put more than one there for redundancy.
> > If you expect a response from 184.108.40.206, when the server first asked
> > 220.127.116.11, if it get a negative response, 18.104.22.168 will not be asked, it
> > will only if there is a problem (timeout for example) using 22.214.171.124
> > >
> > > Thanks,
> > > J
> > >
> > --
> > 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
More information about the samba