Fix and document `dns:` option

Closes #240.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Merge pull request #325 from orchardup/fix-dns

Fix and document `dns:` option