using preferable get_record for DNS
Merge pull request #59 from rdodev/dns-code-fix

using preferable get_record for DNS