Dumb DNS question
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Dette indlæg hører under følgende tråd:
Det komplette tråd-træ sorteret efter dato
Don Calfa den
2003-08-04 15:52
Bryce C den
2003-08-04 16:00
Vedhæftede filer:
Indlæg som e-mail
(text/plain)
Skribent:
Craig White
Dato:
2003-08-04 15:59
UTC
Emne:
Dumb DNS question
On Mon, 2003-08-04 at 08:52, Don Calfa wrote:
> How can I find out/change my DNS settings via command line without using
> netconfig?
>
----
echo "nameserver xxx.xxx.xxx.xxx" > /etc/resolv.conf
and maybe
echo "nameserver xxx.xxx.xxx.xxx" >> /etc/resolv.conf
one ">" will entirely replace the contents of the file
two ">" will append to the bottom of the file
Craig