Auto read nameserver from /etc/resolv.conf.
Merge pull request #390 from lifeibo/resolver

Auto read nameserver from /etc/resolv.conf.