Putting weird characters into zone files ?
Ronald F. Guilmette
rfg at tristatelogic.com
Sat Sep 27 18:49:54 UTC 2014
In message <20140927122322.GA4213 at totoro.home.mukund.org>,
Mukund Sivaraman <muks at isc.org> wrote:
>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).
OK. Thanks for the reply. I figured out a simple work-around where
I won't need the special characters after all.
More information about the bind-users