@@ -63,8 +63,8 @@ really never happens. The same applies to base64 sequences, which was
63
63
specifically designed to encode binary data in printable ASCII characters. To
64
64
quote a field and include whitespace is more-or-less instructing the parser
65
65
to not ignore it. The current implementation is such that any field may be
66
- quoted, but it may make sense to disallow fields that cannot contain
67
- structural characters to be quoted.
66
+ quoted, but it MUST actually disallow fields that cannot contain structural
67
+ characters to be quoted.
68
68
69
69
> BIND does not accept quoted fields for A or NS RDATA. TTL values in SOA
70
70
> RDATA, base64 Signature in DNSKEY RDATA, as well as type, class and TTL
@@ -161,3 +161,11 @@ structural characters to be quoted.
161
161
> interpret that as stating that each label can individually can be quoted,
162
162
> that is however not the case. NSD and BIND both print a syntax error if
163
163
> such a construct occurs.
164
+
165
+ * RFC1035 specifies two control directives "$INCLUDE" and "$ORIGIN". RFC2308
166
+ specifies the "$TTL" directive. BIND implements the "$GENERATE" directive.
167
+ Since "$" (dollar sign) is not reserved, "$GENERATE" (and "$TTL" before
168
+ RFC2308) is considered a valid hostname in other implementations. It seems
169
+ "$" is better considered a reserved character (possibly limiting it's
170
+ special status to the start of the line), to allow for reliable
171
+ extensibility in the future.
0 commit comments