DNS CNAME别名问题

时间:2015-10-29 14:19:33

标签: dns

我在我们的域上设置了2条CNAME记录,指向供应商(docs.mydomain.org -> clientdocs.vendor.com and view.mydomain.org -> clientview.vendor.com)中的2个外部域。我们在内部管理域DNS。供应商能够从其​​域网络ping CNAME别名并获得成功的回复,这些回复还显示正确的供应商主机名,表明别名正常工作。我也可以从我的域网络中ping别名,所有这些也很好看。但是,当我尝试从我的域外部(例如从家中)ping别名时,不会收到任何响应。当我在浏览器中键入别名URL时,它在家时会给我一个Page Not Found错误。如果我从办公室的域网络执行此操作,它可以正常工作并按预期转到供应商页面。可能是什么导致了这个? ping结果如下,尽管我已经替换了域和IP地址:

SUCCESSFUL - 来自我办公室的域名网络(mydomain.org)和供应商办公室的供应商域名(vendor.com):

C:\Users\me>ping view.mydomain.org

Pinging clientview.vendor.com [168.123.45.6] with 32 bytes of data:

Reply from 168.123.45.6: bytes=32 time=35ms TTL=121
Reply from 168.123.45.6: bytes=32 time=39ms TTL=121
Reply from 168.123.45.6: bytes=32 time=37ms TTL=121
Reply from 168.123.45.6: bytes=32 time=37ms TTL=121

Ping statistics for 168.123.45.6:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 35ms, Maximum = 39ms, Average = 37ms

C:\Users\me>ping docs.mydomain.org

Pinging clientdocs.vendor.com [168.123.45.7] with 32 bytes of data:
Reply from 168.123.45.7: bytes=32 time=38ms TTL=121
Reply from 168.123.45.7: bytes=32 time=36ms TTL=121
Reply from 168.123.45.7: bytes=32 time=35ms TTL=121
Reply from 168.123.45.7: bytes=32 time=35ms TTL=121

Ping statistics for 168.123.45.7:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 35ms, Maximum = 38ms, Average = 36ms

UNSUCCESSFUL - 来自家庭

Barrys-MBP:~ barry$ ping docs.mydomain.org
PING docs.mydomain.org (92.242.123.45): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
^C
--- docs.bicsi.org ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss

Barrys-MBP:~ barry$ ping view.mydomain.org
PING view.mydomain.org (92.242.123.45): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
^C
--- view.bicsi.org ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss

1 个答案:

答案 0 :(得分:0)

我需要清除家用电脑的DNS缓存。在这样做之后它运作良好。