Upon inspection, i notice some strange IP 18.104.22.168 on my /etc/resolv.conf.
Looking around, i found the generate lease file in the directory /var/lib/NetworkManager/dhclient-c99190ee-3581-485b-bb5e-d303899495a5-wlan0.lease
- Code: Select all
option subnet-mask 255.255.255.0;
option dhcp-lease-time 10800;
option routers 192.168.1.1;
option dhcp-message-type 5;
option dhcp-server-identifier 192.168.1.1;
option domain-name-servers 127.0.0.1,22.214.171.124,126.96.36.199;
option domain-name "domain.name";
renew 3 2016/11/30 00:09:02;
rebind 3 2016/11/30 01:31:58;
expire 3 2016/11/30 01:54:28;
Deleting the lease file above won't work because it keep being generated every time i connect to to the Wifi router at home.
I need to know how the lease generated and where the IP 188.8.131.52 been configured to automatically being added to domain-name-servers option in the lease file.
How did i get it in my configuration file?
Btw, i found the IP configured as static dns on my router. I already remove it from router & update the router firmware.
My debian laptop & debian dekstop (both jessie) has the same problem.
The solution i come up so far is chattr +i /etc/resolv.conf.
How to remove 184.108.40.206 IP from appearing into the lease file?