Putting weird characters into zone files ?

Mark Andrews marka at isc.org
Sat Sep 27 14:26:08 UTC 2014

In message <65455.1411817467 at server1.tristatelogic.com>, "Ronald F. Guilmette" 
> 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
> \!.foo.bar	IN A

Well there is no way to escape a wildcard in the DNS.
As for the exclamation point just enter it.

> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>  from this list
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org

More information about the bind-users mailing list