Forgot #[cfg(not(test))] for DNS query main
Merge pull request #296 from jamesrhurst/dns-query-fix

Forgot #[cfg(not(test))] for DNS query main