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" 
writes:
> 
> 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

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