Questions about NAPTR

Mark Andrews marka at isc.org
Tue Sep 19 04:59:45 UTC 2017


In message <1505796688.2518.99.camel at biplane.com.au>, Karl Auer writes:
> On Tue, 2017-09-19 at 13:56 +1000, Mark Andrews wrote:
> > In message <1505734269.2518.70.camel at biplane.com.au>, Karl Auer
> > writes:
> > > And is it true that "if the Regexp field is not empty, the
> > > Replacement field will not be used"?
> > With the current flags no but who know what will happen in the
> > future.
>
> Not sure what "no" means. My fault for putting up a statement with two
> negatives.
>
> It seems to me that the output from a NAPTR is EITHER the result of
> applying a regexp to the left-hand side domain name, OR the value of
> the replacement field. I.e., they are mutually exclusive. So if the
> regexp is empty, the replacement is used verbatim. If the regexp is NOT
> empty, the replacement is ignored (but still has to conform to domain
> name syntax, hence the need for a dot).
>
> Is that understanding correct?

As things currently stand yes.  Someone could write a document today
that specifies a flag that combines the fields.  The future is uncertain.

> Thanks, K.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)
> http://www.biplane.com.au/kauer
> http://twitter.com/kauer389
>
> GPG fingerprint: A52E F6B9 708B 51C4 85E61634 0571 ADF9 3C1C 6A3A
> Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
>
>
> _______________________________________________
> 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