Auto read nameserver from /etc/resolv.conf.

1. Add resolver_file to assign a resolve file.
2. User /etc/resolv.conf as default.