Adding DNS docs
Various issues with DNS tidy-up
Fixing minor bugs
Merge pull request #313 from jamiehannaford/dns-docs

DNS refactor and docs