Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
-3
rated 0 times [  -3] [ 0]  / answers: 1 / hits: 629  / 1 Year ago, wed, april 26, 2023, 12:28:52

When I switch between different networks with different dhcp servers, my resolv.conf file doesn't change (other settings like ip and gw change).



Workaround is to remove resolv.conf and run dhclient manually.



My interfaces file looks like this:




cat /etc/networK/interfaces




auto lo iface lo inet loopback


How to fix it permanent?


More From » networking

 Answers
0

I fix it by removing resolvconf.


[#35317] Thursday, April 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
scusaper

Total Points: 335
Total Questions: 111
Total Answers: 119

Location: Belize
Member since Mon, Jun 20, 2022
2 Years ago
scusaper questions
Fri, Apr 15, 22, 15:26, 2 Years ago
Wed, Mar 15, 23, 03:53, 1 Year ago
Sat, Jun 4, 22, 18:03, 2 Years ago
;