mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 13:40:42 +00:00
g3proxy: allow to retry empty record in failover resolver
This commit is contained in:
parent
15465d2568
commit
cf358f69b3
7 changed files with 89 additions and 52 deletions
|
|
@ -25,8 +25,8 @@ standby
|
|||
|
||||
Set the standby resolver to use.
|
||||
|
||||
timeout
|
||||
-------
|
||||
fallback_delay
|
||||
--------------
|
||||
|
||||
**optional**, **type**:
|
||||
|
||||
|
|
@ -42,3 +42,14 @@ negative_ttl
|
|||
Time-to-Live (TTL) for negative caching of failed DNS lookups.
|
||||
|
||||
**default**: 30
|
||||
|
||||
retry_empty_record
|
||||
------------------
|
||||
|
||||
**optional**, **type**: bool
|
||||
|
||||
Set if we should do a fallback query if the first answer contains no IP address.
|
||||
|
||||
**default**: false
|
||||
|
||||
.. versionadded:: 1.7.13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue