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

This reverts commit de5a7db8236f95ff8ceb7d9f5e8944c44dca88f1.