Questions about NAPTR

Karl Auer kauer at biplane.com.au
Mon Sep 18 08:32:45 UTC 2017


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.

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.

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.

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 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B




More information about the bind-users mailing list