Posted: Fri Oct 11, 2024 18:30 Post subject: SmartDns & records AAAA???
Good day to all!
Trying to configure this beast in dualstack. It does not respond to AAAA record requests. Tried a lot of things I found on the topic, but nothing helps.
I need to confirm or deny the assumption about smartdns bug in dualstack
Code:
dig ANY @195.0.1.254 ya.ru
;; communications error to 195.0.1.254#53: end of file
;; communications error to 195.0.1.254#53: end of file
;; communications error to 195.0.1.254#53: end of file
;; no servers could be reached
❯ dig @195.0.1.254 ya.ru
ya.ru. 347 IN A 77.88.44.242
ya.ru. 347 IN A 77.88.55.242
ya.ru. 347 IN A 5.255.255.242
❯ dig @195.0.1.254 ya.ru ANY
;; communications error to 195.0.1.254#53: end of file
;; communications error to 195.0.1.254#53: end of file
;; communications error to 195.0.1.254#53: end of file
;; no servers could be reached
❯ dig @195.0.1.254 -p 6053 ya.ru ANY
;; Connection to 195.0.1.254#6053(195.0.1.254) for ya.ru failed: connection refused.
;; no servers could be reached
;; Connection to 195.0.1.254#6053(195.0.1.254) for ya.ru failed: connection refused.
;; no servers could be reached
;; Connection to 195.0.1.254#6053(195.0.1.254) for ya.ru failed: connection refused.
;; no servers could be reached
❯ dig @195.0.1.254 -p 6053 ya.ru
ya.ru. 303 IN A 77.88.44.242
ya.ru. 303 IN A 77.88.55.242
ya.ru. 303 IN A 5.255.255.242
P.S. I quite admit that my own mistake was not noticed, but walking on the same rake is already steamed.
Thank you for your attention and attempt to help.
I figured out what the problem was. I spent a long time fiddling with different options and managed to make this farm work as I needed. The main problem was that I needed to disable AAAA records for a certain list of domains, but leave the work on the IPv6 protocol for the rest. I achieved this with a combination of smartdns + dnsmasq. smartdns pulls records of all types, and smartdns filters AAAA for the necessary domains