BIND 9 on |Bullseye & RASPIOS

Mar 11, 2025 Last reply: 1 year ago 2 Replies

Trying to set up a Pi as local network server including local DNS elicited a problem.



It didn't always work *at all*. Or sometimes it did. The problem proved to be it trying to use IPV6 which I don't have configured.



IN order to stop it trying to contact DNS servers on IPV6, the final solution (after having tried every other alternative: The reason for posting here is so that someone somewhere will find this and not have to do the same) was to place this magic spell in



/etc/bind/named.conf.local



// disable lookup over IPv6 server ::/0 { bogus yes; };



That cleared up a slew of s*it from the logfiles. It may not be the most elegant solution but it has JustWorked.



One logfile entry remained and that was down to an out of date /etc/bind/db.root in the installation package.



The up to date version is at



formatting link



run named with command line option "-4" ?

formatting link

I read that that does not totally solve the problem, but if it works for anyone else, then that's fine

There is a distinction between clients asking Bind via IPV6 and Bind asking the root and other servers via IPV6 apparently.

But yes the place to do that in the latest bullshit - sorry bullseye - is /etc/default/named

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required