DNS entries vanishes after login in Ubunutu 5.10
Hi,
I am using Ubuntu Breezy. My pc is connected to a switch(which is connected to a DSL modem) and gets IP from that. But, I want to keep two "fixed DNS server entry" in resolve.conf . But the problem is everytime I log in or do some system update thru aptget the DNS entries are gone! Could anybody help me in this regard?I tried Ubuntu IRC but didn't get much help there. thanks, ani |
edit resolv.conf and set your desired entries.
to make it permanent, use chattr: sudo chattr +i /etc/resolv.conf that will make the file immutable - no update can be made unless you disable it (via sudo chattr -i /etc/resolv.conf). hth. |
All times are GMT -5. The time now is 11:59 PM. |