-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apple dns: retry connection establishment (#13942)
Commit Message: apple dns - retry connection establishment Risk Level: med Testing: added new tests. Signed-off-by: Jose Nino <[email protected]>
- Loading branch information
Showing
12 changed files
with
260 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _arch_overview_dns_filter: | ||
|
||
DNS Filter | ||
========== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.. _arch_overview_dns_resolution: | ||
|
||
DNS Resolution | ||
============== | ||
|
||
Many Envoy components resolve DNS: different cluster types ( | ||
:ref:`strict dns <arch_overview_service_discovery_types_strict_dns>`, | ||
:ref:`logical dns <arch_overview_service_discovery_types_logical_dns>`); | ||
the :ref:`dynamic forward proxy <arch_overview_http_dynamic_forward_proxy>` system (which is | ||
composed of a cluster and a filter); | ||
the udp :ref:`dns filter <arch_overview_dns_filter>`, etc. | ||
Envoy uses `c-ares <https://github.com/c-ares/c-ares>`_ as a third party DNS resolution library. | ||
On Apple OSes Envoy additionally offers resolution using Apple specific APIs via the | ||
``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime feature. | ||
|
||
The Apple-based DNS Resolver emits the following stats rooted in the ``dns.apple`` stats tree: | ||
|
||
.. csv-table:: | ||
:header: Name, Type, Description | ||
:widths: 1, 1, 2 | ||
|
||
connection_failure, Counter, Number of failed attempts to connect to the DNS server | ||
socket_failure, Counter, Number of failed attempts to obtain a file descriptor to the socket to the DNS server | ||
processing_failure, Counter, Number of failures when processing data from the DNS server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.