From Newsgroup: comp.protocols.dns.bind
--000000000000a808bd05ad38a3df
Content-Type: text/plain; charset="UTF-8"
Hi all!
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
*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.
What is the error "Query section mismatch"? and the why? Can anybody help
me!
Thanks !
Chinhlk
--000000000000a808bd05ad38a3df
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Hi all!<br></div><div><br></div><div><div>=C2=A0=C2= =A0=C2=A0 I query the PTR Resource Record that is hosted on DNS Server/ 115.84.177.8
(reverse zone:=20
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.</div><div>=C2=A0=C2= =A0=C2=A0 The results of two case below:</div><div><b>Case 1: Query the PTR=
RR directly, i meet the error: "Question section mismatch" like:= </b><br></div><div><br></div><div>=C2=A0dig @<a href=3D"
http://115.84.177.8= ">115.84.177.8</a> 250.0-24.199.212.125.in-addr.arpa ptr<br>;;<span style= =3D"background-color:rgb(255,255,0)"> Question section mismatch:</span> got=
255.0.199.212.in-addr.arpa/PTR/IN<br>;; Question section mismatch: got 255= .0.199.212.in-addr.arpa/PTR/IN<br>;; Question section mismatch: got 255.0.1= 99.212.in-addr.arpa/PTR/IN<br></div><div><br></div><div><b>Case 2: Query An=
y RR, the result like here</b><br></div><div><br></div><div>=C2=A0dig @<a h= ref=3D"
http://115.84.177.8">115.84.177.8</a> 250.0-24.199.212.125.in-addr.a= rpa any<br><br>; <<>> DiG 9.10.4-P3 <<>> @<a href= =3D"
http://115.84.177.8">115.84.177.8</a> 250.0-24.199.212.125.in-addr.arpa=
any<br>; (1 server found)<br>;; global options: +cmd<br>;; Got answer:<br>=
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12424<br>;;=
flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 21<br>;; W= ARNING: recursion requested but not available<br><br>;; QUESTION SECTION:<b= r>;250.0-24.199.212.125.in-addr.arpa. IN =C2=A0ANY<br><br><span style=3D"ba= ckground-color:rgb(255,255,0)">;; ANSWER SECTION:<br>250.0-24.199.212.125.i= n-addr.arpa. 360 IN PTR =C2=A0 <a href=3D"
http://smtp.vss.gov.vn">smtp.vss.= gov.vn</a>.<br>250.0-24.199.212.125.in-addr.arpa. 360 IN PTR =C2=A0 <a href= =3D"
http://baohiemxahoi.gov.vn">baohiemxahoi.gov.vn</a>.<br></span><br>;; A= UTHORITY SECTION:<br>199.212.125.in-addr.arpa. 360 =C2=A0 IN =C2=A0 =C2=A0 = =C2=A0NS =C2=A0 =C2=A0 =C2=A0<a href=3D"
http://ns.viettelidc.com.vn">ns.vie= ttelidc.com.vn</a>.<br>199.212.125.in-addr.arpa. 360 =C2=A0 IN =C2=A0 =C2=
=A0 =C2=A0NS =C2=A0 =C2=A0 =C2=A0<a href=3D"
http://ns1.viettelidc.com.vn">n= s1.viettelidc.com.vn</a>.<br>199.212.125.in-addr.arpa. 360 =C2=A0 IN =C2=A0=
=C2=A0 =C2=A0NS =C2=A0 =C2=A0 =C2=A0<a href=3D"
http://ns2.viettelidc.com.v= n">ns2.viettelidc.com.vn</a>.<br></div><div><br></div><div>What is the erro=
r "Query section mismatch"? and the why? Can anybody help me!<br>= </div><div><br></div><div>Thanks !</div><div>Chinhlk<br></div></div></div>
--000000000000a808bd05ad38a3df--
--- Synchronet 3.21d-Linux NewsLink 1.2