• Re: network-manager-gnome - no primary & secondary dns possible?

    From Michael Biebl@21:1/5 to dude on Sat Oct 16 09:50:02 2021
    XPost: linux.debian.user
    To: debian-user@lists.debian.org
    To: debian-devel@lists.debian.org

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hZ01CQWiujhoGLkwcKIY6SyrY4evugy9X
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    Am 16.10.21 um 09:27 schrieb dude:
    Hello,

    on latest Debian 11 + MATE Desktop (it is software simplicity at it's
    best :)

    why is it not possible to set primary & secondary dns via network-manager-gnome? (only "additional dns")

    It is possible. Choose
    Method: Automatic (DHCP) addresses only

    [Methode: Automatisch (DHCP), nur Adressen]

    then specify your DNS servers manually.

    also: it used to be /etc/resolv.conf

    where nameservers are set

    It still is

    systemd is doing it’s own thing

    /etc/systemd/resolved.conf

    Completely unrelated file




    --hZ01CQWiujhoGLkwcKIY6SyrY4evugy9X--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmFqg5MFAwAAAAAACgkQauHfDWCPItyz qA//SsG/pi7rDecWY9vOP28cPxhgzkZrG0UQ5TV5BeweMowZfqiv5aRxS37IdLdlB9aRIKmfP1o+ 3AoYT6pZTd1lfr86AxvXROxBu9bWBbp0SnWCnyzMKIiwDfP3s9GYtlumjmNYkKspgWVlAmKi7Z2N pMNBSUJsE/oqiR25jRj1bHfNTztpjIRJIp4KJcRTK5Lm2OzwZtLdCnhYGF6IpBX3azY/C71Mel59 h2y6CUHPMwUMF57pv5250Ummg5VnChkFTh4Any/m604qPvRFCIG5/NZymo8l58rpVUnAj9BiBjYV ol9b+UL6D7ZtCYTpEtI52iRo982bfc+kFlJ6FdWzd5TjtR3ttHlI1Cr/8bssE17q/ZbjPP7/8S92 MWjw08IDELCfxkaZnfGPH50uhXkzrdjqLqKZX21fF4S78Fv1HyRtKMv/gC51GFHDh8E4Rml/MNCr uif+2z6+H/zT6i/iHpSgP3/PKZe9tnXpwgUSVwf+agmZzFYII+qZ3SoOmClAtcY7CVacYl7EGrR3 8Oe+EB5PeGPFTUW1HUOtOu01+pxdT8EAZH5hrKWyF+dH21ChPEFstWom5KsYr9nQ6CEbv7KIwzGJ y311bKW3R/gJFAN0TYJnRFK5qxtFzT6EGyIrkGAQ7YEFl99iGwOMyFqxAiBY+GEGd7HE1XUKoJZ1 7AE=
    =ay+U
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dude@21:1/5 to All on Sat Oct 16 10:10:01 2021
    XPost: linux.debian.user

    Hello,

    on latest Debian 11 + MATE Desktop (it is software simplicity at it's
    best :)

    why is it not possible to set primary & secondary dns via network-manager-gnome? (only "additional dns")

    also: it used to be /etc/resolv.conf

    where nameservers are set

    systemd is doing it’s own thing

    /etc/systemd/resolved.conf

    and Ubuntu (based on Debian) is doing (again) it’s entirely own thing (netplan)

    rendering 99% of all documentation useless X-D and annoys and confuses
    new users that just “want to set primary dns” in 3 sec not 30min to
    figure out what system is doing what how.

    why not let's do it like that:

    1. /etc/resolv.conf should stay what it is

    it could be defined in that fiel:

    2.1. via #comment in first line what program is in charge of the file

    2.2. second #comment line what syntax-format this config file is using (standard X)

    simplify! simplify! simplify!

    best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Biebl@21:1/5 to dude on Wed Oct 20 12:00:01 2021
    To: debian-devel@lists.debian.org (Debian Development)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --btejBDVVz9O9fu17cY6piELfavGmFC4sN
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    Please ask your questions on debian-user.
    debian-devel is the wrong list.


    --btejBDVVz9O9fu17cY6piELfavGmFC4sN--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmFv6A8FAwAAAAAACgkQauHfDWCPItws Aw//WMfUXTmCsQcJI1aWhhznnKpvR73UL50KdVN50tIlI+uFNkj37Y1F9CcD/fcU6m4dhh1jmOw2 p236q8NFN4U/Tru7zk4FKllZgxKBGTiw98c+RiFtDDKSPjzMhEDxExGQZjiGyS6nlhwsGiHTfR62 I/85P4HDdNP81ypiJ+gZ/OeE8Y9Q5B/ZoDoFz7p8WxrLSDcrxOFWR1ttUUH2mnra1kasjeNWEhXU J7kxIy/IxC4oTqQbXVCYkIQgRMRuRON5AZWUo0dleo2+LGU7iaNJCFWGvtyhyy0azJeXXmK9qtDA /jdUZkz+FvOHmCve9ogBGLNqzzvVNbM7vGAISgvtF2gm8vYoeArG3GbVeeD6ahd0Xk6u8ldjuWnt c3q7Fo7RkePTeBhOsFeBYMJmzZPGboe9kqNo4RItcBeXpEdKn/6gq19TVrhd7YkA+DbB+xfdlBdW rMGvqahob0/TrGDy9ca7oPZ2+h8adKeO+0jCTXCVQqbuIhLPqm16rll9mnFvZ9OoI4JBa1soht6T V/zlOcm0EJMSxNGryzM7d6HPFakhrF5/0xRU9MnQqWszPBGXP3ezkg1MUALPaJVfrrIvjE8LIUsV m0hGelAD2z1CQNAGYCm6H+CJaLO+d+roVdu6h4HJMY89gcaI+oi0NUH5ccse1l6Ufa/UKC6rgiGu VFM=
    =iVzs
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dude@21:1/5 to Michael Biebl on Wed Oct 20 11:40:01 2021
    This is a multi-part message in MIME format.
    Hello and thanks for getting back

    0. updated to latest

    apt udpate && apt upgrade

    hostnamectl; # tested on
      Operating System: Debian GNU/Linux 10 (buster)
                Kernel: Linux 4.19.0-18-amd64
          Architecture: x86-64

    1. uninstalled all network managers (now systemd is (probably) the
    network manager)

    2. why does systemd do o much other stuff than startup?

    3. currently

    cat /etc/network/interfaces

    configured like this

    # === enp2s0:config primary network interface with dhcp ===
    allow-hotplug enp2s0
    iface enp2s0 inet dhcp
    dns-nameservers 81.3.27.54
    dns-nameservers 116.202.176.26
    dns-nameservers 1.1.1.1

    auto enp2s0:0
    allow-hotplug enp2s0:0
    iface enp2s0:0 inet static
    address 192.168.0.222
    netmask 255.255.255.0
    # gateway 192.168.0.1

    # 3.1 why is Google's dns coming in first? (how can dns priority be configured?)

    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 nameserver 8.8.8.8
    nameserver 8.8.4.4
    nameserver 81.3.27.54

    On 10/16/21 09:47, Michael Biebl wrote:
    Am 16.10.21 um 09:27 schrieb dude:
    Hello,

    on latest Debian 11 + MATE Desktop (it is software simplicity at it's
    best :)

    why is it not possible to set primary & secondary dns via
    network-manager-gnome? (only "additional dns")

    It is possible. Choose
    Method: Automatic (DHCP) addresses only

    [Methode: Automatisch (DHCP), nur Adressen]

    then specify your DNS servers manually.


    also: it used to be /etc/resolv.conf

    where nameservers are set

    It still is

    systemd is doing it’s own thing

    /etc/systemd/resolved.conf

    Completely unrelated file


    well most systems now run systemd, so it is related to the "dns config
    is too complicated and every distro does it's own thing" (non
    standardized?) problem

    https://www.freedesktop.org/software/systemd/man/resolved.conf.html

    best regards

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>Hello and thanks for getting back</p>
    <p>0. updated to latest</p>
    <p><font face="Courier New, Courier, monospace"> apt udpate
    &amp;&amp; apt upgrade</font></p>
    <p><font face="Courier New, Courier, monospace">hostnamectl; #
    tested on<br>
      Operating System: Debian GNU/Linux 10 (buster)<br>
                Kernel: Linux 4.19.0-18-amd64<br>
          Architecture: x86-64<br>
    </font></p>
    <p>1. uninstalled all network managers (now systemd is (probably)
    the network manager)</p>
    <p>2. why does systemd do o much other stuff than startup?<br>
    </p>
    <p>3. currently</p>
    <p>cat /etc/network/interfaces <br>
    </p>
    <p>configured like this</p>
    <p><font face="Courier New, Courier, monospace"># === enp2s0:config
    primary network interface with dhcp ===<br>
    allow-hotplug enp2s0<br>
    iface enp2s0 inet dhcp<br>
    dns-nameservers 81.3.27.54<br>
    dns-nameservers 116.202.176.26<br>
    dns-nameservers 1.1.1.1</font></p>
    <p><font face="Courier New, Courier, monospace">auto enp2s0:0<br>
    allow-hotplug enp2s0:0<br>
    iface enp2s0:0 inet static<br>
    address 192.168.0.222<br>
    netmask 255.255.255.0<br>
    # gateway 192.168.0.1</font><br>
    </p>
    <p># 3.1 why is Google's dns coming in first? (how can dns priority
    be configured?)<br>
    </p>
    <p><font face="Courier New, Courier, monospace">cat /etc/resolv.conf
    <br>
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
    resolvconf(8)<br>
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
    OVERWRITTEN<br>
    nameserver 8.8.8.8<br>
    nameserver 8.8.4.4<br>
    nameserver 81.3.27.54<br>
    </font><br>
    </p>
    On 10/16/21 09:47, Michael Biebl wrote:<br>
    <blockquote type="cite"
    cite="mid:2b81eef2-bc52-d919-e078-5f1ac77e2a24@debian.org">Am
    16.10.21 um 09:27 schrieb dude: <br>
    <blockquote type="cite">Hello, <br>
    <br>
    on latest Debian 11 + MATE Desktop (it is software simplicity at
    it's best :) <br>
    <br>
    why is it not possible to set primary &amp; secondary dns via
    network-manager-gnome? (only "additional dns") <br>
    </blockquote>
    <br>
    It is possible. Choose <br>
    Method: Automatic (DHCP) addresses only <br>
    <br>
    [Methode: Automatisch (DHCP), nur Adressen] <br>
    <br>
    then specify your DNS servers manually. <br>
    </blockquote>
    <br>
    <blockquote type="cite"
    cite="mid:2b81eef2-bc52-d919-e078-5f1ac77e2a24@debian.org"> <br>
    <blockquote type="cite">also: it used to be /etc/resolv.conf <br>
    <br>
    where nameservers are set <br>
    </blockquote>
    <br>
    It still is <br>
    <br>
    <blockquote type="cite">systemd is doing it’s own thing <br>
    <br>
    /etc/systemd/resolved.conf <br>
    </blockquote>
    <br>
    Completely unrelated file <br>
    <br>
    <br>
    </blockquote>
    <p>well most systems now run systemd, so it is related to the "dns
    config is too complicated and every distro does it's own thing"
    (non standardized?) problem<br>
    </p>
    <p><a href="https://www.freedesktop.org/software/systemd/man/resolved.conf.html"
    class="moz-txt-link-freetext">https://www.freedesktop.org/software/systemd/man/resolved.conf.html</a></p>
    <p>best regards<br>
    </p>
    </body>
    </html>

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