#34 fixed DNS doesn't resolve when offline