On 2023-05-08 11:20, Per Jessen wrote:
Carlos E. R. wrote:
And I thought it was the same machine I had asked about dnsmasq recently, so the details would be remembered, but it isn't.
It's probably a little too much to expect us to remember the config of your machines :-)
Hey, it was 4:30 AM. I wasn't thinking much.
Telcontar:~ # cat /etc/resolv.conf ... nameserver 127.0.0.1 nameserver 192.168.1.16 nameserver 2a02:9000::aaaa Telcontar:~ #
That IPv6 address I do not want there, it should be inside dnsmasq.
I guess you want nobody to touch your resolv.conf, but your ipv6 config still updates it. Isn't this one of the NETCONFIG* options in /etc/sysconfig/network/config ?
cer@Telcontar:~> grep NETCONFIG /etc/sysconfig/network/config NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime" NETCONFIG_DNS_POLICY='auto' NETCONFIG_DNS_FORWARDER='resolver' NETCONFIG_DNS_STATIC_SEARCHLIST='valinor' NETCONFIG_DNS_STATIC_SERVERS='127.0.0.1 192.168.1.16' NETCONFIG_NTP_POLICY="auto" NETCONFIG_NTP_STATIC_SERVERS="" NETCONFIG_NIS_POLICY='' NETCONFIG_NIS_SETDOMAINNAME='yes' # the NETCONFIG_NIS_STATIC_DOMAIN and NETCONFIG_NIS_STATIC_SERVERS # variables, e.g.: NETCONFIG_NIS_STATIC_DOMAIN_1="second". NETCONFIG_NIS_STATIC_DOMAIN='' NETCONFIG_NIS_STATIC_SERVERS='' NETCONFIG_DNS_FORWARDER_FALLBACK="yes" NETCONFIG_DNS_RANKING="auto" NETCONFIG_DNS_RESOLVER_OPTIONS="" NETCONFIG_DNS_RESOLVER_SORTLIST="" NETCONFIG_VERBOSE="no" NETCONFIG_FORCE_REPLACE="no" In Laicolasse (the machine in the other thread), I have: cer@Beta:~> grep NETCONFIG /Other/etc/sysconfig/network/config NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime" NETCONFIG_VERBOSE="no" NETCONFIG_FORCE_REPLACE="no" NETCONFIG_DNS_POLICY="STATIC" #NETCONFIG_DNS_POLICY="" #NETCONFIG_DNS_POLICY="auto" NETCONFIG_DNS_FORWARDER="dnsmasq" NETCONFIG_DNS_FORWARDER_FALLBACK="yes" NETCONFIG_DNS_STATIC_SEARCHLIST="valinor" # When the NETCONFIG_DNS_FORWARDER variable is set to "resolver", NETCONFIG_DNS_STATIC_SERVERS="127.0.0.1" NETCONFIG_DNS_RANKING="auto" NETCONFIG_DNS_RESOLVER_OPTIONS="" NETCONFIG_DNS_RESOLVER_SORTLIST="" NETCONFIG_NTP_POLICY="auto" NETCONFIG_NTP_STATIC_SERVERS="" NETCONFIG_NIS_POLICY="auto" NETCONFIG_NIS_SETDOMAINNAME="yes" # the NETCONFIG_NIS_STATIC_DOMAIN and NETCONFIG_NIS_STATIC_SERVERS # variables, e.g.: NETCONFIG_NIS_STATIC_DOMAIN_1="second". NETCONFIG_NIS_STATIC_DOMAIN="" NETCONFIG_NIS_STATIC_SERVERS="" cer@Beta:~> 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" 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? -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)