#6 Added basic DNS checks
Major flow change