그거/Tech

Sun 서버 DNS 설정하기

뽀기 2007. 5. 15. 17:33


01. /etc/nsswitch.dns 파일을 /etc/nsswitch.conf 파일로 copy 한다.
  $ cp /etc/nsswitch.dns /etc/nsswitch.conf

02. /etc/resolve.conf 파일을 vi로 열어서 nameserver <ip address> 를 적어준다.
  $ vi /etc/resolv.conf
     nameserver <ip address>

03. 제대로 설정되었는지 테스트 해본다.
  $ ping sunsolve.sun.com
    sunsolve.sun.com is alive

끝.