Re: Regexp issue in NAPTR rewrite

2009-05-13 Thread sandoche BALAKRICHENAN
Mark Andrews wrote: In message <4a093b9c.5060...@afnic.fr>, sandoche BALAKRICHENAN writes: I want to rewrite a query of the form "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onsam.test" to "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onseu.test" using NAPTR rewrite. The NAPTR RR in the zone config is as fol

Re: Regexp issue in NAPTR rewrite

2009-05-12 Thread Mark Andrews
In message <4a093b9c.5060...@afnic.fr>, sandoche BALAKRICHENAN writes: > > I want to rewrite a query of the form > "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onsam.test" to > "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onseu.test" using NAPTR rewrite. > > The NAPTR RR in the zone config is as follows: > > s

Re: Regexp issue in NAPTR rewrite

2009-05-12 Thread Kevin Darcy
I don't claim to be competent with NAPTR records -- having never used them in production -- but from the RFC (2915), it appears you need to express those backslashes, in the wire format of the NAPTR record, as *double* backslashes in the zone file: For the case of the cid.urn.arpa record above

Re: Regexp issue in NAPTR rewrite

2009-05-12 Thread Niall O'Reilly
sandoche BALAKRICHENAN wrote: I want to rewrite a query of the form "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onsam.test" to "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onseu.test" using NAPTR rewrite. The NAPTR RR in the zone config is as follows: sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onsam.testIN

Regexp issue in NAPTR rewrite

2009-05-12 Thread sandoche BALAKRICHENAN
I want to rewrite a query of the form "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onsam.test" to "sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onseu.test" using NAPTR rewrite. The NAPTR RR in the zone config is as follows: sgtin.5.4.0.0.0.1.3.2.4.5.6.7.6.id.onsam.testIN NAPTR 00"r"