g3proxy: allow to retry empty record in failover resolver

This commit is contained in:
Zhang Jingqiang 2023-04-20 15:27:27 +08:00
parent 15465d2568
commit cf358f69b3
7 changed files with 89 additions and 52 deletions

View file

@ -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