in Linux

Don’t update my resolv.conf

Yesterday my cousin borrow my laptop. Using guess account on my peppermint OS 5 He surf many site without hassle. This morning I got problem with dns. I see many messages around ‘dns probe no internet’ . I guess my cousin doing something with laptop but when I see my dig result i got nothing.

Try cat /etc/resolv.conf I see no nameserver beside 127.0.0.1 which is common . I decide to add more entry :

# cat /etc/resolv.conf

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4

save the file.

# resolvconf -d IFACE wlan0 --disable-updates

done.