[Pdns-users] Using +cn=114.114.114.114 in forward-zones-file.

2015-09-05 Thread Hongyi Zhao
Hi all,

If I have the following line in my forward-zones-file:

+cn=114.114.114.114

Does this mean all of the domain names under the cn domain will be 
forward to 114.114.114.114 for recursive domain name lookup? 

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] About the mechanism of forward-zones when using multiple ips for one zonename.

2015-02-23 Thread Hongyi Zhao
Why not let the process run parallely and then picked out the one which is
retured firstly to the client?

Regards

2015-02-23 18:28 GMT+08:00 Peter van Dijk peter.van.d...@powerdns.com:

 Hello,

 On 23 Feb 2015, at 6:09 , Hongyi Zhao hongyi.z...@gmail.com wrote:

  forward-zones Comma separated list of ’zonename=IP’ pairs. Queries for
 zones listed here will be forwarded to the IP address listed. Since version
 3.1.5, multiple IP addresses can be specified. Additionally, port numbers
 other than 53 can be configured.
  Sample syntax: forward-zones=example.org=203.0.113.210:5300;127.0.0.1,
 powerdns.com=127.0.0.1;198.51.100.10:530
 
  I just want to know the mechanism when we use multiple ip for Query a
 zone.  I mean is this process sequel or  parallel?  When we using multiple
 ip for resoving a specific domain-name, which answer given by the
 forwarders should be picked up by PowerDNS Recursor and then return it to
 user's client program?

 It’s best to assume the process is random. For any given query, the
 resulting data can come from any of the IPs, and there is no guarantee from
 which one. So, in general, make sure your backend IPs agree on the data!

 Kind regards,
 --
 Peter van Dijk
 Netherlabs Computer Consulting BV - http://www.netherlabs.nl/


 ___
 Pdns-users mailing list
 Pdns-users@mailman.powerdns.com
 http://mailman.powerdns.com/mailman/listinfo/pdns-users




-- 
Hongyi Zhao hongyi.z...@gmail.com
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] About the mechanism of forward-zones when using multiple ips for one zonename.

2015-02-23 Thread Hongyi Zhao
Considering that the backend/forwarder IPs are always NOT owned by the
authoritive servers of the queryer.  It wil be difficult to ensure all of
them online all the time.  So, if we can let  the process run parallely and
then picked out the one which is retured firstly to the client.  At least
the query efficiency will be raised to some extent, IMO.

Regards

2015-02-23 18:49 GMT+08:00 Hongyi Zhao hongyi.z...@gmail.com:

 Why not let the process run parallely and then picked out the one which is
 retured firstly to the client?

 Regards

 2015-02-23 18:28 GMT+08:00 Peter van Dijk peter.van.d...@powerdns.com:

 Hello,

 On 23 Feb 2015, at 6:09 , Hongyi Zhao hongyi.z...@gmail.com wrote:

  forward-zones Comma separated list of ’zonename=IP’ pairs. Queries for
 zones listed here will be forwarded to the IP address listed. Since version
 3.1.5, multiple IP addresses can be specified. Additionally, port numbers
 other than 53 can be configured.
  Sample syntax: forward-zones=example.org=203.0.113.210:5300;127.0.0.1,
 powerdns.com=127.0.0.1;198.51.100.10:530
 
  I just want to know the mechanism when we use multiple ip for Query a
 zone.  I mean is this process sequel or  parallel?  When we using multiple
 ip for resoving a specific domain-name, which answer given by the
 forwarders should be picked up by PowerDNS Recursor and then return it to
 user's client program?

 It’s best to assume the process is random. For any given query, the
 resulting data can come from any of the IPs, and there is no guarantee from
 which one. So, in general, make sure your backend IPs agree on the data!

 Kind regards,
 --
 Peter van Dijk
 Netherlabs Computer Consulting BV - http://www.netherlabs.nl/


 ___
 Pdns-users mailing list
 Pdns-users@mailman.powerdns.com
 http://mailman.powerdns.com/mailman/listinfo/pdns-users




 --
 Hongyi Zhao hongyi.z...@gmail.com
 Xinjiang Technical Institute of Physics and Chemistry
 Chinese Academy of Sciences
 GnuPG DSA: 0xD108493




-- 
Hongyi Zhao hongyi.z...@gmail.com
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] About the mechanism of forward-zones when using multiple ips for one zonename.

2015-02-23 Thread Hongyi Zhao
Which forward-rules do you meant to by saying without forward-rules?  Are
these forward rules can all be setted or controlled by using config file fo
pdns_recurrsor?  Why these rules cann't be treated combinedly into the
inner optimizing algrithems for determining the maybe-best servers?

 Regards

2015-02-23 19:20 GMT+08:00 Peter van Dijk peter.van.d...@powerdns.com:

 Hello,

 On 23 Feb 2015, at 11:49 , Hongyi Zhao hongyi.z...@gmail.com wrote:

  Why not let the process run parallely and then picked out the one which
 is retured firstly to the client?

 In general (without forward-rules), we do something better - we try the
 servers and remember which one was faster. That way you get the performance
 benefits without unnecessarily overloading the other servers. I’m not
 entirely sure we do this for forward rules.

 Kind regards,
 --
 Peter van Dijk
 Netherlabs Computer Consulting BV - http://www.netherlabs.nl/


 ___
 Pdns-users mailing list
 Pdns-users@mailman.powerdns.com
 http://mailman.powerdns.com/mailman/listinfo/pdns-users




-- 
Hongyi Zhao hongyi.z...@gmail.com
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] About the mechanism of forward-zones when using multiple ips for one zonename.

2015-02-22 Thread Hongyi Zhao
Hi all,

From the manual of PowerDNS Recursor, learned the following settings can be
used in its config file:

forward-zones Comma separated list of ’zonename=IP’ pairs. Queries for
zones listed here will be forwarded to the IP address listed. Since version
3.1.5, multiple IP addresses can be specified. Additionally, port numbers
other than 53 can be configured.
Sample syntax: forward-zones=example.org=203.0.113.210:5300;127.0.0.1,
powerdns.com=127.0.0.1;198.51.100.10:530

I just want to know the mechanism when we use multiple ip for Query a
zone.  I mean is this process sequel or  parallel?  When we using multiple
ip for resoving a specific domain-name, which answer given by the
forwarders should be picked up by PowerDNS Recursor and then return it to
user's client program?

Any hints on this issue will be highly appreciated.

Regards
-- 
Hongyi Zhao hongyi.z...@gmail.com
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users