I just install a CNet router in my home to share my cable modem. It works fine, just that it give it own ip as DNS. This work on window$, slow but it work, so i chage de DNS manualy. But on Kubuntu it doesn't work at all. Any way I want my IPS DNS, so I change it. The problem is that evry x minutes it reset it and i lost my connection, or when i restart. I set my ip address static and it work. But i would like to have dynamic IP but Static DNS. Is that posible? I try using GUI tools and editing /etc/resolv.conf manually, both settings are lost when reboot or whiting a few minutes.
Announcement
Collapse
No announcement yet.
How to set static DNS
Collapse
This topic is closed.
X
X
-
Re: How to set static DNS
Originally posted by skyAre you completely loosing the connection every sometimes ? If yes what is your card, it may be then a known problem.
Cheers
- Top
- Bottom
Comment
-
Re: How to set static DNS
Hi,
It should be troubles with your modem routeur settings... Check the configuration site of it to unset it as dns, only to forward used dns to all other computers, then kubuntu should get it from there and register automatically them... It's because of this that it's unsetting it each reboot.
If you want to be sure, just write them well in the file /etc/resolv.conf but i'm sure they will be changed on next time.
good luck
- Top
- Bottom
Comment
-
Re: How to set static DNS
If you modify your /etc/dhcp3/dhclient.conf and add the line "prepend domain-name-servers xxx.xxx.xxx.xxx;" (obviously filling in the appropriate IP of your DNS server), it will append the appropriate line to the top of your /etc/resolv.conf whenever your IP gets renewed. Should fix your problem (I had the exact same problem behind my router - original thread is here: http://kubuntuforums.net/forums/inde...28742#msg28742).
- Top
- Bottom
Comment
Comment