Unable to change how resolv.conf is generated
#1
For some aggrevating reason something keeps changing my resolv.conf, even though I've specified dhcp address only in network manager and set dns servers.

Resolv always gets set to:

Code:
# /etc/resolv.conf.head can replace this line
nameserver 66.78.244.253
nameserver 207.190.35.254
# /etc/resolv.conf.tail can replace this line

Any idea what service keeps changing this?
#2
I solved my problem for the time being by adding routes to my VPN so those DNS servers could be accessed while VPN was accessed. It is kind of annoying I can't manually over ride the DNS servers in networkmanager so that I can prevent dns leaks while VPN'd on a public wifi...
#3
I see what you mean.

For my home network, I used manual IPv4 settings in Network Manager, for both IP & DNS. When I checked just now, the IP was fine, but DNS was something else.
--
Arwen Evenstar
Princess of Rivendale
#4
Yeah, it claims dhcpd is updating it, but I also set dns in my dhcpd.conf and that didn't fix the issue. I'd like to get to the bottom of this as it was breaking my vpn all day.

Sent from my Pixel 3 using Tapatalk
#5
(11-18-2019, 03:31 PM)91LudeSiT Wrote: For some aggrevating reason something keeps changing my resolv.conf, even though I've specified dhcp address only in network manager and set dns servers.

Resolv always gets set to:

Code:
# /etc/resolv.conf.head can replace this line
nameserver 66.78.244.253
nameserver 207.190.35.254
# /etc/resolv.conf.tail can replace this line

Any idea what service keeps changing this?

I'm not sure how this is handled by debian at the moment but if you're running ubuntu it's almost certainly systemd mucking about. Post suspend and at boot 'resolvconf-pull-resolved.service' fails to restart/start properly on my install, that may be related.
#6
(11-18-2019, 03:31 PM)91LudeSiT Wrote: Any idea what service keeps changing this?

This reading material may shed some light on that question:

https://www.tecmint.com/set-permanent-dn...tu-debian/


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 4,046 07-15-2023, 02:58 PM
Last Post: u974615
  Unable to make a bootable microSD card myself600 15 5,478 09-27-2022, 01:45 PM
Last Post: myself600
  How do I change screen brightness in Dietpi computerc 2 1,604 07-15-2022, 07:59 PM
Last Post: computerc
  extlinux.conf file error, can it be edited in bootloader? Abandoned Brain 2 2,561 09-26-2021, 01:28 PM
Last Post: Abandoned Brain
  Unable to boot from SD or USB aviks 8 7,060 12-31-2020, 08:08 AM
Last Post: aviks
  change cpu-freq on manjaro 20.04 xfce thumbsup 7 9,868 06-25-2020, 01:50 PM
Last Post: thumbsup
  How to change language in Bionic LXDE? mlentink 4 4,987 04-25-2020, 02:42 AM
Last Post: mlentink
  Manjaro Arm users - What does your trackpad/keyboard conf file look like? Eggmonkey 7 7,895 04-21-2020, 08:27 AM
Last Post: Surehand53
  Pinebook Pro - change default user fonske 2 3,613 02-24-2020, 10:59 PM
Last Post: dlester1964d
  Default Debian - How to change DNS cocozozo 5 5,616 02-18-2020, 12:45 PM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)