mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
DNS check
This commit is contained in:
parent
9a66b3b594
commit
b26c636f0d
2 changed files with 13 additions and 2 deletions
|
@ -111,11 +111,15 @@
|
|||
}
|
||||
if (mArray.openmptcprouter.wan_addr == "")
|
||||
{
|
||||
statusMessage += 'No VPS IP address, No WAN IP address';
|
||||
statusMessage += 'No VPS IP address, No WAN IP address<br/>';
|
||||
}
|
||||
if (mArray.openmptcprouter.dns == false)
|
||||
{
|
||||
statusMessage += 'DNS issue: can\'t resolve hostname<br/>';
|
||||
}
|
||||
if (mArray.openmptcprouter.ss_addr == "")
|
||||
{
|
||||
statusMessage += 'ShadowSocks not working';
|
||||
statusMessage += 'ShadowSocks not working<br/>';
|
||||
}
|
||||
|
||||
if(statusMessage !== "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue