Is there a way to query cashed dr_rules table? I know it can be done by avp_db_query("SELECT count(prefix),attrs from dr_rules where.... but this will be resource hungry. -- Best Regards: