Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[WCM] Adding Documentation for prevent_dns_lookup #6359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adding Documentation for prevent_dns_lookup
  • Loading branch information
patrick-mcdougle committed Mar 12, 2016
commit 0b187313851ba4603271f77a93b3e7a18bad1ca5
11 changes: 11 additions & 0 deletions 11 reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Configuration
* :ref:`enable_annotations <reference-validation-enable_annotations>`
* `translation_domain`_
* `strict_email`_
* `prevent_dns_lookups`_
* `annotations`_
* :ref:`cache <reference-annotations-cache>`
* `file_cache_dir`_
Expand Down Expand Up @@ -1343,6 +1344,16 @@ If this option is enabled, the `egulias/email-validator`_ library will be
used by the :doc:`/reference/constraints/Email` constraint validator. Otherwise,
the validator uses a simple regular expression to validate email addresses.

prevent_dns_lookups
............

**type**: ``Boolean`` **default**: ``false``

If this option is enabled, ``checkMX()`` and ``checkHost()`` will not actually
make a DNS lookup. You might use this flag in a scenario where you temporarily
don't have an internet connection, or are running a test suite that you'd rather
not have a connection to the internet.

annotations
~~~~~~~~~~~

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.