kalua: net: ip2dns() simplify/cleanup