提交 87ffa0b0 编写于 作者: M m0_60155232

Wed Sep 13 11:41:00 CST 2023 inscode

上级 622c6e17
...@@ -8,9 +8,7 @@ import axios from 'axios'; ...@@ -8,9 +8,7 @@ import axios from 'axios';
// 域名解析处理器 // 域名解析处理器
async function parseHanle() { async function parseHanle() {
const proxyUrl = 'https://cors-anywhere.herokuapp.com/'; const res = await axios.get("http://139.159.151.0:8080/parse?domain=meibu1g.cn");
const targetUrl = `https://dns.google.com/resolve?name=baidu.com`
const res = await axios.get(proxyUrl + targetUrl);
console.log(res); console.log(res);
} }
</script> </script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册