need a way to set DNS servers using CLI

James Purser purserj at
Mon Jun 4 00:56:15 BST 2007

On Sun, 2007-06-03 at 16:48 -0700, linley caetan wrote:
> Can anyone give me a CLI for this?
Hi Linley,

You need to edit the /etc/resolv.conf file. In order to do this you need
to run the following:

$: sudo nano -w /etc/resolv.conf

Enter your password

and then edit whats in there.
James Purser
0406 576 553
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the ubuntu-au mailing list