Revert "DNS: make the same ip type DNS query as the interface address type"

This reverts commit 233819aab41f91294c95a0926ddfa3010953ad8a.