removed native-dns in favour of dns, fixed issues with checking for internet conncetion