Fix and document `dns:` option

Closes #240.