• Systemd-resolvd fantasma...

    From Marco Gaiarin@21:1/5 to All on Wed Dec 18 00:00:02 2024
    Ho fatto una installazione di debian (veramente yunohost, ma vabbè) in modo scimmiesco, facendomi dare l'indirizzo da DHCP.

    Una volta verificato due cose, l'ho staticizzato in /etc/network/interfaces
    e in /etc/hosts, ma se vado a vedere in /etc/resolv.conf:

    root@vyhlpb1:~# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    # 127.0.0.53 is the systemd-resolved stub resolver.
    # run "resolvectl status" to see details about the actual nameservers.

    nameserver 127.0.0.1

    il problema è che non risulta installato ne systemd-resolved ne resolvectl:

    root@vyhlpb1:~# dpkg -l | egrep 'resolve(d|c)'
    root@vyhlpb1:~#

    'resolvconf' invece è installato: e perchè fa riferimento a systemd?


    Uffa... 'ste cose mi fanno sentire vecchio... ;-)

    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Giuseppe Sacco@21:1/5 to All on Wed Dec 18 14:30:01 2024
    Ciao Marco,

    Il giorno mar, 17/12/2024 alle 23.29 +0100, Marco Gaiarin ha scritto:
    Ho fatto una installazione di debian (veramente yunohost, ma vabbè) in modo scimmiesco, facendomi dare l'indirizzo da DHCP.
    [...]
    root@vyhlpb1:~# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    # 127.0.0.53 is the systemd-resolved stub resolver.
    # run "resolvectl status" to see details about the actual nameservers.

    nameserver 127.0.0.1
    [...]
    'resolvconf' invece è installato: e perchè fa riferimento a systemd?

    il riferimento a systemd è solo nel commento, ma il nameserver non è quello di systemd, che sarebbe 127.0.0.53. Il problema forse sta nel fatto che
    quando questa configurazione è stata fatta mentre era attivo il resolver di systemd?

    Ciao,
    Giuseppe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Gaiarin@21:1/5 to All on Sun Dec 29 22:00:01 2024
    Mandi! Giuseppe Sacco
    In chel di` si favelave...

    il riferimento a systemd è solo nel commento, ma il nameserver non è quello di systemd, che sarebbe 127.0.0.53. Il problema forse sta nel fatto che quando questa configurazione è stata fatta mentre era attivo il resolver di systemd?

    Mmmhhhh... mi sa che la cosa è più complicata di così: a naso yunohost per poter gestire alcuni check usa una set di resolver predefiniti, e monta una istanza di dnsmasq.

    Insomma, non tocco. ;-)

    --

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