Friday, December 29, 2006

Quick and Dirty Setup of the Internet

I had several Sun workstations that needed Internet access. But first I need to point to a nameserver and then properly configure the name service.

Here's what I did.

Modified the /etc/resolv.conf file. I put these entries into it.

#vi /etc/resolv.conf
:wq! (saves and quits vi)

Modified the /etc/nsswitch.conf file. I added the dns entry into it.

#vi /etc/nsswitch.conf
hosts: nis files dns [NOTFOUND=return]
:wq! (saves and quits vi)

No comments: