Re: [DNSOP] Open Aggregated Datasets and stats on DNS (.NL ccTLD)

"Giovane C. M. Moura" <giovane.moura@sidn.nl> Mon, 21 September 2015 12:24 UTC

Return-Path: <giovane.moura@sidn.nl>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 932221ACD11 for <dnsop@ietfa.amsl.com>; Mon, 21 Sep 2015 05:24:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.384
X-Spam-Level: ***
X-Spam-Status: No, score=3.384 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, J_CHICKENPOX_37=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q44XLOU6wz38 for <dnsop@ietfa.amsl.com>; Mon, 21 Sep 2015 05:24:04 -0700 (PDT)
Received: from arn2-kamx.sidn.nl (kamx.sidn.nl [IPv6:2a00:d78:0:147:94:198:152:69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A595D1ACD0A for <dnsop@ietf.org>; Mon, 21 Sep 2015 05:24:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=sidn.nl; s=sidn-nl; c=relaxed/relaxed; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:x-originating-ip; bh=Cnf8R0zjNvKt+y8ZudIuc+vemVHZN3Uu+5l69NqQZhk=; b=HSyifXHplR3wzWnqHKjMMBpoFun8oLInuWNvhi8G1JljPN4yYtoCfVyb7lS8/ZyV6qbXeHHT2WPIJmEceOgSro9AYsqCdM5v38YgnlkbUJSqxjqk6ilsaovN5NkHOTfTV4QEHxKxAQnnCVL4nyp+J+fPwlqAWTThk2M9F1NSll73IXMfV/tTw158IZzv5v1gzkhkisf5tfqDoPtH2pjGD7gPuYvAIcIL4hP3YpM2RInC+aWC2idrzDgQR7pR8uZPWp8MrJr+0W/RjmSnNMgvPWhnhXsDEYvqJB6VnE9FAbYgvvoPkswWyw8OzEfMvhyLXDMZ7FUCB8xyysn1b6i4Ng==
Received: from ka-mbx02.SIDN.local ([192.168.2.178]) by arn2-kamx.sidn.nl with ESMTP id t8LCO2Mg018717-t8LCO2Mi018717 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=CAFAIL) for <dnsop@ietf.org>; Mon, 21 Sep 2015 14:24:02 +0200
Received: from KAHUBCASN02.SIDN.local (192.168.2.74) by ka-mbx02.SIDN.local (192.168.2.178) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Mon, 21 Sep 2015 14:24:01 +0200
Received: from [94.198.159.133] (94.198.152.216) by kahubcasn02.SIDN.local (192.168.2.77) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 21 Sep 2015 14:24:01 +0200
Message-ID: <55FFF6B3.5090201@sidn.nl>
Date: Mon, 21 Sep 2015 14:23:15 +0200
From: "Giovane C. M. Moura" <giovane.moura@sidn.nl>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0
MIME-Version: 1.0
To: dnsop@ietf.org
References: <55E84BDC.9030704@sidn.nl> <20150903152745.GE9021@mournblade.imrryr.org> <55FFCDCE.800@sidn.nl>
In-Reply-To: <55FFCDCE.800@sidn.nl>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [94.198.152.216]
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/rnWEJonq9svJiSM9oZvvYnjrXWM>
Subject: Re: [DNSOP] Open Aggregated Datasets and stats on DNS (.NL ccTLD)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2015 12:24:05 -0000

> I'd be curious to know what you're seeing for the dominant "_<port>"
>> number in the observed TLSA queries, and whether any particular
>> resolvers are responsible for the bulk of the "_25" queries.

In the previous e-mail I sent the client's source ports counts, in
addition to the counts per IP.

Now I see you meant  something else, the port number listed in the
qname: E.g: the "25"  part in _25._tcp.mail.example2.nl.

So for that, I parsed the query as follows, in SQL/Impala syntax:

select regexp_extract(qname, "^(_[0-9]*)\.",0) as label, count(1) as
total from  dns.queries where qtype=52 and year='2015' group by label
order by total desc;

The results, for the top 20, are:

Port,TotalQueries
25,93592
443,36536
NA,4011
587,885
465,878
8443,98
2222,70
4040,66
8888,38
2223,35
5222,25
48443,24
5001,23
1443,20
448,20
2087,16
4443,15
14443,15
2443,14


So it's more "popular" on e-mail than web. Just let me know if you need
the entire csv.

/giovane