asn: testing fixes for get_dns_results

cfg wasn't being set before the test ran, so my addition of the timer config setting broke the test. By using the plugin.cfg syntax for config storage (vs global var cfg), it's easier to init for the tests and it's not timing or order dependent.