Saved,由于原有whoisAPI失效,改用WHOIS命令查询,速度更快,但是需要安装whois命令,RHEL下yum install whois即可
This commit is contained in:
@@ -17,5 +17,6 @@ return [
|
||||
base_path() . '/app/functions.php',
|
||||
base_path() . '/support/Request.php',
|
||||
base_path() . '/support/Response.php',
|
||||
#base_path() . '/phpWhois.org/src/whois.main.php'
|
||||
]
|
||||
];
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return [
|
||||
'enable' => true,
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
return [
|
||||
'Dns' => [
|
||||
'handler' => process\DnsProcess::class,
|
||||
'listen' => 'Dns://0.0.0.0:53',
|
||||
'transport' => 'udp',
|
||||
'count' => 4
|
||||
#cpu_count() * 1
|
||||
],
|
||||
];
|
||||
@@ -39,12 +39,4 @@ return [
|
||||
]
|
||||
]
|
||||
],
|
||||
'Dns' => [
|
||||
'handler' => process\DnsProcess::class,
|
||||
'listen' => 'Dns://0.0.0.0:53',
|
||||
'transport' => 'udp',
|
||||
'count' => cpu_count() * 4
|
||||
],
|
||||
|
||||
|
||||
];
|
||||
|
||||
+6
-6
@@ -15,15 +15,15 @@
|
||||
return [
|
||||
#Default保存限流插件和账号密码等,dns仅保存DNS信息
|
||||
'default' => [
|
||||
'host' => '121.228.166.201',
|
||||
'password' => 'Qi2005112!',
|
||||
'port' => 16379,
|
||||
'host' => 'localhost',
|
||||
'password' => 'qi2005112',
|
||||
'port' => 6379,
|
||||
'database' => 0,
|
||||
],
|
||||
'dns' => [
|
||||
'host' => '121.228.166.201',
|
||||
'password' => 'Qi2005112!',
|
||||
'port' => 16379,
|
||||
'host' => 'localhost',
|
||||
'password' => 'qi2005112',
|
||||
'port' => 6379,
|
||||
'database' => 1,
|
||||
],
|
||||
];
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
return [
|
||||
'listen' => 'http://0.0.0.0:8787',
|
||||
'listen' => 'http://0.0.0.0:4680',
|
||||
'transport' => 'tcp',
|
||||
'context' => [],
|
||||
'name' => 'webman',
|
||||
|
||||
Reference in New Issue
Block a user