update dns resolving

1. ipv6+ipv4
2. /etc/hosts
3. bugfixes