• BIND 9 on |Bullseye & RASPIOS

    From The Natural Philosopher@21:1/5 to All on Tue Mar 11 08:22:07 2025
    XPost: comp.sys.raspberry-pi

    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"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to The Natural Philosopher on Tue Mar 11 09:43:31 2025
    XPost: comp.sys.raspberry-pi

    The Natural Philosopher wrote:

    The problem proved to be it trying to use IPV6 which I don't have
    configured.

    run named with command line option "-4" ?

    <https://bind9.readthedocs.io/en/latest/manpages.html#cmdoption-named-4>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Andy Burns on Tue Mar 11 10:45:15 2025
    XPost: comp.sys.raspberry-pi

    On 11/03/2025 09:43, Andy Burns wrote:
    The Natural Philosopher wrote:

    The problem proved to be it trying to use IPV6 which I don't have
    configured.

    run named with command line option "-4" ?

    <https://bind9.readthedocs.io/en/latest/manpages.html#cmdoption-named-4>

    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


    --
    Renewable energy: Expensive solutions that don't work to a problem that
    doesn't exist instituted by self legalising protection rackets that
    don't protect, masquerading as public servants who don't serve the public.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)