Hi Guys, I am testing the Order Value in the content of NAPTR records using powerdns and MySQL database. I am trying to see an order value of 0.000322 which is lowest cost entry for one target carrier, and 0.0049 for a slightly more expensive carrier. So content looks like this in the records table; 0.000322 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier1.com!".0.0049 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier2.com!". When I do this I get a parsing error, I presume due to decimal point;
Mar 5 10:05:42 localhost pdns[6207]: Exception: Parsing record content: expected digits at position 1 in '0.000322 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier1.com!".'Mar 5 10:05:42 localhost pdns[6207]: Exception building answer packet (Parsing record content: expected digits at position 1 in '0.000322 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier1.com!".') sending out servfail So I wondered if it would respect the leading 0's if I removed the decimal, so I have entries as; 0000322 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier1.com!".00049 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier2.com!". However when testing with dig I am returned; IN NAPTR 49 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier2.com!" . IN NAPTR 322 10 "U" "E2U+sip" "!^(.*)$!sip:\\1...@carrier1.com!" . So doesnt seem to respect the leading 0's. Is there anyway I can resolve this so I can define values such as 0.000322 so in the example above it is the preference? Many thanks Jon
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users