抱歉,这可能是一个基本问题。
我有一个域名 onebyinfinity.co.nz,我想让它指向 IP 地址 203.124.98.229。我已将 DNS 服务器中的 A 记录设置为 203.124.98.229。但是当我运行 ping onebyinfinity.co.nz 时,它显示“未找到主机”
我在这里尝试了 NSLookup -http://network-tools.com/nslook/Default.asp?domain=onebyinfinity.co.nz&type=255&server=ns2.dnspackage.com&class=1&port=53&timeout=5000&go.x=0&go.y=9我可以在 A 记录中看到 IP 地址。
我需要做什么才能使 ping 正常工作?
谢谢
答案1
干得不错,兄弟!
C:\Users\DMRC>ping onebyinfinity.co.nz
Pinging onebyinfinity.co.nz [203.124.98.229] with 32 byt
Reply from 203.124.98.229: bytes=32 time=305ms TTL=112
Reply from 203.124.98.229: bytes=32 time=306ms TTL=112
Reply from 203.124.98.229: bytes=32 time=306ms TTL=112
Reply from 203.124.98.229: bytes=32 time=307ms TTL=112
Ping statistics for 203.124.98.229:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 305ms, Maximum = 307ms, Average = 306ms
答案2
在我这边运行良好...也许你那边出了什么问题,或者你在你添加的 DNS 记录传播之前尝试过 ping 它?
C:\Users\user>nslookup onebyinfinity.co.nz
Server: DD-WRT
Address: 192.168.1.1
Non-authoritative answer:
Name: onebyinfinity.co.nz
Address: 203.124.98.229
C:\Users\user>ping onebyinfinity.co.nz
Pinging onebyinfinity.co.nz [203.124.98.229] with 32 bytes of data:
Reply from 203.124.98.229: bytes=32 time=275ms TTL=114
Reply from 203.124.98.229: bytes=32 time=265ms TTL=114
Reply from 203.124.98.229: bytes=32 time=262ms TTL=114
Reply from 203.124.98.229: bytes=32 time=262ms TTL=114
Ping statistics for 203.124.98.229:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 262ms, Maximum = 275ms, Average = 266ms
C:\Users\user>ping 203.124.98.229
Pinging 203.124.98.229 with 32 bytes of data:
Reply from 203.124.98.229: bytes=32 time=265ms TTL=114
Reply from 203.124.98.229: bytes=32 time=266ms TTL=114
Reply from 203.124.98.229: bytes=32 time=259ms TTL=114
Reply from 203.124.98.229: bytes=32 time=259ms TTL=114
Ping statistics for 203.124.98.229:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 259ms, Maximum = 266ms, Average = 262ms
C:\Users\user>