Hi Guys,
Sorry, last question for a while!
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 tocarrier 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?
Thanks
Jon


mysql> select * from 
records;+----+-----------+---------------------------------+-------+----------------------------------------------------+-------+------+-------------+----------+-----------+------+|
 id | domain_id | name                            | type  | content             
                               | ttl   | prio | change_date | disabled | 
ordername | auth 
|+----+-----------+---------------------------------+-------+----------------------------------------------------+-------+------+-------------+----------+-----------+------+
|  5 |         1 | *.1.0.0.e164.sip.mn             | NAPTR | 1 1 "U" "E2U+sip" 
"!^(.*)$!sip:\\1...@carrier1.com!" .   |   120 | NULL |        NULL |        0 
| NULL      |    1 ||  6 |         1 | *.1.0.0.e164.sip.mn             | NAPTR 
| 3 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier2.com!".   |   120 | NULL |     
   NULL |        0 | NULL      |    1 ||  7 |         1 | 
*.5.5.5.4.0.7.1.0.0.e164.sip.mn | NAPTR | 5 10 "U" "E2U+sip" 
"!^(.*)$!sip:\\1...@carrier3.com!". |   120 | NULL |        NULL |        0 | 
NULL      |    1 
|+----+-----------+---------------------------------+-------+----------------------------------------------------+-------+------+-------------+----------+-----------+------+
                                          
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to