Sujet : BIND 9 on |Bullseye & RASPIOS
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-pi comp.os.linux.miscDate : 11. Mar 2025, 09:22:07
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vqorrf$1s78c$6@dont-email.me>
User-Agent : Mozilla Thunderbird
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 shit 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
https://www.internic.net/domain/named.root-- "I am inclined to tell the truth and dislike people who lie consistently.This makes me unfit for the company of people of a Left persuasion, and all women"