For the Terminal-Phobic, there is a graphical way to do this.
In Preferences, select the Network pane. The active connection should display all settings, including DNS server.
Note that some home routers are configured so that connected computers see that router as the DNS server. In that case, you might have to log into your router and find out the IP address of your real DNS server.