[bind10-dev] quoted string for domain name fields of RDATA

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Wed Jan 9 21:49:42 UTC 2013


Anyone has an opinion about whether to accept quoted string for domain
name fields of RDATA?  For example, whether to accept:

example. NS "ns.example."

instead of

example. NS ns.example.

BIND 9 rejects it, but its handling of quoted string for domain names
is a bit inconsistent.  It accepts quoted string for owner names:

"example." NS ns.example. ; accepted by BIND 9

but not for the value of $ORIGIN:

$ORIGIN "example." ; rejected

BIND 10 generally tries to be compatible with BIND 9, so it accepts
quoted string for owner names, but for consistency within the BIND 10
implementation it also accepts the quoted form in $ORIGIN (or the
origin specified in $INCLUDE).

Now, what to do for RDATA?  To be compatible with BIND 9, we should
accept them; to be consistent within the implementation, we should
reject them.

I'm personally inclined to reject them, because that's what other
implementations (not only BIND 9 but many if not all others) do, and,
unlike the cases for $ORIGIN/$INCLUDE, RDATA implementation is
separated from the loader class, so the "inconsistency" doesn't make
it look that awkward.

Any objection?

---
JINMEI, Tatuya


More information about the bind10-dev mailing list