[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing DNS Server Address (newbie)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Changing DNS Server Address (newbie)
- From: Nico Meijer <nico_(_dot_)_meijer_(_at_)_zonnet_(_dot_)_nl>
- Date: Wed, 17 Nov 2004 19:36:28 +0100
> Hi, I'm using OpenBSD (any Unix-like OS for that matter) for the first
> time here. This will hopefully be a simple question.
Yes, it was actually a very basic question, which you should have been
able to find on your own easily.
"To setup your nameservers, you will create a file called
/etc/resolv.conf. You can read more about the format of this file in the
resolv.conf(5) man page. But for a standard usage, here is an example.
In this example your domain servers are 126.96.36.199 and 188.8.131.52. You
also belong in the domain "example.com".
$ cat /etc/resolv.conf
lookup file bind"
Read the FAQ. Now. It is good for you.
> I need to change the DNS Server address my test box uses to resolve
> names -- I typoed it during install. The articles my googling turns up
> all relate to setting up a DNS Server, not changing my local client's
> address for that server.
Using Google for such a basic question is a PITA. That's not your fault.
You just weren't looking in the right places.
> I'm wondering which config file or utility I use to change that.
$EDITOR it is, then. Be it vi, mg or whatever suits your need.
Good luck... Nico
Visit your host, monkey.org