Groups | Search | Server Info | Login | Register
Groups > comp.protocols.dns.bind > #16052
| From | Matus UHLAR - fantomas <uhlar@fantomas.sk> |
|---|---|
| Newsgroups | comp.protocols.dns.bind |
| Subject | Re: Error "Query section mismatch : got" |
| Date | 2020-08-19 13:41 +0200 |
| Message-ID | <mailman.806.1597837260.942.bind-users@lists.isc.org> (permalink) |
| References | <CA+N48Xf8vKph42T4xq_KgnwjzpQV1YVboWztm6CmPcMok6_GQA@mail.gmail.com> <20200819114133.GA6272@fantomas.sk> |
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
Re: Error "Query section mismatch : got" Matus UHLAR - fantomas <uhlar@fantomas.sk> - 2020-08-19 13:41 +0200
csiph-web