zoonderkins / blahdns

A small hobby ads block dns project with doh, dot, dnscrypt support.
https://blahdns.com
GNU Affero General Public License v3.0
436 stars 25 forks source link

Alfis resolver support 🚀 #251

Closed notramo closed 2 years ago

notramo commented 2 years ago

Alfis (Alternative Free Identity System) is a free domain name system. It's based on blockchain (but has no cryptocurrency), and provides free domain name registration in 10 alternative TLD, with .anon and .ygg are being Yggdrasil-only. As the resolver is being blockchain-based, Alfis support in BlahDNS would provide significant energy saving on mobile devices when using Alfis domains. https://alfis.name

zoonderkins commented 2 years ago

Hi, This already support on Japan server by default.

zoonderkins commented 2 years ago

Hi,

Already implement into all server. Do you have any .anon domain to test it out?

Thanks

❯ kdig mesh.ygg +tls @dot-jp.blahdns.com aaaa
;; TLS session (TLS1.3)-(ECDHE-X25519)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 15114
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 4096 B; ext-rcode: NOERROR
;; PADDING: 391 B

;; QUESTION SECTION:
;; mesh.ygg.                IN  AAAA

;; ANSWER SECTION:
mesh.ygg.               2065    IN  AAAA    302:0:0:a6a1::2

;; Received 468 B
;; Time 2022-05-01 03:57:04 CST
;; From 139.162.112.47@853(TCP) in 83.8 ms

❯ kdig mesh.ygg +tls @dot-sg.blahdns.com aaaa
;; TLS session (TLS1.3)-(ECDHE-X25519)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 55600
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 4096 B; ext-rcode: NOERROR
;; PADDING: 391 B

;; QUESTION SECTION:
;; mesh.ygg.                IN  AAAA

;; ANSWER SECTION:
mesh.ygg.               2985    IN  AAAA    302:0:0:a6a1::2

;; Received 468 B
;; Time 2022-05-01 03:57:09 CST
;; From 192.53.175.149@853(TCP) in 412.4 ms

❯ kdig mesh.ygg +tls @dot-de.blahdns.com aaaa
;; TLS session (TLS1.3)-(ECDHE-X25519)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 16199
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 4096 B; ext-rcode: NOERROR
;; PADDING: 391 B

;; QUESTION SECTION:
;; mesh.ygg.                IN  AAAA

;; ANSWER SECTION:
mesh.ygg.               2981    IN  AAAA    302:0:0:a6a1::2

;; Received 468 B
;; Time 2022-05-01 03:57:13 CST
;; From 78.46.244.143@853(TCP) in 343.6 ms

❯ kdig mesh.ygg +tls @dot-fi.blahdns.com aaaa
;; TLS session (TLS1.3)-(ECDHE-X25519)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 21464
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 4096 B; ext-rcode: NOERROR
;; PADDING: 391 B

;; QUESTION SECTION:
;; mesh.ygg.                IN  AAAA

;; ANSWER SECTION:
mesh.ygg.               2973    IN  AAAA    302:0:0:a6a1::2

;; Received 468 B
;; Time 2022-05-01 03:57:18 CST
;; From 95.216.212.177@853(TCP) in 378.3 ms

❯ kdig mesh.ygg +tls @dot-ch.blahdns.com aaaa
;; TLS session (TLS1.3)-(ECDHE-X25519)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 4237
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 4096 B; ext-rcode: NOERROR
;; PADDING: 391 B

;; QUESTION SECTION:
;; mesh.ygg.                IN  AAAA

;; ANSWER SECTION:
mesh.ygg.               2963    IN  AAAA    302:0:0:a6a1::2

;; Received 468 B
;; Time 2022-05-01 03:57:31 CST
;; From 45.91.92.121@853(TCP) in 313.1 ms