솔라리스로 ping은 가능한상태인데 DNS가 정상동작하지않습니다.
작성자 정보
- 지석 작성
 - 작성일
 
컨텐츠 정보
- 3,868 조회
 - 5 댓글
 - 0 추천
 - 목록
 
본문
Vmware에 NIC는 NAT로 사용하도록하고 솔라리스를 설치했습니다.
문제는 ping은 정상적으로 gateway 외부까지 되는데 DNS가 이상한
지 nslookup은 응답이 없습니다. 당연히 네스케이프도 동작하지 않구요
설정되어있는 정보를 보면
# ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
pcn0: flags=1000843 mtu 1500 index 2
        inet 192.168.18.200 netmask ffffff00 broadcast 192.168.18.255
        ether 0:c:29:6d:b1:a4 
# hostname
Solaris8-2th
# cat hostname.pcn0
192.168.18.200
# cat hosts
#
# Internet host table
#
127.0.0.1       localhost
192.168.18.200  Solaris8-2th    loghost
# cat defaultrouter
192.168.18.2
# cat resolv.conf
nameserver 128.126.63.1
nameserver 210.94.0.7
# netstat -r
# cat nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd:     files
group:      files
hosts:      files dns
ipnodes:    files
networks:   files
.
.
생략
Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
한참을 기다려도 이상태를 유지하고 응답이 없음
참고로 아래 메시지가 올라옴니다(솔라리스 이름규칙이 따로있는건가요?)
# Apr  7 09:32:09 Solaris8-2th sendmail[228]: My unqualified host name (Solaris8-2th) unknown; 
sleeping for retry
Apr  7 09:34:30 Solaris8-2th sendmail[228]: unable to qualify my own domain name (Solaris8-2th) -- 
using short name
Apr  7 09:34:30 Solaris8-2th sendmail[228]: [ID 702911 mail.alert] unable to qualify my own domain 
name (Solaris8-2th) -- using short name
Apr  7 09:34:30 Solaris8-2th sendmail[228]: [ID 702911 mail.alert] unable to qualify my own domain 
name (Solaris8-2th) -- using short name
관련자료
- 
			이전
 - 
			다음
 
이유성님의 댓글
- 이유성
 - 작성일
 
다른이유 없어보입니다만^^ /etc/hosts를 수정하셧다면
]#hostname 으로 호스트네임을 다시 재설정 해주셔야 될것같구요
밑에 는 소유 도메인즉 loghost명이 짧다는 얘기같습니다
김지석님의 댓글
- 김지석
 - 작성일
 
박경욱님의 댓글
- 박경욱
 - 작성일
 
지석님의 댓글
- 지석
 - 작성일
 
답변 감사합니다.
박경욱님의 댓글
- 박경욱
 - 작성일
 
								