我在我的本地bind9
拥有域名'engine02.prod.qc.offercal.com'。
我不认为这是DNS服务器或TTL问题,因为基准测试几乎总是这样(我使用每种方法尝试了2分钟):
curl -o /dev/null http://engine02.prod.qc.offercal.com:49157/void
time_namelookup: 0.150
time_connect: 0.151
time_starttransfer: 0.152
----------
time_total: 0.152
curl -o /dev/null http://192.168.100.10:49157/void # use IP directly
time_namelookup: 0.000
time_connect: 0.002
time_starttransfer: 0.003
----------
time_total: 0.003
time dig @192.168.100.4 engine02.prod.qc.offercal.com
real 0m0.009s
user 0m0.004s
sys 0m0.004s
time host engine02.prod.qc.offercal.com
engine02.prod.qc.offercal.com has address 192.168.100.10
real 0m0.011s
user 0m0.006s
sys 0m0.004s
我的resolv.conf
文件:
[root@gateway01 ~]# cat /etc/resolv.conf
nameserver 192.168.100.4
我一直在努力解决这个问题,请帮忙:D