The problem is on the.
The question was previously asked, but it seems not clear, so no interest.
我在named里面配置了google.com.zone, 目的在于使用北京的ip上google.com防止google搜索抽风 ( you understand )
My profile is normal.
1 $TTL 86400 2 $ORIGIN google.com. 3 @ 1D IN SOA @ root ( 4 42 ; serial (d. adams) 5 3H ; refresh 6 15M ; retry 7 1W ; expiry 8 1D ) ; minimum 9 10 1D IN NS @ 11 1D IN A 22.214.171.124 12 * 1D IN A 126.96.36.199
But it's strange that the configuration of google.com. affects the access of google. Cn, which causes ping to ping, and I looked up a lot of data, 还是TM不明白我设置google.com域名关google.cn鸡毛事了.
Next, I set the dns for mac os 's network link to 127.0.0.1 and 188.8.131.52, 127.0.0.1 is on top, and there's a thing here, and 's network links seem to directly ignore 127.0.0.1. No matter how I change the order, I can only remove the 184.108.40.206.
Later I changed resovle. Conf to ( no is the default configuration, only the first row ).
nameserver 127.0.0.1 nameserver 220.127.116.11
Well, 从反馈的信息可以发现google.com用了 127.0.0.1 to parse, and then google. Cn uses 18.104.22.168 to parse and also give the final ip address, but google, cn or tm isn't a good thing to do.
And I found that if I'm segmentfault.com等named里面根本没有配置的站点, or I told 127.0.0.1 parsing, this time my world 's outlook and, I didn't mention these sites, why is my native parse. Of course, if named by the default configuration, but why is google, not?
After these two things, I found that the software on the mac os is using the other, logic, so it's a little bit more. And can explain reason in detail.