Re: Re: Is there other methods or APIs to monitor qps?

2015-11-30 Thread liumingxing
Ok, I have gotten it. curl has timeout mechanism and we can use it.:)
 



Mingxing, Liu
CNNIC
 
 
From: Tony Finch
Date: 2015-11-30 19:07
To: liumingxing
CC: bind-users
Subject: Re: Re: Is there other methods or APIs to monitor qps?
liumingxing <liumingx...@cnnic.cn> wrote:
 
> It means that the statistics channel should be opened?
 
Yes.
 
> Is there timeout mechanism? May curl query be not stucked?
 
The curl manual says:
 
   --connect-timeout 
  Maximum  time  in  seconds  that you allow the connection to the
  server to take.  This only limits  the  connection  phase,  once
  curl  has  connected this option is of no more use. See also the
  -m/--max-time option.
 
   -m/--max-time 
  Maximum  time  in  seconds that you allow the whole operation to
  take.  This is useful for preventing your batch jobs from  hang-
  ing  for  hours  due  to slow networks or links going down.  See
  also the --connect-timeout option.
 
Other HTTP clients will have similar options.
 
Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/
Dover, Wight, Portland, Plymouth: Southwest 6 to gale 8, increasing severe
gale 9 at times. Rough or very rough. Occasional rain. Good, occasionally
poor.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Re: Is there other methods or APIs to monitor qps?

2015-11-29 Thread liumingxing
It means that the statistics channel should be opened? Is there timeout 
mechanism? May curl query be not stucked?



Mingxing, Liu
CNNIC
 
From: Tony Finch
Date: 2015-11-27 22:37
To: bind-users
Subject: Re: Is there other methods or APIs to monitor qps?
Ray Bellis  wrote:
> On 27/11/2015 13:02, Tony Finch wrote:
> > Use the statistics channel, e.g.
> >
> > curl --silent http://nameserver:853/json/v1/server | jq -r .opcodes.QUERY
>
> Note that this gives you the absolute total since startup - you need to
> take two measurements and divide by the time between them to convert
> that into something like QPS.
 
Indeed. Actually, I forgot I have a blog article about this:
http://fanf.livejournal.com/134571.html
 
Tony.
-- 
f.anthony.n.finch    http://dotat.at/
Thames, Dover, Wight: Southwest veering northwest for a time, 5 to 7,
increasing gale 8 at times. Slight or moderate, becoming moderate or rough.
Rain for a time, showers later. Moderate or good.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list
 
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Is there other methods or APIs to monitor qps?

2015-11-27 Thread liumingxing
Hi, all
 I want to monitor query rate of BIND. It is problematic to use rndc status 
because the command has no timeout. 
Is there other methods or APIs to monitor qps? 



Mingxing, Liu
CNNIC
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Re: How does named log update request

2015-09-01 Thread liumingxing
HI, FINCH,
In which level named log the receiving time and responding time of a update 
request?
:)


Mingxing, Liu
 
email:liumingx...@cnnic.cn
tel:(010)58812467
 
From: Tony Finch
Date: 2015-09-01 18:34
To: liumingxing
CC: bind-users
Subject: Re: How does named log update request
liumingxing <liumingx...@cnnic.cn> wrote:
 
>   As we know, named Logging of all dynamic update transactions. In the
> update channel file, how I can know when the server receives update
> request?
 
Only at debug level 3, for example:
 
2015-09-01.11:25:55.851 client: debug 3: client 127.0.0.1#60986/key local-ddns: 
view auth: update
 
Other preliminary update checks are at debug level 8, e.g.:
 
2015-09-01.11:32:32.162 update: debug 8: client 127.0.0.1#60986/key local-ddns: 
view auth: updating zone 'dotat.at/IN': update section prescan OK
 
Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/
Viking, North Utsire: Easterly 4 or 5, increasing 6 at times. Slight or
moderate, but rough in southwest Viking. Showers later. Good, occasionally
poor later.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

How does named log update request

2015-08-31 Thread liumingxing
hi,
In my server, I found update need longer time, So I want to check why by 
checking logs.
  As we know, named Logging of all dynamic update transactions. In the update 
channel file, how I can know when the server receives update request?






Mingxing, Liu
 
mail:liumingx...@cnnic.cn
tel:(010)58812467
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Set up a recursive servers to provide different data (liumingxing)

2015-06-11 Thread liumingxing
 RPZ is ok. Thanks

:)

Mingxing
CNNIC
EMAIL:liumingx...@cnnic.cn

From: Bob McDonald
Date: 2015-06-10 21:34
To: bind-users
Subject: Set up a recursive servers to provide different data (liumingxing)
You could also use RPZ to provide answers for only the hosts in question. This 
would return a specified address for the individual entry while sending queries 
for other entries outside to the internet for resolution. RPZ requires an 
appropriate version if Bind 9 plus some options statements.

Regards,

Bob

 Message: 3
 Date: Wed, 10 Jun 2015 17:17:33 +0800
 From: liumingxing liumingx...@cnnic.cn
 To: bind-users bind-users@lists.isc.org
 Subject: Set up a recursive servers to provide different data
 Message-ID: 2015061017173296836...@cnnic.cn
 Content-Type: text/plain; charset=gb2312
  
 Hi, all
 We hava a domain name example.com while now we have application servers 
 that are located in  in the localnet with private addresses and ones in the 
 external internet.  We want to setup a
 recursive in local networks that can provide recursive service and auth 
 service that internal users are  redirected to the internal servers and the 
 external users are guided to outside servers.
 
 Thanks
 
 
 
 Mingxing, Liu
 CNNIC
 EMAIL?liumingx...@cnnic.cn
 
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Set up a recursive servers to provide different data

2015-06-10 Thread liumingxing
Hi, all
We hava a domain name example.com while now we have application servers 
that are located in in the localnet with private addresses and ones in the 
external internet.  We want to setup a recursive in local networks that can 
provide recursive service and auth service that internal users are redirected 
to the internal servers and the external users are guided to outside servers.  

Thanks



Mingxing, Liu
CNNIC 
EMAIL:liumingx...@cnnic.cn

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: xfer log file

2014-11-20 Thread liumingxing

在 2014-11-20 19:02, Graham Clinch 写道:

In the xfer log file, there are line of request to servers and ones of
reply from the servers.  Do they come in pairs? If do, are they next to
each other?

Assuming we're thinking of the same xfer log (categories
xfer-in/xfer-out)...

In normal operation you could expect pairs:

* '(A|I)XFR started'  '(A|I)XFR ended' for xfer-out,
* 'connected'  'Transfer completed' for xfer-in

yes.

but they won't necessarily be next to each other - a second transfer may
start before the first has finished (however, perhaps with
transfers-in/transfers-out set to 1...?)

Yes. it is not necessary for them to be next to each other.
But how to pair two lines which are a pair but not next to each other?
Are there identification to locate them?

Sometimes, to find pairs are needed to found to fix zone transfer problems.

It'll be different in error/failure situations.

Is there a particular reason to be interested in whether a transfer
completes before the next one starts?

Graham



Liu Mingxing
CNNIC
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

xfer log file

2014-11-19 Thread liumingxing
hi, all
In the xfer log file, there are line of request to servers and ones of reply 
from the servers.  Do they come in pairs? If do, are they next to each other?




Liu Mingxing
CNNIC___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Re: glub or authauthority NS is cached and used at a cache dns server?

2012-03-21 Thread liumingxing

I have read your blog and do not agree with you about one of your conclusions 
to non-existence of ns rrs of www.qq.com in the ns-tel1.qq.com server. One 
recursor must request ns rr(s) of www.qq.com to the ns[1-4].qq.com server 
before requesting to ns-tel[1-2].qq.com. When it receives the ns rrs and glue 
rrs of www.qq.com from ns[1-4].qq.com, it may at last ask  ns-tel[1-2].qq.com 
what your ns rr(s) is(are). If non-existence, the recursor will continue to ask 
other disired type of rrs of www.qq.com to the   ns-tel[1-2].qq.com, otherwise 
will send requests to the informed servers. No other bad things are seen.



liu mingxing

From: Jeff Peng
Date: 2012-03-21 15:30
To: bind-users
Subject: Re: glub or authauthority NS is cached and used at a cache dns server?
You might want to read my this blog;
http://www.nsbeta.info/archives/115

HTH

于 2012-3-21 15:07, Felix New 写道:

  when i dumpdb from the cache dns, some domain's ns records are glue 
 DNS, and others are authauthority.

 The TTL are different. which type is used in Cache DNS?

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users