i have a question ?

Barry Margolin barmar at alum.mit.edu
Thu Apr 14 14:42:19 UTC 2016


In article <mailman.558.1460634920.73610.bind-users at lists.isc.org>,
 johnzeng <johnzeng2013 at yahoo.com> wrote:

> Hello Dear Sir :
> 
> i have a question , i build a dns server ( forward mode ) , i hope dns
> server will cover forward and cache only .
> 
> but i found a strange string. when i reslove y0.ifengimg.com via
> nslookup command between a client and a dns server .
> 
> i found there are different result . i hope the result will be same
> between a client and a dns server .

I suspect chinacache.net is a CDN, it gives different answers to 
different clients depending on their location.

> 
> 
> if possible , please give me some adivisement
> 
> 
> John
> 
> ----------------------------------------------------------
> 
> this is my config
> 
> ----------------------------------------------------------
> 
> controls {
> inet 127.0.0.1 port 953
> allow { 127.0.0.1; } keys { "rndc-key"; };
> };
> 
> max-ncache-ttl 30;
> max-cache-ttl 60;
> 
> tcp-clients 10240;
> 
> forward only;
> forwarders{ 202.96.134.133; 202.96.134.133; 202.96.134.133; };
> 
> };
> 
> allow-query { any; };
> 
> allow-query-cache { any; };
> zone "." IN {
> 
> type hint;
> 
> file "named.root";
> 
> };
> 
> zone "localhost" IN {
> 
> type master;
> 
> file "localhost.zone";
> 
> allow-update { none; };
> 
> };
> 
> zone "0.0.127.in-addr.arpa" IN {
> 
> type master;
> 
> file "named.local";
> 
> allow-update { none; };
> 
> };
> 
> 
> -------------------------------------------------------
> 
> this is a client and nslookup result
> -------------------------------------------------------
> 
> 
> root at laptop:/accerater/config/dns# nslookup y0.ifengimg.com
> Server: 202.96.134.133
> Address: 202.96.134.133#53
> 
> Non-authoritative answer:
> y0.ifengimg.com canonical name = y0.ifengimg.chinacache.net.
> y0.ifengimg.chinacache.net canonical name = cc00066.h.telssr.chinacache.net.
> cc00066.h.telssr.chinacache.net canonical name =
> hpcc-page.telssr.chinacache.net.
> Name: hpcc-page.telssr.chinacache.net
> Address: 183.2.202.48
> Name: hpcc-page.telssr.chinacache.net
> Address: 14.215.89.9
> 
> 
> 
> -------------------------------------------------------
> 
> this is a dns server and nslookup result
> -------------------------------------------------------
> 
> root at app:/appgame/sbin# nslookup y0.ifengimg.com
> Server: 127.0.0.1
> Address: 127.0.0.1#53
> 
> Non-authoritative answer:
> y0.ifengimg.com canonical name = y0.ifengimg.chinacache.net.
> y0.ifengimg.chinacache.net canonical name = cc00066.h.telssr.chinacache.net.
> cc00066.h.telssr.chinacache.net canonical name =
> hpcc-page.telssr.chinacache.net.
> Name: hpcc-page.telssr.chinacache.net
> Address: 14.215.89.11
> Name: hpcc-page.telssr.chinacache.net
> Address: 14.215.89.9

-- 
Barry Margolin
Arlington, MA


More information about the bind-users mailing list