>> Edit article
이름
제목
패스워드
예를 들어 설명하겠습니다. A server(redhat7.0), B server(redhat7.0) 가 있습니다. 그런데.. A server가 이제 서비스를 하지 않게되었습니다. 또한 B 보다는 사양이 좋습니다. 그래서 회사에서 DNS, mail server, web server 로 사용하고 있던 B server의 환경설정 파일을(/etc/hosts, resolv.conf,passwd,group ,shadw, /var/named/*, /etc/sysconfig/network,/etc/sysconfig/network-script/ifcfg-eth0) 파일들을 가져다가 A server에 그대로 copy 해습니다. 그리고는 B Server는 윈도우를 설치했죠..(물론 다른 IP로) 그런데 이상하게도.. A server에서 #dig 원하는 정보가 나왔습니다. #nslookup *** Can't find server name for address 211.xxx.xxx.xxx: Non-existent host/domain *** Default servers are not available #cat /etc/hosts 127.0.0.1 localhost localhost 211.xxx.xxx.xxx ns1.xxx.com ns1 #cat /etc/resolv.conf search xxx.com nameserver 211.xxx.xxx.xxx 확인해 봤지만.. 이상이 없었습니다. 그런데.. 다른 서버에서 #nslookup >server www.xxx.com >www.xxx.com DNS 정보가 나옵니다. 이상해서.. #tail -f /var/log/messages 해서 확인을 했더니.. Jan 7 18:25:05 ns1 named[11682]: sysquery: findns error (NXDOMAIN) on ns2.XXX.com? 이런 메세지가 나오지 뭡니까?? 왜 ns2를 찾는거죠?? 분명 서버의 host name은 ns1인데요.. 이거 때문에 안 되는거 같은데.. 서버의 host 이름을 변경하는 곳이 또 있나요?? 다시 한번 말씀드리지만.. /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth0 파일도 확인해 보았습니다만.. 이상이 없었습니다. 정말 이상합니다.. 이거.. 다시 설치를 해야하는건가요?? -_-;;
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved