Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A question from RFC 3403

3 views
Skip to first unread message

sandoche BALAKRICHENAN

unread,
May 26, 2009, 10:22:03 AM5/26/09
to
This is a multi-part message in MIME format.
--------------030704090108090708030104
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

An example from RFC 3403

The URN might look like this:

urn:cid:1996061...@bar.example.com

This Application's First Well Known Rule is to extract the characters
between the first and second colon. For this URN that would be
'cid'. The Application also specifies that, in order to build a
Database-valid Key, the string 'urn.arpa' should be appended to the
result of the First Well Known Rule. The result is 'cid.urn.arpa'.
Next, the client queries the DNS for NAPTR records for the domain-
name 'cid.urn.arpa'. The result is a single record:

cid.urn.arpa. IN NAPTR 100 10 "" ""
"!^urn:cid:.+@([^\.]+\.)(.*)$!\2!i"

My question is when the application has already converted
"urn:cid:1996061...@bar.example.com" -> cid.urn.arpa.

==> why does the regexp string again searches for "urn:cid:" ?

The RFC says

REGEXP - A <character-string> containing a substitution expression that is applied to the original string


==> Anyone have an idea why it always should be applied to the original string?

--------------030704090108090708030104
Content-Type: text/x-vcard; charset=utf-8;
name="sandoche_balakrichenan.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="sandoche_balakrichenan.vcf"

begin:vcard
fn:Sandoche BALAKRICHENAN
n:;Sandoche BALAKRICHENAN
org:AFNIC
email;internet:sandoche.ba...@afnic.fr
title:Ingenieur R&D
note;quoted-printable:Move Together=0D=0A=

x-mozilla-html:FALSE
version:2.1
end:vcard


--------------030704090108090708030104
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

Niall O'Reilly

unread,
May 27, 2009, 5:48:49 AM5/27/09
to
sandoche BALAKRICHENAN wrote:

> REGEXP - A <character-string> containing a substitution expression that
> is applied to the original string
>
> ==> Anyone have an idea why it always should be applied to the original
> string?

OT for bind-users, so I'll give the shortest answer I can:
what other string is available?

Let's find a better list for discussing the mysteries of DDDS.
It would be useful to have a broader community of understanding.

If anyone on this (bind-users) list knows of a natural home for
this discussion, I'ld appreciate a pointer.

ATB
/Niall

Stephane Bortzmeyer

unread,
May 27, 2009, 7:39:06 AM5/27/09
to
On Wed, May 27, 2009 at 10:48:49AM +0100,
Niall O'Reilly <Niall....@ucd.ie> wrote
a message of 24 lines which said:

> OT for bind-users,

OK, but see later.

> what other string is available?

The domain name.

> Let's find a better list for discussing the mysteries of DDDS.
> It would be useful to have a broader community of understanding.
>
> If anyone on this (bind-users) list knows of a natural home for
> this discussion, I'ld appreciate a pointer.

I would like to know it, too.

IETF "DNS extensions" mailing list (namedroppers) is focused on future
protocols and trying to get insight on previous discussions seems
often frowned upon.

OARC dns-operations mailing list focus on... operations.

There is no "dns-talk" or "dns-i-want-to-learn" mailing list, as far
as I know.

SM

unread,
May 27, 2009, 1:43:19 PM5/27/09
to
At 07:22 26-05-2009, sandoche BALAKRICHENAN wrote:
>An example from RFC 3403
>
>The URN might look like this:
>
> urn:cid:1996061...@bar.example.com
>
> This Application's First Well Known Rule is to extract the characters
> between the first and second colon. For this URN that would be
> 'cid'. The Application also specifies that, in order to build a
> Database-valid Key, the string 'urn.arpa' should be appended to the
> result of the First Well Known Rule. The result is 'cid.urn.arpa'.
> Next, the client queries the DNS for NAPTR records for the domain-
> name 'cid.urn.arpa'. The result is a single record:
>
>cid.urn.arpa. IN NAPTR 100 10 "" ""
>"!^urn:cid:.+@([^\.]+\.)(.*)$!\2!i"
>
>My question is when the application has already converted
>"urn:cid:1996061...@bar.example.com" -> cid.urn.arpa.
>
>==> why does the regexp string again searches for "urn:cid:" ?

Because it's not a terminal lookup.

>REGEXP - A <character-string> containing a substitution expression
>that is applied to the original string
>
>==> Anyone have an idea why it always should be applied to the
>original string?

The answer is in the paragraph that follows the one you quoted.

Regards,
-sm

0 new messages