Upon inspection, i notice some strange IP 128.199.124.1 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
default-duid "\000\004\324\014\266\025\315\352\245\227\245\366\017\335l\023\342k";
lease {
interface "wlan0";
fixed-address 192.168.1.7;
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,128.199.124.1,8.8.8.8;
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;
}
I need to know how the lease generated and where the IP 128.199.124.1 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 128.199.124.1 IP from appearing into the lease file?
Thank you.