Auto read nameserver from /etc/resolv.conf.

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