I guess you are taking literaly what I wrote you in another forum.
First, you must learn the concepts of interfaces in *BSD world. I took
vr0 just as an example, you must replace it with your interface listed in
ifconfig -a output. I suggest you take a read on
ifconfig(8) man page. Same applies for DNS settings. In the example, you replace 'nameserver A.B.C.D' with your (or your ISP's) DNS IP address.
But, when you use DHCP to obtain IP address (that is dinamic IP address, as oposed to static IP address), you also receive default gateway, DNS settings and loads of other useful stuff by DHCPD server, so there is no need to set up
resolv.conf(5) and default gateway in
/etc/rc.conf at all. It is being automagicaly done.
Concerning DHCP, there is a nice article at Onlamp.com named Introducing DHCP:
http://www.onlamp.com/pub/a/bsd/2003...SD_Basics.html
Have fun