mirror of
https://github.com/YGGverse/Yo.git
synced 2026-04-01 02:05:29 +00:00
implement DNS resolver with memory cache feature #15
This commit is contained in:
parent
298322a4c3
commit
1b8bcb084a
4 changed files with 209 additions and 12 deletions
|
|
@ -21,6 +21,14 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"memcached":
|
||||
{
|
||||
"server":
|
||||
{
|
||||
"host":"127.0.0.1",
|
||||
"port":11211
|
||||
}
|
||||
},
|
||||
"gui":
|
||||
{
|
||||
"pagination":
|
||||
|
|
@ -117,7 +125,42 @@
|
|||
"connection":
|
||||
{
|
||||
"timeout":3,
|
||||
"length":10485760
|
||||
"length":10485760,
|
||||
"options":
|
||||
{
|
||||
"ssl":
|
||||
{
|
||||
"verify_peer": false,
|
||||
"verify_peer_name": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolver":
|
||||
{
|
||||
"enabled":true,
|
||||
"providers":
|
||||
[
|
||||
"1.1.1.1",
|
||||
"8.8.8.8"
|
||||
],
|
||||
"records":
|
||||
[
|
||||
"A",
|
||||
"AAAA"
|
||||
],
|
||||
"connection":
|
||||
{
|
||||
"timeout":5,
|
||||
"delay":60
|
||||
},
|
||||
"result":
|
||||
{
|
||||
"shuffle":false,
|
||||
"cache":
|
||||
{
|
||||
"timeout":3600
|
||||
}
|
||||
}
|
||||
},
|
||||
"queue":
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue