i have a question ?

johnzeng johnzeng2013 at yahoo.com
Thu Apr 14 16:17:10 UTC 2016


Hello /Matus UHLAR:

Thanks for your advisement .
/
> Hello Dear SIr :
>
> i know master reason is "|recursion yes" just now .|
>
> but when i close recursion ( recursion no ), i found
>
> |	     ||[root at localhost ~]# nslookup naver.com
> 		Server:         192.168.0.220
> 		Address:        192.168.0.220#53
>
> 		Non-authoritative answer:
> 		*** Can't find naver.com: No answer|
>
>
> This is my config
>
> |options {
>         listen-on port 53 {localhost; any;};
>         listen-on-v6 port 53 { ::1; };
>         directory       "/var/named";
>         dump-file       "/var/named/data/cache_dump.db";
>         statistics-file "/var/named/data/named_stats.txt";
>         memstatistics-file "/var/named/data/named_mem_stats.txt";
>         allow-query     { localhost; 192.168.0.0/24;any; };
>         allow-query-cache { localhost; 192.168.0.0/24; any;};
>         recursion no;
>
> };
> |
>
>
> Bind on non-recursive mode doesn't work
>> 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 .
>>
>>
>> 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
>>



More information about the bind-users mailing list