On 2023-05-08 14:30, Andrei Borzenkov wrote:
On 08.05.2023 12:40, Carlos E. R. wrote: ...
They are not in the same order, so comparison is not obvious. But I see these:
NETCONFIG_DNS_FORWARDER='resolver' NETCONFIG_DNS_FORWARDER="dnsmasq"
NETCONFIG_DNS_POLICY='auto' NETCONFIG_DNS_POLICY="STATIC"
And we still do not know which lines come from which system ...
Yes you do. They are in order, you removed the information: cer@Telcontar:~> grep NETCONFIG /etc/sysconfig/network/config cer@Beta:~> grep NETCONFIG /Other/etc/sysconfig/network/config I first posted the output of those commands (the commands with their respective outputs in a single paste sweep), and then a paragraph with the differences I noticed. So:
NETCONFIG_DNS_FORWARDER='resolver' <= Telcontar NETCONFIG_DNS_FORWARDER="dnsmasq" <= Laptop used in previous thread
NETCONFIG_DNS_POLICY='auto' <= Telcontar NETCONFIG_DNS_POLICY="STATIC" <= Laptop used in previous thread
It is obvious.
Now, where should dnsmasq get the external forwarders from... ah:
laicolasse (NM):
# Change this line if you want dns to get its upstream servers from # somewhere other that /etc/resolv.conf #CER resolv-file=/run/NetworkManager/no-stub-resolv.conf
Telcontar:
# Change this line if you want dns to get its upstream servers from # somewhere other that /etc/resolv.conf #resolv-file=
Ok, I have to change that one. To what, using wicked?
dnsmasq module writes into /run/dnsmasq-forwarders.conf. It is even documented in "man 8 netconfig" ... but of course real men do not read those manuals.
I did not know I had to read that man page in particular. And no, the information is not there: cer@Telcontar:~> cat /run/dnsmasq-forwarders.conf ### /run/dnsmasq-forwarders.conf: global dns forwarders ### for use as dnsmasq --resolv-file, autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY='' # # See also the netconfig(8) manual page and other documentation. # nameserver 192.168.1.16 cer@Telcontar:~> The telefónica DNS servers are missing. It should have: 192.168.1.1 or 80.58.61.250, server=80.58.61.254 and 2a02:9000::aaaa, 2a02:9000::bbbb Another machine (Beta) that runs NM, has the correct information: cer@Beta:~> cat /run/NetworkManager/no-stub-resolv.conf # Generated by NetworkManager search Beta.valinor nameserver 80.58.61.254 nameserver 80.58.61.250 nameserver 2a02:9000::aaaa # NOTE: the libc resolver may not support more than 3 nameservers. # The nameservers listed below may not be recognized. nameserver 2a02:9000::bbbb cer@Beta:~> -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)