Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #246164

11.2 sometimes wrong /etc/resolv.conf

From Christian Groessler <chris@groessler.org>
Newsgroups linux.debian.user
Subject 11.2 sometimes wrong /etc/resolv.conf
Date 2022-03-10 17:40 +0100
Message-ID <DZtZv-QGG-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

when I boot my laptop with Debian 11.2 and LAN cable connected, I'm 
sometimes getting a wrong /etc/resolv.conf.

The resolv.conf is not in fact wrong, but it's the one from the Wifi 
network. But when booting with network cable connected I want to have 
the resolv.conf of the cabled network.

Can I somehow force this? That the "cabled-network-nameserver" is used 
when the cable is connected?

regards,
chris

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

11.2 sometimes wrong /etc/resolv.conf Christian Groessler <chris@groessler.org> - 2022-03-10 17:40 +0100
  Re: 11.2 sometimes wrong /etc/resolv.conf Charles Curley <charlescurley@charlescurley.com> - 2022-03-10 18:30 +0100
  Re: 11.2 sometimes wrong /etc/resolv.conf ghe2001 <ghe2001@protonmail.com> - 2022-03-10 20:50 +0100
  Re: 11.2 sometimes wrong /etc/resolv.conf Anssi Saari <as@sci.fi> - 2022-03-12 17:50 +0100

csiph-web