nslookup 正常,但 curl 说无法解析主机

nslookup 正常,但 curl 说无法解析主机
curl -L https://github.com/docker/compose/releases/download/1.3.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
101   405    0   405    0     0    403      0 --:--:--  0:00:01 --:--:--  1673
curl: (6) Couldn't resolve host 's3.amazonaws.com'

我正在使用内部 DNS 服务器

nslookup s3.amazonaws.com
Server:     10.162.55.134
Address:    10.162.55.134#53

Non-authoritative answer:
s3.amazonaws.com    canonical name = s3.a-geo.amazonaws.com.
s3.a-geo.amazonaws.com  canonical name = s3-1.amazonaws.com.
Name:   s3-1.amazonaws.com
Address: 54.231.8.80

getent 结果(我已经执行了 cmd 多次并且总是得到相同的输出):

$ getent ahosts s3.amazonaws.com
54.231.9.24     STREAM s3-1.amazonaws.com
54.231.9.24     DGRAM
54.231.9.24     RAW

相关内容