Fix parsing of ipv6 resolvers.

Reported by:	@kaworu