[Pdns-users] longest-digit match in records name lookup NAPTR
Peter van Dijk
peter.van.dijk at powerdns.com
Tue Feb 24 14:49:10 UTC 2015
Hello Jonathan,
On 24 Feb 2015, at 15:04 , Jonathan Hunter <hunterj91 at hotmail.com> wrote:
> Is it possible to disable longest-digit match in the name lookup?
>
> I only ask as running queries on the following entries (shown below from records table) using for example a dig to NAPTR 4.3.2.1.5.5.5.4.0.7.1.0.0.e164.sip.mn, the call is always routed to
> carrier 3, where as Id like to be in a position ideally where it would pickup the wildcard with the higher priority (carrier1.com) ideally.
>
> Is it an option or not designed due to RFC?
The current behaviour is indeed mandated by the relevant RFCs. If you don’t want *.5.5.5 to match, why not remove or disable it?
Kind regards,
--
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
More information about the Pdns-users
mailing list