Questions about NAPTR

Mark Andrews marka at isc.org
Mon Sep 18 09:45:32 UTC 2017


In message <1505723565.2518.54.camel at biplane.com.au>, Karl Auer writes:
> I've been reading RFC2915 and have a couple of questions about NAPTR
> records. I'm trying to do *basic* validation of data from a database
> being processed into the DNS.
>
> 1: Can the Flags field be empty? It seems to me that it can be under
> some circumstances.

Yes, use '""'.

> 2: Can the Replacement field be empty? It looks from the text and
> examples as if it should always contain a complete domain name BUT that
> if the Regexp field is not empty, the Replacement field will not be
> used.

No.  Use '.' as a place holder.

> 3: Can the Regexp field be empty? It seems to me that it can be, in
> which case the Replacement field will be used without alteration.

Yes, use '""'.

> Regards, 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