DNS lookup function finished