Revert "Fixed to consider IPv6 nameservers and to also handle case where only IPv6 nameservers are specified."

This reverts commit f45352dcb7e92471edd0e69de950c30e78d00424.