2009. 12. 8. 16:58

네임서버 변경 확인 쉘스크립트(윈도우)


@echo off

echo                              한국통신 1차 - kns.kornet.co.kr
nslookup %1 168.126.63.1 | findstr "Address" | findstr /v "168.126.63.1"
echo                              한국통신 2차 - kns2.kornet.net
nslookup %1 168.126.63.2 | findstr "Address" | findstr /v "168.126.63.2"

echo                              하나로 1차 - qns1.hananet.net
nslookup %1 210.220.163.82  | findstr "Address" | findstr /v "210.220.163.82"
echo                              하나로 2차 - qns2.hananet.net 
nslookup %1 219.250.36.130  | findstr "Address" | findstr /v "219.250.36.130"
echo                              하나로 3차 - qns3.hananet.net
nslookup %1 210.94.6.67  | findstr "Address" | findstr /v "210.94.6.67"
echo                              하나로2 1차 - cns1.hananet.net 
nslookup %1 210.94.0.73  | findstr "Address" | findstr /v "210.94.0.73 "
echo                              하나로2 2차 - cns2.hananet.net 
nslookup %1 221.139.13.130  | findstr "Address" | findstr /v "221.139.13.130"
echo                              하나로2 3차 - cns3.hananet.net
nslookup %1 210.180.98.74  | findstr "Address" | findstr /v "210.180.98.74"

echo                              두루넷 1차 - nsgr1.thrunet.com 
nslookup %1 210.117.65.1 | findstr "Address" | findstr /v "210.117.65.1"
echo                              두루넷 2차 - nsgr2.thrunet.com 
nslookup %1 210.117.65.2 | findstr "Address" | findstr /v "210.117.65.2"

echo                              신비로 1차 - ns.shinbiro.com 
nslookup %1 202.30.143.11 | findstr "Address" | findstr /v "202.30.143.11"
echo                              신비로 2차 - ns2.shinbiro.com 
nslookup %1 203.240.193.11  | findstr "Address" | findstr /v "203.240.193.11"

echo                              데이콤 1차 - ns1.lgdacom.net
nslookup %1 164.124.101.2 | findstr "Address" | findstr /v "164.124.101.2"
echo                              데이콤 2차 - ns2.lgdacom.net
nslookup %1 203.248.240.31  | findstr "Address" | findstr /v "203.248.240.31"

echo                              드림라인 1차 - ns.cjdream.net 
nslookup %1 210.181.1.24 | findstr "Address" | findstr /v "210.181.1.24"
echo                              드림라인 2차 - ns2.cjdream.net
nslookup %1 210.181.4.25 | findstr "Address" | findstr /v "210.181.4.25"

echo                              파워콤 1차 - cns2.bora.net 
nslookup %1 164.124.107.9 | findstr "Address" | findstr /v "164.124.107.9"
echo                              파워콤 2차 - cns3.bora.net
nslookup %1 203.248.252.2 | findstr "Address" | findstr /v "203.248.252.2"