DNS primary and secondary receiveing queries at the same time

Warren Kumari warren at kumari.net
Thu May 17 14:23:23 UTC 2018


On Thu, May 17, 2018 at 4:07 PM Roberto Carna <robertocarna36 at gmail.com>
wrote:

> Hi people, I've implemented two BIND9 servers for my company, one as
> primary public DNS server and the other as secondary public DNS
> server.

> I always believed that all the client queries coming from Internet go
> to the DNS primary server, and if it is down, just in this case go to
> the DNS secondary server.

Nope, you are incorrect -- there isn't really a "primary" and "secondary" -
that is poorly used terminology.
There are "masters" and "slaves" (also poor terminology) - new information
gets published on masters, and the slaves copy and serve that, but both
will get queries.


> But it seems it is different than I believed....when I see the query
> log file in primary and secondary DNS servers, I can see queries
> coming from Internet in both servers....in other words, the two DNS
> servers are being contacted all the time.

> Is there any way to make DNS clients from Internet always contact my
> primary DNS server and just if it is down the clients must contact the
> secondary DNS server ???

Nope. Resolvers will choose between your servers at random (it's not
actually random, but close enough for this discussion).

W


> Special thanks !!!

> Robert
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list

> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users



-- 
I don't think the execution is relevant when it was obviously a bad idea in
the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair of
pants.
    ---maf


More information about the bind-users mailing list