DNS lookup flask