ปัญหาเปิด Web ไม่ได้ (2)
การแก้ปัญหาเปิด web ไม่ได้
1.) ทดสอบ ping หรือ nslookup
PING - C:\Documents and Settings\bank>ping //www.yahoo.com
Pinging //www.yahoo.akadns.net [66.94.230.40] with 32 bytes of data:
Reply from 66.94.230.40: bytes=32 time=212ms TTL=51 Reply from 66.94.230.40: bytes=32 time=211ms TTL=51 Reply from 66.94.230.40: bytes=32 time=211ms TTL=52 Reply from 66.94.230.40: bytes=32 time=211ms TTL=52
Ping statistics for 66.94.230.40: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 211ms, Maximum = 212ms, Average = 211ms *** Reply from แสดงว่าสามารถติดต่อไปที่ server ปลายทางได้
- C:\Documents and Settings\bank>ping //www.usace.army.mi Ping request could not find host //www.usace.army.mi. Please check the name and try again. *** could not find host แสดงว่าไม่สามารถ lookup host ดังกล่าวได้ต้องตรวจสอบเรื่อง dns ต่อไป
- C:\Documents and Settings\bank>ping //www.hotmail.com
Pinging //www.hotmail.com.nsatc.net [65.54.211.93] with 32 bytes of data:
Request timed out. Request timed out. Request timed out. Request timed out.
Ping statistics for 65.54.211.93: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), *** Request timed out แสดงว่าไม่สามารถติดต่อ server ปลายทางได้หรือ server ปลายทางอาจจะมีการกัน ping
NSLOOKUP - C:\Documents and Settings\bank>nslookup Default Server: piano.asianet.co.th Address: 203.144.255.71 ่ IP ของ DNS Server ที่ใช้งานอยู่
> //www.yahoo.com Server: piano.asianet.co.th Address: 203.144.255.71
Non-authoritative answer: Name: //www.yahoo.akadns.net Addresses: 66.94.230.47, 66.94.230.50, 66.94.230.48, 66.94.230.45 66.94.230.43, 66.94.230.49, 66.94.230.44, 66.94.230.51 Aliases: //www.yahoo.com *** แสดงว่าสามารถ lookup host ดังกล่าวได้
- C:\Documents and Settings\bank>nslookup *** Can't find server name for address 203.144.255.186: No response from server *** แสดงว่า ไม่สามารถติดต่อ DNS server ได้ DNS server มีปัญหาหรือมีการ set ip ของ DNS server ผิด - C:\Documents and Settings\bank>nslookup Default Server: piano.asianet.co.th Address: 203.144.255.71
> //www.cisco.com Server: piano.asianet.co.th Address: 203.144.255.71
Non-authoritative answer: Name: //www.cisco.com Address: 155.155.155.155
> server ns.loxinfo.co.th ่ เปลี่ยน DNS server เป็นของที่อื่น Default Server: ns.loxinfo.co.th Address: 203.146.0.20
> //www.cisco.com Server: ns.loxinfo.co.th Address: 203.146.0.20
Non-authoritative answer: Name: //www.cisco.com Address: 198.133.219.25
*** ทดสอบจาก DNS server ที่ใช้เทียบกับ DNS server ของที่อื่นถ้าได้ IP address ไม่ตรงกันอาจจะมี DNS server ของที่ใดที่หนึ่งไม่ update ทดสอบเทียบกับ DNS หลายๆที่ ถ้า DNS ของเราไม่ตรงกับที่อื่นให้ให้แจ้งทาง System Admin หรือถ้า DNS server ของที่อื่นสามารถ lookup ได้แต่ของเราไม่ได้ให้แจ้งทาง system Admin เพื่อตรวจสอบ DNS server
DNS server list Loxinfo -ns.loxinfo.co.th -ns.loxinfo.net KSC -ns.ksc.co.th -ns2.ksc.co.th ANET -ns.anet.net.th -ns2.anet.net.th Internet Thailand -ns1.inet.co.th -ns2.inet.co.th JINET -ns.ji-net.com -ns2.ji-net.com
คำสั่งสำหรับ query type ของ name server C:\Documents and Settings\bank>nslookup Default Server: piano.asianet.co.th Address: 203.144.255.71
> set q=ns ่ สำหรับดู name server ของ domain ที่ register ไว้ > asianet.co.th Server: piano.asianet.co.th Address: 203.144.255.71
asianet.co.th nameserver = conductor.asianet.co.th asianet.co.th nameserver = clarinet.asianet.co.th asianet.co.th nameserver = guitar.asianet.co.th asianet.co.th nameserver = piano.asianet.co.th conductor.asianet.co.th internet address = 203.144.255.72 clarinet.asianet.co.th internet address = 203.144.225.242 guitar.asianet.co.th internet address = 203.144.223.66 piano.asianet.co.th internet address = 203.144.255.71 > set q=mx ่ สำหรับดู mail server ของแต่ละ domain > asianet.co.th Server: piano.asianet.co.th Address: 203.144.255.71
asianet.co.th MX preference = 10, mail exchanger = classic.asianet.co.th asianet.co.th nameserver = piano.asianet.co.th asianet.co.th nameserver = conductor.asianet.co.th asianet.co.th nameserver = clarinet.asianet.co.th asianet.co.th nameserver = guitar.asianet.co.th classic.asianet.co.th internet address = 203.144.222.203 piano.asianet.co.th internet address = 203.144.255.71 conductor.asianet.co.th internet address = 203.144.255.72 clarinet.asianet.co.th internet address = 203.144.225.242 guitar.asianet.co.th internet address = 203.144.223.66 > set q=any ่ สำหรับดูทุก type ภายใต้ domain > asianet.co.th Server: piano.asianet.co.th Address: 203.144.255.71
asianet.co.th MX preference = 10, mail exchanger = classic.asianet.co.th asianet.co.th nameserver = piano.asianet.co.th asianet.co.th nameserver = conductor.asianet.co.th asianet.co.th nameserver = clarinet.asianet.co.th asianet.co.th nameserver = guitar.asianet.co.th asianet.co.th primary name server = piano.asianet.co.th responsible mail addr = admindns.asianet.co.th serial = 2005031400 refresh = 14400 (4 hours) retry = 7200 (2 hours) expire = 2419200 (28 days) default TTL = 86400 (1 day) asianet.co.th nameserver = piano.asianet.co.th asianet.co.th nameserver = conductor.asianet.co.th asianet.co.th nameserver = clarinet.asianet.co.th asianet.co.th nameserver = guitar.asianet.co.th classic.asianet.co.th internet address = 203.144.222.203 piano.asianet.co.th internet address = 203.144.255.71 conductor.asianet.co.th internet address = 203.144.255.72 clarinet.asianet.co.th internet address = 203.144.225.242 guitar.asianet.co.th internet address = 203.144.223.66 >
Web site สำหรับใช้ในการตรวจสอบ DNS -//www.checkdomain.com ใช้สำหรับตรวจสอบ status ของ domain -//www.thnic.net ใช้สำหรับตรวจสอบ status ของ domain .th -//www.zonecute.net ใช้สำหรับตรวจสอบ status และ root ของ domain -//centralops.net/co/NsLookup.vbs.asp ใช้สำหรับ query รายละเอียดต่างๆที่ dns server
2.) ตรวจสอบปัญหาที่คาดว่าน่าจะเกิดจาก caching-กรณีที่ลูกค้ามีการ set proxy server ไว้ที่ browser ให้ลองทำการ remove proxy ที่ set ไว้ออกก่อนถ้าสามารถใช้งานได้ให้ทำการแจ้ง Network system เพื่อทำการตรวจสอบ -กรณีที่ไม่มีการ set proxy แต่เป็น service ที่ผ่าน transparent proxy ให้สังเกตจาก error message ที่เกิดขึ้น Message Error สำหรับ Bluecoat -Access Denied (policy_denied) ่ website ดังกล่าวถูก block ไว้ -Network Error (dns_unresolved_hostname) ่ dns server ที่ caching ใช้ไม่สามารถ resolve address ของ web site ดังกล่าวได้ -Network Error (dns_server_failure) ่ dns server ที่ caching set ไว้ไม่สามารถใช้งานได้ -Network Error (gateway_error) ่ ไม่สามารถติดต่อ website ปลายทางได้ซึ่งอาจเกิดจาก website ปลายทาง down หรือ caching ถูก block โดย website ปลายทางต้องลองทำการ bypass ทดสอบดู
*** ถ้าลูกค้ามีปัญหาเปิด web inter ไม่ได้โดยส่วนใหญ่และเป็น service ที่ผ่าน caching ให้ลองทำการ off caching เพื่อทำการทดสอบดูสามารถทำได้ 2 วิธี 1. ทำที่ caching โดย telnet ไปที่ caching แล้วใช้ command #conf t #wccp disable (ถ้าต้องการ enable ให้ใช้ command wccp enable) 2. ทำที่ router gateway ที่ on wccp โดย telnet ไปที่ gateway router แล้วทำการ disable wccp ที่ interface ขาที่ on wccp ตัวอย่างที่ 203.144.254.11 #conf t #interface po1 #no ip wccp 80 redirect in (ถ้าต้องการ enable ให้ใช้ command ip wccp 80 redirect in) ตัวอย่างที่ 203.144.254.15 #conf t #interfave vlan10 #no ip wccp 81 redirect in (ถ้าต้องการ enable ให้ใช้ command ip wccp 81 redirect in)
Create Date : 28 มีนาคม 2550 |
|
0 comments |
Last Update : 4 เมษายน 2550 7:57:46 น. |
Counter : 6783 Pageviews. |
|
 |
|