I set up /etc/resolv.conf
domain example.local nameserver 127.0.0.1 nameserver 192.168.1.108
but,a days later..!?
192.168.1.1 is DHCPD
How to stop change it?
Is the machine sourcing it's IP address from DHCP?
Take a look at the manpage for the DHCP client you are using. For instance
Most likely you have a dhcp-client service setup on your machine, it is rewriting
to prevent dhcp client rewriting your settings you can put as well in dhclient.conf [ /etc/dhcp3 in debian, if you use isc's dhcp3-client ]
this might look differently for other dhcp clients.
on my debian squeeze
open file: /etc/dhcp/dhclient.conf
remove comment from line:
note the trailing semicolon