Fix return value on dns resolution issue

Closes #393
Update parameters.rst

Missing comma on sample code
Merge pull request #405 from amferraz/patch-1

Fix typo
Merge pull request #394 from comodit/fix_393

Fix return value on dns resolution issue