djbdns
[Top] [All Lists]

Re: Escaping characters in queries

To: dns@list.cr.yp.to
Subject: Re: Escaping characters in queries
From: Jeff King <peff@peff.net>
Date: Fri, 26 Jan 2007 12:08:44 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-djbdns@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list dns@list.cr.yp.to
In-reply-to: <1f4ef0970701260853o1ba3452bn74c3a5ec10583133@mail.gmail.com>
Mail-followup-to: dns@list.cr.yp.to
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
References: <1f4ef0970701260853o1ba3452bn74c3a5ec10583133@mail.gmail.com>
On Fri, Jan 26, 2007 at 10:53:19AM -0600, Steve Brown wrote:

> So for testing I've added the following to my data file:
> 
> ##
> ## Reverse DNS
> ##
> .0.0/28.41.190.12.in-addr.arpa:12.190.41.6:ns1.a3dauto.com:259200
> ^4.0/28.41.190.12.in-addr.arpa:mail.a3dauto.com:259200
>
> [...]
> So my question is what am I missing?  I've tried various combinations
> of escaping slashes, using '/' vs. '\057', etc. to no avail.  What
> would be the correct manner of handling this bizarre delegation?

Your escaping is fine. Look at your records again. ^4.0/28 is not a
subdomain of 0.0/28. You need to either accept the whole 0/28 domain:
  .0/28.41.190.12.in-addr.arpa:12.190.41.6:ns1.a3dauto.com:259200
or individually do 0.0/28 and 4.0/28.

-Peff

<Prev in Thread] Current Thread [Next in Thread>