Fixed dns check