mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-05-14 00:41:10 +03:00
Compare commits
3 Commits
0.7.14
...
fix/defaul
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7b6c36dfb | ||
|
|
f39e2d9ca9 | ||
|
|
00594f23fd |
@@ -1,6 +1,6 @@
|
||||
config settings 'settings'
|
||||
option dns_type 'udp'
|
||||
option dns_server '8.8.8.8'
|
||||
option dns_server '77.88.8.8'
|
||||
option bootstrap_dns_server '77.88.8.8'
|
||||
option dns_rewrite_ttl '60'
|
||||
list source_network_interfaces 'br-lan'
|
||||
|
||||
@@ -490,7 +490,7 @@ list_update() {
|
||||
local i
|
||||
|
||||
# DNS Check
|
||||
for i in $(seq 1 $nslookup_timeout); do
|
||||
for i in $(seq 1 $nslookup_attempts); do
|
||||
if nslookup -timeout=$nslookup_timeout openwrt.org > /dev/null 2>&1; then
|
||||
echolog "✅ DNS check passed"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user