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
nameserver 168.126.63.1
nameserver 168.126.63.2
: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:
Post a Comment