On Sun, 10 Jul 2022 06:44:46 +0200 (CEST) local10 <loca...@tutanota.com> wrote:
> Jul 10, 2022, 00:51 by charlescur...@charlescurley.com: > > > I do it in part by > > using my own resolver, BIND9, and having it return only IPv4 > > addresses. > > How did you do it? I tried to start named with "-4" option to use > only ipv4 but it refused to start with that option, IIRC. > > Regards, > My /etc/default/named looks like: # # run resolvconf? RESOLVCONF=no # startup options for the server OPTIONS="-4 -u bind" That should do it. But all that does is tell named to use IPv4. It will still return IPv6 addresses. So maybe I'm wrong about returning only IPv4 addresses. Hmmm.... -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/