[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing DNS Server Address (newbie)



Hi John,

Welcome.

> 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.

>From http://www.openbsd.org/faq/faq6.html:
"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 125.2.3.4 and 125.2.3.5. You
also belong in the domain "example.com".

$ cat /etc/resolv.conf
search example.com
nameserver 125.2.3.4
nameserver 125.2.3.5
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