Skip to content

[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 all commits
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
11 changes: 11 additions & 0 deletions 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`_
* `use_dns`_
* `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.

use_dns
.......

**type**: ``Boolean`` **default**: ``true``

If this option is disabled, ``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