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

This reverts commit eb8ce290caa5d7e95905385530e2cc7aaea3df77.

Change-Id: I42a0142bd6b04a3c6a64ba7f89ce55148db70510