Problem with domain name server in intrepid

Carl Friis-Hansen ubuntuuser at
Sat Nov 8 17:15:23 UTC 2008

> I just upgraded to intrepid, and there nis one problem:
> I cannot set the dns from the gui, AND once set, the dns is forgotten
> and has to be set anew
> each time rebooting. Thsi is what I do to set dns:
> 1) open a terminal window:
> 2)
> kjetil at familien:~$ cd /etc
> kjetil at familien:/etc$ ls -l resolv.conf
> lrwxrwxrwx 1 root root 31 2008-11-06 17:29 resolv.conf ->
> /etc/resolvconf/run/resolv.conf
> kjetil at familien:/etc$ cd /etc/resolvconf/run
> kjetil at familien:/etc/resolvconf/run$ sudo pico resolv.conf
> sudo: unable to resolve host familien
> [sudo] password for kjetil:
> In pico i write the line "nameserver"
> and then writes out and exit
> kjetil at familien:/etc/resolvconf/run$ sudo /etc/init.d/networking restart
> sudo: unable to resolve host familien
>  * Reconfiguring network interfaces...
>                                   [ OK ]
> kjetil at familien:/etc/resolvconf/run$
> Now internet works !
> There must be a better way??
> kjetil
> (absolutely nothing I do from the gui works)

Have they changed so much in Intrepid?  When I look at my resolve file,
the permissions appears more appropriate and as you see, I am walking out
to the Internet via a router in which all the needed name servers are
listed. In that way, I only need to reference the router as name server. 
This has always worked:
carl at cjfh3:~$ ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 39 2008-11-08 17:17 /etc/resolv.conf
carl at cjfh3:~$ cat /etc/resolv.conf
search fiskeryd
carl at cjfh3:~$

                            Carl Friis-Hansen
                            Phone: +46 372 15033

More information about the ubuntu-users mailing list