How many query in DNS

suchok suchok at cat.net.th
Thu Mar 10 04:14:02 UTC 2005


Dear sir

     I wish to know a command to show "how many time a queries  to our DNS 
as per day/week/month.

Thank you
Suchok A.

----- Original Message ----- 
From: "Mark Andrews" <Mark_Andrews at isc.org>
To: comp-protocols-dns-bind at isc.org
Sent: Thursday, March 10, 2005 9:25 AM
Subject: Re: MX record lookup problem.


>
>> In article <d0nt8h$30gf$1 at sf1.isc.org>,
>>  Grahame Cooper <Grahame at JandG-Cooper.com> wrote:
>>
>> > I have a domain name jandg-cooper.com registered with Enom.
>> >
>> > jandg-cooper.com does not refer to any host, so there is no A or CNAME
>> > record for that, but there is an MX record for jandg-cooper.com, which
>> > points to cooper-linux.jandg-cooper.com
>> >
>> > The problem is that if an MX query for jandg-cooper is preceded by an A
>> > record query, then the MX query fails:
>> >
>> >   $ host -t MX jandg-cooper.com
>> >   jandg-cooper.com mail is handled by 10 cooper-linux.jandg-cooper.com.
>> >
>> >   $ host jandg-cooper.com
>> >   Host jandg-cooper.com not found: 3(NXDOMAIN)
>
> The auth servers are broken.
>
> ; <<>> DiG 8.3 <<>> jandg-cooper.com @dns3.name-services.com +norec
> ; (1 server found)
> ;; res options: init defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30809
> ;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; jandg-cooper.com, type = A, class = IN
>
> ;; AUTHORITY SECTION:
> jandg-cooper.com. 1H IN SOA dns1.name-services.com. 
> info.name-services.com. (
> 2002050701 ; serial
> 2h46m41s ; refresh
> 30m1s ; retry
> 1w1s ; expiry
> 3m1s ) ; minimum
>
>
> ;; Total query time: 5072 msec
> ;; FROM: drugs.dv.isc.org to SERVER: 63.251.83.36
> ;; WHEN: Thu Mar 10 13:23:15 2005
> ;; MSG SIZE  sent: 34  rcvd: 124
>
>
> ; <<>> DiG 8.3 <<>> jandg-cooper.com @dns3.name-services.com mx
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41242
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 6
> ;; QUERY SECTION:
> ;; jandg-cooper.com, type = MX, class = IN
>
> ;; ANSWER SECTION:
> jandg-cooper.com. 1h1s IN MX 10 cooper-linux.jandg-cooper.com.
>
> ;; AUTHORITY SECTION:
> jandg-cooper.com. 1H IN NS dns1.name-services.com.
> jandg-cooper.com. 1H IN NS dns2.name-services.com.
> jandg-cooper.com. 1H IN NS dns3.name-services.com.
> jandg-cooper.com. 1H IN NS dns4.name-services.com.
> jandg-cooper.com. 1H IN NS dns5.name-services.com.
>
> ;; ADDITIONAL SECTION:
> cooper-linux.jandg-cooper.com.  1h1s IN A  213.106.40.103
> dns1.name-services.com.  1H IN A  63.251.163.102
> dns2.name-services.com.  1H IN A  216.52.184.230
> dns3.name-services.com.  1H IN A  63.251.83.36
> dns4.name-services.com.  1H IN A  64.74.96.242
> dns5.name-services.com.  1H IN A  212.118.243.118
>
> ;; Total query time: 5162 msec
> ;; FROM: drugs.dv.isc.org to SERVER: 63.251.83.36
> ;; WHEN: Thu Mar 10 13:24:07 2005
> ;; MSG SIZE  sent: 34  rcvd: 317
>
>> >   $ host cooper-linux.jandg-cooper.com
>> >   cooper-linux.jandg-cooper.com has address 213.106.40.103
>> >
>> >   $ host -t MX jandg-cooper.com
>> >   Host jandg-cooper.com not found: 3(NXDOMAIN)
>> >
>> > I'm not sure whether this is a problem with Bind or Enom.
>> >
>> > Any clues?
>>
>> I can't reproduce your problem.  I suggest you try it with "dig" instead
>> of "host" so you can see the queries and responses in detail.
>>
>> -- 
>> Barry Margolin, barmar at alum.mit.edu
>> Arlington, MA
>> *** PLEASE post questions in newsgroups, not directly to me ***
>>
>>
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org
>
> 



More information about the bind-users mailing list