Add resolve auto parse /etc/resolv.conf document.

Add resolve auto parse /etc/resolv.conf document.