Hi, I'm using OpenBSD (any Unix-like OS for that matter) for the first time here. This will hopefully be a simple question.
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.
I'm wondering which config file or utility I use to change that. I thought it would be ifconfig, but that doesn't seem to be the case, or I can't figure out the right options to pass it.
I'm not using DHCP or CARP. Version 3.6 on an i386 box, if that makes a difference.
Thanks in advance.
Welcome to OpenBSD.
OpenBSD has useful documentation. When you first login there is a message on the screen directing you to read the afterboot man page. The information you want is in there. Also, the OpenBSD project has a web site with a lot of useful information. I think the FAQ would be a good place to start. The 'Networking' chapter has the answer to your question.
The FAQ is a great way to find answers when you are not quite sure of the question. The man pages are the authoritative documentation for a given release of OpenBSD. Read both you will learn a lot.
I realize that you would have preferred a simpler answer. I am willing to help you learn, but you must do the work. Feel free to contact me privately if you need more help.