speermint-3----Page:13
1  2  3  4  5  6  7  8  9  10  11  12  13  14 

Complex Rule Sets
A NAPTR RRSet defines the policy of a domain.
“order” and “preference” define a Boolean expression of individual policy rules.
Example:
$ORIGIN example.com.
; order pref flags service regexp replacement
(1) IN NAPTR 10 50 "U" "D2P+SIP:fed" "!^.*$!http://sipxconnect.example.org/!" .
(2) IN NAPTR 20 10 "U" "D2P+SIP:std" "!^.*$!urn:ietf:rfc:2246!" .
(3) IN NAPTR 20 15 "U" "D2P+SIP:std" "!^.*$!urn:ietf:rfc:3711!" .

(1) OR ( (2) AND (3) )
PPT Version