Hacker News new | ask | show | jobs
by muhammadn 486 days ago
As per the article mentions of resolving AAAA IPv6 records, a feature was just merged into Linux's systemd-resolved last week.

https://github.com/systemd/systemd/pull/34165

So you can do.

RefuseRecordTypes=AAAA

So there, your DNS won't ever query for IPv6 AAAA records.

(in fact you can refuse any DNS questions like MX, SRV, TXT as well with:

RefuseRecordTypes=MX SRV TXT)

Note - I started adding that feature because some applications were "misbehaving" and querying AAAA records when IPv6 stack was disabled.

1 comments

can it do `RefuseRecordTypes=A` as well?