PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 電腦硬體討論群組 > 系統組件
帳戶
密碼
 

  回應
 
主題工具
crisliu2004
Major Member
 
crisliu2004的大頭照
 

加入日期: Dec 2004
文章: 208
請教一下,目前有linux指令可以透過doh取得domain name ip嗎?

像getent那樣
     
      
舊 2024-06-17, 11:00 PM #61
回應時引用此文章
crisliu2004離線中  
野口隆史
Elite Member
 
野口隆史的大頭照
 

加入日期: Mar 2001
您的住址: Rivia
文章: 6,976
引用:
作者crisliu2004
請教一下,目前有linux指令可以透過doh取得domain name ip嗎?

像getent那樣

https://github.com/ameshkov/dnslookup
 
__________________
Folding@home with GPGPU集中討論串

Unix Review: ArchLinuxSabayonOpenSolaris 2008.5Ubuntu 8.10
AVs Review: GDTCAntiVir SSESSKIS 09NIS 09Norton 360 V3

I Always Get What I Want.
舊 2024-06-18, 02:44 PM #62
回應時引用此文章
野口隆史離線中  
sparc10
Junior Member
 
sparc10的大頭照
 

加入日期: Jun 2003
您的住址: CC BY-NC-ND 4.0授權
文章: 704
Talking

引用:
作者sparc10
# DNS
【轉貼】Hagezi's DNS – Ultimate
x-hagezi-ultimate.freedns.controld.co
其DOT應爲
x-hagezi-ultimate.freedns.controld.com

如果網友想要在Windows用底下這幾組DNS與HOSTS的組合,則網友必須事先執行此BAT。
disable-dnscache-service-win.bat(注1)
https://github.com/StevenBlack/host...service-win.bat

而且網友還要手動下載HOSTS,且手動移除HOSTS副檔名,再手動地將「下載的HOSTS」放入下列路徑。
Windows: C:\Windows\System32\drivers\etc

# 平衡配置
## 1--DNS:Hagezi's DNS - Pro Plus,HOSTS:1Hosts (Lite)
DNS:Hagezi's DNS - Pro Plus
x-hagezi-proplus
76.76.2.42
76.76.10.42
2606:1a40::42
2606:1a40:1::42
DOH
https://freedns.controld.com/x-hagezi-proplus
DOT
x-hagezi-proplus.freedns.controld.com

HOSTS:1Hosts (Lite)
【轉貼】variant 2: balanced; set & forget, doesn't hamper user experience (UX), recommended.
https://o0.pages.dev/Lite/hosts.win
(網友還要手動下載HOSTS,且手動移除HOSTS副檔名,再手動地將「下載的HOSTS」放入下列路徑。
Windows: C:\Windows\System32\drivers\etc)


# 激進配置
## 2--DNS:Hagezi's DNS – Ultimate,HOSTS:1Hosts (Pro)
DNS:Hagezi's DNS – Ultimate
x-hagezi-ultimate
76.76.2.45
76.76.10.45
2606:1a40::45
2606:1a40:1::45
DOH
https://freedns.controld.com/x-hagezi-ultimate
DOT
x-hagezi-ultimate.freedns.controld.com

HOSTS:1Hosts (Pro)
【轉貼】variant 3: strict; has some minimal breakages, prioritizes privacy & safety (adblocking) over UX e.g blocks graph.facebook.com.
https://o0.pages.dev/Pro/hosts.win
(網友還要手動下載HOSTS,且手動移除HOSTS副檔名,再手動地將「下載的HOSTS」放入下列路徑。
Windows: C:\Windows\System32\drivers\etc )

PS:
注1:
【轉貼StevenBlack 】Warning: Using this hosts file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies access to changing services via other tools except registry hacks. Use the 【disable-dnscache-service-win.cmd】 file to make proper changes to the Windows registry. You will need to reboot your device once that's done. See the the comments within the cmd file for more details.
https://github.com/StevenBlack/host...s-cache-service

hagezi/dns-blocklists
https://github.com/hagezi/dns-blocklists

badmojr/1Hosts
https://github.com/badmojr/1Hosts

StevenBlack/hosts
https://github.com/StevenBlack/hosts
舊 2024-06-30, 08:52 AM #63
回應時引用此文章
sparc10離線中  
sparc10
Junior Member
 
sparc10的大頭照
 

加入日期: Jun 2003
您的住址: CC BY-NC-ND 4.0授權
文章: 704
如果想要在Windows用底下這幾組DNS與HOSTS的組合,則網友必須事先執行此BAT。
disable-dnscache-service-win.bat(注1)
https://github.com/StevenBlack/host...service-win.bat

而且還要手動下載HOSTS,且手動移除HOSTS副檔名,再手動地將「下載的HOSTS」放入下列路徑。
Windows: %SystemRoot%\system32\drivers\etc\hosts

# 激進配置(1Hosts (Pro)會嚴重妨礙臉書工作)
## DNS:Privacy-First ,HOSTS:HaGeZi's Ultimate DNS Blocklist
(雖然Privacy-First DNS ping數高,但連綫臉書、、、都快。)

Privacy-First DNS block over 140K ads, ad-tracking, malware and phishing domains!. No Logging, No ECS, DNSSEC Validation, Free!
其阻擋名單高達33MB!
https://tiarap.org/

Singapore DNS Server
DNS, IPv4 174.138.21.128
DNS, IPv6 2400:6180:0:d0::5f6e:4001
DNS-over-TLS tls://dot.tiar.app
DNS-over-HTTPS https://doh.tiarap.org/dns-query (cached via third-party)
DNS-over-HTTPS https://doh.tiar.app/dns-query
DNS-over-QUIC quic://doh.tiar.app

Japan DNS Server
DNS, IPv4 172.104.93.80
DNS, IPv6 2400:8902::f03c:91ff:feda:c514
DNS-over-TLS tls://jp.tiar.app
DNS-over-HTTPS https://jp.tiarap.org/dns-query
DNS-over-HTTPS https://jp.tiar.app/dns-query

下載HOSTS
Multi ULTIMATE - Aggressive protection
https://cdn.jsdelivr.net/gh/hagezi/...ts/ultimate.txt

PS:
注1:
【轉貼StevenBlack 】Warning: Using this hosts file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies access to changing services via other tools except registry hacks. Use the 【disable-dnscache-service-win.cmd】 file to make proper changes to the Windows registry. You will need to reboot your device once that's done. See the the comments within the cmd file for more details.
https://github.com/StevenBlack/host...s-cache-service
https://o0.pages.dev/Pro/hosts.win

控制臺》網路》WiFi》ㄟ吽i隨機硬體位址】

在Window終端機/CMD/PowerShell重置DNS
ipconfig/flushdns

改完後,可用下方網頁確認是否修改DNS成功,以及是否使用香港DNS!
https://browserleaks.com/dns
舊 2024-07-12, 07:21 AM #64
回應時引用此文章
sparc10離線中  


    回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼關閉



所有的時間均為GMT +8。 現在的時間是02:20 AM.


vBulletin Version 3.0.1
powered_by_vbulletin 2024。