Joe Abley <jab...@hopcount.ca> wrote:

> > A primary master is wrt a zone not a server - a zone's primary master is
> > a server that's authoritative for a zone and which does not get the zone
> > contents via axfr/ixfr, but instead from a master file and/or UPDATE (or
> > a non-standard mechanism such as directly from a database).
>
> That's an alluringly clear definition, but I'm not sure it matches
> common understanding of the term, which I think has more to do with
> "single source of truth" than with the specifics of what transport is
> used to provision zone data in a server.

Hmm, I think I sort-of agree, but with caveats...

I prefer to make a clear distinction between the standard DNS as specified
in the RFCs versus any funky non-standard stuff that people might do with
the DNS.

The standard DNS protocols are closely fitted to a particular distributed
architecture, in which a zone has a single source of truth that we call
the primary master. You can, of course, implement a similar architecture
using non-standard protocols, but if you do you should take care to make
it clear how you are diverging from the standard - and be careful about
how you use standard DNS terminology when talking about your non-standard
system.

> For example,
>
>     W <------- A -------> X
>
> Suppose A is a source of truth for a particular zone, and that W and X
> obtain zone data from A. Are you saying that if the mechanism
> represented by the arrows is [AI]XFR then A is a primary master and W
> and X are not, whereas if that mechanism is something else (perhaps it's
> rsync, with W, A and X all configured to be masters from local zone
> files) then W, A and X are all primary masters?

In this case I would say A is a primary master and W and X are secondaries
that use rsync instead of standard zone transfers.

The part of the standard architecture that you have replaced is the zone
transfer mechanism, so the primary master is architecturally unaffected,
so it's OK to use the same name.

(But you can't call rsync "ixfr" even though it is incrementally
transferring zones, because that would be unreasonably confusing.)

> If A is not a nameserver but instead is a database, and the arrows
> represent database replication, then W and X are primary masters but A
> is not?

In this case I would be very proud of my high-availability multi-master
system.

Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Shannon, Rockall, Malin, Hebrides, Bailey: North or northwest 5 to 7,
occasionally gale 8 except in Shannon. Rough or very rough, occasionally
moderate. Squally showers. Good.

_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to