Putting weird characters into zone files ?

Ronald F. Guilmette rfg at tristatelogic.com
Sat Sep 27 11:31:07 UTC 2014


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


More information about the bind-users mailing list