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.test IN NAPTR 0 0 "r" "" "!^sgtin\.([0-9])$!\1.id.onseu.test!" .

BIND does not  accept backref "\1" . It shows a syntax error.

Is the above regexp correct?






begin:vcard
fn:Sandoche BALAKRICHENAN
n:;Sandoche BALAKRICHENAN
org:AFNIC
email;internet:sandoche.balakriche...@afnic.fr
title:Ingenieur R&D
note;quoted-printable:Move Together=0D=0A=
	
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to