翻遍全网了,百度 谷歌 github stackoverflow 等 都没见。 有知道的吗,希望能给点思路
|
oooxxxJan 19, 2018
1
Dig 有一堆东东。。。
如果想发自定义 DNS lookup,可以看看这个: https://docstore.mik.ua/orelly/networking_2ndEd/dns/ch15_02.htm |
|
ysc3839Jan 20, 2018
2
dig 不是开源的吗?你说搜不到的意思是你要直接能在 iOS 下运行的 dig ?
|
|
id0096Aug 13, 2021
3
可以先安装 BIND DNS Server 然后把 dig 拿出来
# apt-get install bind # cat > /etc/resolv.conf nameserver 8.8.8.8 ^D # cp /usr/bin/dig /usr/bin/dig_ # cp /usr/bin/nslookup /usr/bin/nslookup_ # cp /usr/bin/host /usr/bin/host_ # apt-get remove bind # mv /usr/bin/dig_ /usr/bin/dig # mv /usr/bin/nslookup_ /usr/bin/nslookup # mv /usr/bin/host_ /usr/bin/host 参考: https://forums.modmy.com/3rd-party-apps-requests-f32/736743-no-dns-utils.html |
|
strpJan 20, 2023 via iPhone
4
|