Open elonleebj opened 9 months ago
https://ipget.net/?ip="${domain}",浏览器内直接访问可以获得信息;但在centOS上,curl -sm8 https://ipget.net/?ip="${domain}"(替换成了我自己的域名),无法通过这个网站获取域名解析的IP了,导致安装脚本无法继续运行。
可以改成 curl -sm8 http://ip-api.com/line/"${domain}"?fields=query
https://ipget.net/?ip="${domain}",浏览器内直接访问可以获得信息;但在centOS上,curl -sm8 https://ipget.net/?ip="${domain}"(替换成了我自己的域名),无法通过这个网站获取域名解析的IP了,导致安装脚本无法继续运行。