Putting weird characters into zone files ?
muks at isc.org
Sat Sep 27 12:23:22 UTC 2014
On Sat, Sep 27, 2014 at 04:31:07AM -0700, Ronald F. Guilmette wrote:
> For a special project, I need to be able to create resource
> records within a BIND zone file where some of the domain
> labels in some of the FQDNs on the left-hand-side will need
> to be either (a) literal asterisks or else (b) literal
> exclamation marks.
> What's the most proper way to do this? Can I (should I) just
> use backslash escapes... like this?
> \*.foo.bar IN A 127.0.0.99
> \!.foo.bar IN A 127.0.0.9
For the syntax of names in a master file, see RFC 1035 section 5.
Wildcard label ('*'), whether escaped or not, has the same
representation and meaning.
BIND will not allow you to use special characters such as '!' in owner
names of certain RRs types such as A, MX, etc. as they don't form valid
hostnames (see RFCs 1123 and 1912).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 2881 bytes
Desc: not available
More information about the bind-users