PCDVD數位科技討論區

PCDVD數位科技討論區 (https://www.pcdvd.com.tw/index.php)
-   系統組件 (https://www.pcdvd.com.tw/forumdisplay.php?f=19)
-   -   自建公眾 DNS 計畫 (https://www.pcdvd.com.tw/showthread.php?t=1157681)

crisliu2004 2024-06-17 11:00 PM

請教一下,目前有linux指令可以透過doh取得domain name ip嗎?

像getent那樣

野口隆史 2024-06-18 02:44 PM

引用:
作者crisliu2004
請教一下,目前有linux指令可以透過doh取得domain name ip嗎?

像getent那樣

https://github.com/ameshkov/dnslookup

sparc10 2024-06-30 08:52 AM

引用:
作者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

sparc10 2024-07-12 07:21 AM

如果想要在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

sparc10 2024-11-15 11:45 AM

Dns over Htpps(DOH)優點
https://vercara.com/resources/what-...dns-dot-and-doh

# APP
1>Intra (容易上手Dns over Htpps的安卓APP)
4.3star 6.63萬則評論 1,000萬+
https://play.google.com/store/apps/....intra&hl=zh_TW

2>personalDNSfilter(支援安卓、Windows、LINUX、、等作業系統)
https://play.google.com/store/apps/...sfilter.android
https://www.zenz-solutions.de/personaldnsfilter-wp/

# 阻擋惡意網站、追蹤、、的公衆DNS
阻擋範圍由小到大:Pro > Pro Plus > Ultimate
Hagezi's DNS - Pro
DOH
https://freedns.controld.com/x-hagezi-pro
76.76.2.41
76.76.10.41
2606:1a40::41
2606:1a40:1::41

Hagezi's DNS - Pro Plus
DOH
https://freedns.controld.com/x-hagezi-proplus
76.76.2.42
76.76.10.42
2606:1a40::42
2606:1a40:1::42
DOT
x-hagezi-proplus.freedns.controld.com

Hagezi's DNS – Ultimate
DOH
https://freedns.controld.com/x-hagezi-ultimate
76.76.2.45
76.76.10.45
2606:1a40::45
2606:1a40:1::45
DOT
x-hagezi-ultimate.freedns.controld.com


OpenBLD.net DNS(如果需要IP,請去問開發者。)
DOH
Adaptive Filtering (ADA)
https://ada.openbld.net/dns-query
Strict Filtering (RIC)
https://ric.openbld.net/dns-query


Quad9 DNS
DOH
https://dns.quad9.net/dns-query
9.9.9.9 and 149.112.112.112
2620:fe::fe IP: 2620:fe::fe:9


Cisco Umbrella
DOH
https://doh.umbrella.com/dns-query
208.67.222.222 2620:119:35::35
208.67.220.220 2620:119:53::53


Privacy-First JAPAN DNS
DOH
https://jp.tiarap.org/dns-query
https://jp.tiar.app/dns-query
172.104.93.80
2400:8902::f03c:91ff:feda:c514


Cloudflare DNS Malware blocking only
DOH
https://security.cloudflare-dns.com/dns-query
1.1.1.2 and 1.0.0.2
2606:4700:4700::1112 and 2606:4700:4700::1002


AdGuard DNS
DOH
https://dns.adguard-dns.com/dns-query
94.140.14.14 和 94.140.15.15
2a10:50c0::ad1:ff 和 2a10:50c0::ad2:ff


CleanBrowsing Security Filter
DOH
https://doh.cleanbrowsing.org/doh/security-filter/
185.228.168.9 and 185.228.169.9
2a0d:2a00:1::2 and 2a0d:2a00:2::2

引用:
作者sparc10
Windows下開�� personalDNSfilter的dnsfilter.conf,然後修改如下。fallbackDNS = 208.67.222.222; 208.67.220.220
更正一下,personalDNSfilter作者要求IP要按照下列格式輸入。因此,我之前的説法是錯的。
# 116.202.176.26::443::DoH::https://doh.libredns.gr/dns-query (Example of DNS-over-HTTPS)
# 1.1.1.1::853::DoT::cloudflare-dns.com (DNS over TLS, domain name is optional)
# 176.103.130.130::53::UDP

sparc10 2025-01-21 08:31 PM

中國阿里巴巴公眾DNS
223.5.5.5和223.6.6.6
2400:3200::1和2400:3200:baba::1

DNS-over-HTTPS
https://dns.alidns.com/dns-query

DNS-over-TLS
tls://dns.alidns.com

DNS-over-QUIC
quic://dns.alidns.com:853

[PLDT] Want a reliable internet? Here it is... but...
https://www.reddit.com/r/InternetPH...here_it_is_but/

中國阿里巴巴DNS網站
https://alidns.com/
===============

BebasDNS,仅包含 Hagezi Multi Normal 过滤器。
协议 地址
DNS-over-HTTPS https://dns.bebasid.com/dns-hagezi
DNS-over-TLS tls://hagezi.dns.bebasid.com:853
===============

不壅塞的DNS解析
https://0ms.dev/

關於0ms.dev DNS
https://s1.0ms.dev/docs/dns/

【轉貼】變體 HTTPS 上的 DNS 描述
未過濾 https://0ms.dev/dns-query Cloudflare 的 1.1.1.1 DNS 的上游,但無壅塞。
安全 https://0ms.dev/dns-security Cloudflare 的 1.1.1.2 DNS 的上游,但無壅塞。

廣|告攔截 https://0ms.dev/dns-adblock 獲得OISD Big濾鏡的額外好處。
CN優化 https://0ms.dev/dns-cn 最適合往返中國的交通。推薦給中國及週邊國家的使用者。


DNS64 未過濾 https://0ms.dev/dns64 支援純 IPv6 網路。只有當您管理或使用純 IPv6 網路時,才應啟用 DNS64。
加速器 https://0ms.dev/dns/(您的首選 DNS 提供者) 快速且可預測的 DNS 使用*,
確保任何 DoH 提供者都能提供流暢、可靠的線上體驗。
如果您的 DNS 上游距離您所在的國家/地區較遠,這非常有用。
使用方法:
https://0ms.dev/dns/dns.google/dns-query

多隊列 https://0ms.dev/mq/(您的首選 DNS 提供者) 在Accelerator變體中新增多隊列支援。您可以透過在上游之間新增/mq/來指定多個上游。使用方法:
https: //0ms.dev/mq/dns.google/dns-query/mq/freedns.controld.com/p0
============

Optimized version of OISD BlockLists
https://github.com/cbuijs/oisd

Optimized OISD Big List
https://raw.githubusercontent.com/s...nswild2_big.txt

sparc10 2025-04-24 12:16 PM

引用:
作者sparc10
不壅塞的DNS解析
https://0ms.dev/

關於0ms.dev DNS
https://s1.0ms.dev/docs/dns/
他們更新了DOH、DOT。
在Windows就用DOH
https://0ms.dev/dns-query

在安卓的私人DNS則用DOT
0ms.dev

PS:
他們使用AdGuard DNS filter list,並將DNS架在CloudFlare!:like: :like:

引用:
作者sparc10
中國阿里巴巴公眾DNS
223.5.5.5和223.6.6.6
2400:3200::1和2400:3200:baba::1

中國阿里巴巴DNS網站
https://alidns.com/
中國阿里巴巴DNS已經限制詢問數量! :jolin: :jolin:

野口隆史 2025-04-24 02:09 PM

台灣現在還可以用這個
https://github.com/Lawlietr/avpclub.github.io
完全只有我一個人在執行項目
最近開始準備收人

sparc10 2025-04-24 03:32 PM

引用:
作者野口隆史
台灣現在還可以用這個
https://github.com/Lawlietr/avpclub.github.io
完全只有我一個人在執行項目
最近開始準備收人
你的DNS架在CloudFlare,贊啦!👍

saloman 2025-04-24 07:00 PM

引用:
作者野口隆史
台灣現在還可以用這個
https://github.com/Lawlietr/avpclub.github.io
完全只有我一個人在執行項目
最近開始準備收人

請問手機如何使用?


所有的時間均為GMT +8。 現在的時間是11:22 PM.

vBulletin Version 3.0.1
powered_by_vbulletin 2026。