set static dns server ip address in debian
need to set a static address for dns on my debian box. i have edited my /etc/network/interfaces as such
Code:
# This file describes the network interfaces available on your system also after editing this file i ran the following command and got this error Code:
/etc/init.d/networking restart |
DNS entries go in /etc/resolv.conf
|
They can also go in /etc/network/interfaces, eg
Code:
# dns-* options are implemented by the resolvconf package Code:
depmod -a mj |
thanks to both of you
i did upgrade my kernel to 2.6.11-1-686, but havent recompilied it so it could be that or something with the driver, i will do both of these tonight at home and let you know again thanks! |
Quote:
its ver helpful to me . :) |
Hi there,i've got a similiar problem;i installed debian stable on my granmother's pc :D and everything works fine,for her,but recently he complaind about a site wich she can't connect.I already know that on my connection you might have to add the dns-search domain manually,i don't know why but it is.However everytime i reboot the pc and the networkmanager connect to the wireless network those extra dns numbers disappear.By setting it via gnome(network-admin or something like)i get it working (i can ping that site!) but they disappear everytime.I noticed network manager store that info in /etc/resolv.conf adding a line with the dns-search domain but the file is generated when connecting to the wireless network.I purged the package resolvconf and avahi-dnsconfd and tried to add dnsutils;but no way to store permanently those numbers.....any ideas??
|
All times are GMT -5. The time now is 08:35 PM. |