Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.protocols.dns.bind > #16052

Re: Error "Query section mismatch : got"

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!usenet-its.stanford.edu!usenet.stanford.edu!not-for-mail
From Matus UHLAR - fantomas <uhlar@fantomas.sk>
Newsgroups comp.protocols.dns.bind
Subject Re: Error "Query section mismatch : got"
Date Wed, 19 Aug 2020 13:41:33 +0200
Lines 77
Approved bind-users@lists.isc.org
Message-ID <mailman.806.1597837260.942.bind-users@lists.isc.org> (permalink)
References <CA+N48Xf8vKph42T4xq_KgnwjzpQV1YVboWztm6CmPcMok6_GQA@mail.gmail.com> <20200819114133.GA6272@fantomas.sk>
NNTP-Posting-Host lists.isc.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii; format=flowed
X-Trace usenet.stanford.edu 1597837307 2342 149.20.1.60 (19 Aug 2020 11:41:47 GMT)
X-Complaints-To action@cs.stanford.edu
To bind-users@lists.isc.org
Return-Path <uhlar@fantomas.sk>
X-Original-To bind-users@lists.isc.org
Delivered-To bind-users@lists.isc.org
X-Authentication-Warning fantomas.fantomas.sk: uhlar set sender to uhlar@fantomas.sk using -f
Mail-Followup-To bind-users@lists.isc.org
Content-Disposition inline
In-Reply-To <CA+N48Xf8vKph42T4xq_KgnwjzpQV1YVboWztm6CmPcMok6_GQA@mail.gmail.com>
User-Agent Mutt/1.10.1 (2018-07-13)
X-Spam-Status No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version SpamAssassin 3.4.2 (2018-09-13) on mx.pao1.isc.org
X-BeenThere bind-users@lists.isc.org
X-Mailman-Version 2.1.29
Precedence list
List-Id BIND Users Mailing List <bind-users.lists.isc.org>
List-Unsubscribe <https://lists.isc.org/mailman/options/bind-users>, <mailto:bind-users-request@lists.isc.org?subject=unsubscribe>
List-Archive <https://lists.isc.org/pipermail/bind-users/>
List-Post <mailto:bind-users@lists.isc.org>
List-Help <mailto:bind-users-request@lists.isc.org?subject=help>
List-Subscribe <https://lists.isc.org/mailman/listinfo/bind-users>, <mailto:bind-users-request@lists.isc.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200819114133.GA6272@fantomas.sk>
X-Mailman-Original-References <CA+N48Xf8vKph42T4xq_KgnwjzpQV1YVboWztm6CmPcMok6_GQA@mail.gmail.com>
Xref csiph.com comp.protocols.dns.bind:16052

Show key headers only | View raw


On 19.08.20 17:40, Smile TV wrote:
>    I query the PTR Resource Record that is hosted on DNS Server/
>115.84.177.8 (reverse zone: 250.0-24.199.212.125.in-addr.arpa). However,
>There is a difference between when querying directly the PTR RR and
>querying Any RR.
>    The results of two case below:
>*Case 1: Query the PTR RR directly, i meet the error: "Question section
>mismatch" like:*
>
> dig @115.84.177.8 250.0-24.199.212.125.in-addr.arpa ptr
>;; Question section mismatch: got 255.0.199.212.in-addr.arpa/PTR/IN
>;; Question section mismatch: got 255.0.199.212.in-addr.arpa/PTR/IN
>;; Question section mismatch: got 255.0.199.212.in-addr.arpa/PTR/IN


>What is the error "Query section mismatch"? and the why? Can anybody help
>me!

you asked for:
250.0-24.199.212.125.in-addr.arpa 
but got:
255.0.199.212.in-addr.arpa

that's different therefore the mismatch.


Why do you query for 250.0-24.199.212.125.in-addr.arpa by the way?


>*Case 2: Query Any RR, the result like here*
>
> dig @115.84.177.8 250.0-24.199.212.125.in-addr.arpa any
>
>; <<>> DiG 9.10.4-P3 <<>> @115.84.177.8 250.0-24.199.212.125.in-addr.arpa
>any
>; (1 server found)
>;; global options: +cmd
>;; Got answer:
>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12424
>;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 21
>;; WARNING: recursion requested but not available
>
>;; QUESTION SECTION:
>;250.0-24.199.212.125.in-addr.arpa. IN  ANY
>
>;; ANSWER SECTION:
>250.0-24.199.212.125.in-addr.arpa. 360 IN PTR   smtp.vss.gov.vn.
>250.0-24.199.212.125.in-addr.arpa. 360 IN PTR   baohiemxahoi.gov.vn.
>
>;; AUTHORITY SECTION:
>199.212.125.in-addr.arpa. 360   IN      NS      ns.viettelidc.com.vn.
>199.212.125.in-addr.arpa. 360   IN      NS      ns1.viettelidc.com.vn.
>199.212.125.in-addr.arpa. 360   IN      NS      ns2.viettelidc.com.vn.


I got the same results for both queries, but UDP is allowed while TCP is
refused.
- no matter if I ask for any or for ptr.

seems that default for 'any' is TCP, while for 'ptr' the default is UDP.

TCP is required for working DNS - they should not block it.


again, why you query for 250.0-24.199.212.125.in-addr.arpa ?

under normal circumstances there's no point of querying that name.


there


-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm

Back to comp.protocols.dns.bind | Previous | Next | Find similar


Thread

Re: Error "Query section mismatch : got" Matus UHLAR - fantomas <uhlar@fantomas.sk> - 2020-08-19 13:41 +0200

csiph-web