8000 [WCM] Adding Documentation for prevent_dns_lookup by patrick-mcdougle · Pull Request #6359 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[WCM] Adding Documentation for prevent_ 8000 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 reference/configuration/framework.rst
8000
Original file line numberDiff 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
0