feat request? happy eyeballs v4 #112

Closed
opened 2026-04-17 00:22:51 +08:00 by bcookatpcsd · 3 comments
bcookatpcsd commented 2026-04-17 00:22:51 +08:00 (Migrated from github.com)

rfc 6555 - happy eyeballs..

and ipv4 only networks..

the request is "to filter out and not return AAAA records and not cause problems to the server or clients by doing so."

this is working in dnsdist:
addAction(OrRule({ QTypeRule(DNSQType.AAAA), QTypeRule(DNSQType.LOC) }), RCodeAction(DNSRCode.NOERROR) )

dnsmasq has filter-AAAA

unbound has tricks with 'private-address ::/0'

Open to anything which does not cause the client to 'retry' or 're-ask' because of the server response to the client query..

(more sauce for reference)
https://serverfault.com/questions/632665/how-to-disable-aaaa-lookups

rfc 6555 - happy eyeballs.. and ipv4 only networks.. the request is "to filter out and not return AAAA records and not cause problems to the server or clients by doing so." this is working in dnsdist: addAction(OrRule({ QTypeRule(DNSQType.AAAA), QTypeRule(DNSQType.LOC) }), RCodeAction(DNSRCode.NOERROR) ) dnsmasq has filter-AAAA unbound has tricks with 'private-address ::/0' Open to anything which does not cause the client to 'retry' or 're-ask' because of the server response to the client query.. (more sauce for reference) https://serverfault.com/questions/632665/how-to-disable-aaaa-lookups
bcookatpcsd commented 2026-04-19 02:59:55 +08:00 (Migrated from github.com)

building atm..

will test and let you know..

thank you

(trying to be a better netizen and not waste resources which will never be utilized)

building atm.. will test and let you know.. thank you (trying to be a better netizen and not waste resources which will never be utilized)
bcookatpcsd commented 2026-04-19 03:04:22 +08:00 (Migrated from github.com)

filter-aaaa branch

 kdig @192.168.88.252 -p 53 www.google.com AAAA
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 59328
;; Flags: qr rd ra; QUERY: 1; ANSWER: 0; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 1232 B; ext-rcode: NOERROR

;; QUESTION SECTION:
;; www.google.com.     		IN	AAAA

;; Received 43 B
;; Time 2026-04-18 15:03:01 EDT
;; From 192.168.88.252@53(UDP) in 0.2 ms

main

 kdig @192.168.88.252 -p 53 www.google.com AAAA
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 42174
;; Flags: qr rd ra; QUERY: 1; ANSWER: 8; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 1232 B; ext-rcode: NOERROR

;; QUESTION SECTION:
;; www.google.com.     		IN	AAAA

;; ANSWER SECTION:
www.google.com.     	47	IN	AAAA	2001:4860:482d:7700::
www.google.com.     	47	IN	AAAA	2001:4860:4826:7700::
www.google.com.     	47	IN	AAAA	2001:4860:4827:7700::
www.google.com.     	47	IN	AAAA	2001:4860:482b:7700::
www.google.com.     	47	IN	AAAA	2001:4860:482c:7700::
www.google.com.     	47	IN	AAAA	2001:4860:4828:7700::
www.google.com.     	47	IN	AAAA	2001:4860:4829:7700::
www.google.com.     	47	IN	AAAA	2001:4860:482a:7700::

;; Received 379 B
;; Time 2026-04-18 14:55:30 EDT
;; From 192.168.88.252@53(UDP) in 0.5 ms
filter-aaaa branch ``` kdig @192.168.88.252 -p 53 www.google.com AAAA ;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 59328 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 0; AUTHORITY: 0; ADDITIONAL: 1 ;; EDNS PSEUDOSECTION: ;; Version: 0; flags: ; UDP size: 1232 B; ext-rcode: NOERROR ;; QUESTION SECTION: ;; www.google.com. IN AAAA ;; Received 43 B ;; Time 2026-04-18 15:03:01 EDT ;; From 192.168.88.252@53(UDP) in 0.2 ms ``` main ``` kdig @192.168.88.252 -p 53 www.google.com AAAA ;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 42174 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 8; AUTHORITY: 0; ADDITIONAL: 1 ;; EDNS PSEUDOSECTION: ;; Version: 0; flags: ; UDP size: 1232 B; ext-rcode: NOERROR ;; QUESTION SECTION: ;; www.google.com. IN AAAA ;; ANSWER SECTION: www.google.com. 47 IN AAAA 2001:4860:482d:7700:: www.google.com. 47 IN AAAA 2001:4860:4826:7700:: www.google.com. 47 IN AAAA 2001:4860:4827:7700:: www.google.com. 47 IN AAAA 2001:4860:482b:7700:: www.google.com. 47 IN AAAA 2001:4860:482c:7700:: www.google.com. 47 IN AAAA 2001:4860:4828:7700:: www.google.com. 47 IN AAAA 2001:4860:4829:7700:: www.google.com. 47 IN AAAA 2001:4860:482a:7700:: ;; Received 379 B ;; Time 2026-04-18 14:55:30 EDT ;; From 192.168.88.252@53(UDP) in 0.5 ms ```
razvandimescu commented 2026-04-19 12:33:45 +08:00 (Migrated from github.com)

added few more tests and it’s on main now, thank you!

added few more tests and it’s on main now, thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/numa#112