Bugfix: /etc/resolv.conf parsing error with ipv6.
Merge pull request #496 from lifeibo/master

Bugfix: /etc/resolv.conf parsing error with ipv6.