From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <8a725aff-163a-4a3f-97c7-321dfad44836@p11g2000vbn.googlegroups.com> References: <8a725aff-163a-4a3f-97c7-321dfad44836@p11g2000vbn.googlegroups.com> From: Sergey Zhilkin Date: Tue, 23 Nov 2010 15:20:13 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] DNS problem Topicbox-Message-UUID: 85e5af56-ead6-11e9-9d60-3106f5b1d025 Hi ! Seems like that is an old google dns issue, look at http://9fans.net/archive/2008/10/37 On Tue, Nov 23, 2010 at 12:48 PM, Pavel Klinkovsky wrote: > > Hi all, > > I am using Plan9 server as my home server (ip=3D192.168.15.20) > controlling DNS names in my LAN and relaying other requests to the > public DNS server (ip=3D88.146.135.10). > Up to now everything worked fine. > > > I discovered a problem with SRV request type from my Linux workstation > (ip=3D192.168.15.207): > > $ nslookup -type=3Dsrv _xmpp-server._tcp.google.com > ;; Warning: Message parser reports malformed message packet. > Server: =C2=A0 =C2=A0 =C2=A0 =C2=A0 192.168.15.20 > Address: =C2=A0 =C2=A0 =C2=A0 =C2=A0192.168.15.20#53 > > *** Can't find _xmpp-server._tcp.google.com: No answer > > > I monitored DNS traffic on my server using 'snoopy': > > 091714 ms > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether(s=3D6cf0490d4ac0 d=3D00270e03ef27 pr=3D0= 800 ln=3D88) > =C2=A0 =C2=A0 =C2=A0 =C2=A0ip(s=3D192.168.15.207 d=3D192.168.15.20 id=3D5= a54 frag=3D0000 ttl=3D 64 pr=3D17 > ln=3D74) > =C2=A0 =C2=A0 =C2=A0 =C2=A0udp(s=3D44912 d=3D53 ck=3Da748 ln=3D =C2=A054) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns(id=3D49429 flags=3D0x100) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.qd(srv name=3D_xmpp-server._tcp.google.com= ttl=3D0) > 091730 ms > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether(s=3D00270e03ef27 d=3D0013101df6b6 pr=3D0= 800 ln=3D88) > =C2=A0 =C2=A0 =C2=A0 =C2=A0ip(s=3D192.168.15.20 d=3D88.146.135.10 id=3Df1= 22 frag=3D0000 ttl=3D255 pr=3D17 > ln=3D74) > =C2=A0 =C2=A0 =C2=A0 =C2=A0udp(s=3D40364 d=3D53 ck=3D6987 ln=3D =C2=A054) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns(id=3D374 flags=3D0x100) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.qd(srv name=3D_xmpp-server._tcp.google.com= ttl=3D0) > 091755 ms > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether(s=3D0013101df6b6 d=3D00270e03ef27 pr=3D0= 800 ln=3D458) > =C2=A0 =C2=A0 =C2=A0 =C2=A0ip(s=3D88.146.135.10 d=3D192.168.15.20 id=3Dad= 4c frag=3D0000 ttl=3D126 pr=3D17 > ln=3D444) > =C2=A0 =C2=A0 =C2=A0 =C2=A0udp(s=3D53 d=3D40364 ck=3D6873 ln=3D 424) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns(id=3D374 flags=3D0x8500) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.qd(srv name=3D_xmpp-server._tcp.google.com= ttl=3D0) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.an(srv name=3D_xmpp-server._tcp.google.com= ttl=3D900) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.an(srv name=3D_xmpp-server._tcp.google.com= ttl=3D900) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.an(srv name=3D_xmpp-server._tcp.google.com= ttl=3D900) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.an(srv name=3D_xmpp-server._tcp.google.com= ttl=3D900) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.an(srv name=3D_xmpp-server._tcp.google.com= ttl=3D900) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.ar(ip name=3Dxmpp-server1.l.google.com ttl= =3D1800) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.ar(ip name=3Dxmpp-server4.l.google.com ttl= =3D1800) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.ar(ip name=3Dxmpp-server.l.google.com ttl= =3D300) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.ar(ip name=3Dxmpp-server2.l.google.com ttl= =3D1800) > =C2=A0 =C2=A0 =C2=A0 =C2=A0dns.ar(ip name=3Dxmpp-server3.l.google.com ttl= =3D1800) > > > > You can see that: > - request is delivered from Linux to the server, > - relayed to the public server, > - answer is received from the public server, > - nothing is sent to the Linux. > > This is not fully true, I monitored the IP traffic on Linux using > 'wireshark'. > Linux received an answer, but as a malformed (cut) packet. > (Just note: This 'wireshark' dump does not match preciselly since the > the 'snoopy' dump was from different test. > But the behavior is always the same.) > > 0000 =C2=A06c f0 49 0d 4a c0 00 27 =C2=A00e 03 ef 27 08 00 45 00 > l.I.J..' ...'..E. > 0010 =C2=A001 25 53 db 00 00 ff 11 =C2=A0c6 b8 c0 a8 0f 14 c0 a8 =C2=A0 . > %S..... ........ > 0020 =C2=A00f cf 00 35 cd c2 01 11 =C2=A08f a0 53 4e 84 80 00 01 =C2=A0 .= .. > 5.... ..SN.... > 0030 =C2=A000 05 00 00 00 00 0c 5f =C2=A078 6d 70 70 2d 73 65 72 =C2=A0 .= ......_ xmpp- > ser > 0040 =C2=A076 65 72 04 5f 74 63 70 =C2=A006 67 6f 6f 67 6c 65 03 > ver._tcp .google. > 0050 =C2=A063 6f 6d 00 00 21 00 01 =C2=A0c0 0c 00 21 00 01 00 00 > com..!.. ...!.... > 0060 =C2=A001 0a 00 20 00 14 00 00 =C2=A014 95 19 78 6d 70 70 > 2d =C2=A0 ... .... ...xmpp- > 0070 =C2=A073 65 72 76 65 72 32 2e =C2=A06c 2e 67 6f 6f 67 6c 65 =C2=A0 s= erver2. > l.google > 0080 =C2=A02e 63 6f 6d c0 0c 00 21 =C2=A000 01 00 00 01 0a 00 > 20 =C2=A0 .com...! ....... > 0090 =C2=A000 14 00 00 14 95 19 78 =C2=A06d 70 70 2d 73 65 72 76 =C2=A0 .= ......x mpp- > serv > 00a0 =C2=A065 72 33 2e 6c 2e 67 6f =C2=A06f 67 6c 65 2e 63 6f 6d =C2=A0 e= r3.l.go > ogle.com > 00b0 =C2=A0c0 0c 00 21 00 01 00 00 =C2=A001 0a 00 20 00 14 00 > 00 =C2=A0 ...!.... ... .... > 00c0 =C2=A014 95 19 78 6d 70 70 2d =C2=A073 65 72 76 65 72 34 2e =C2=A0 .= ..xmpp- > server4. > 00d0 =C2=A06c 2e 67 6f 6f 67 6c 65 =C2=A02e 63 6f 6d c0 0c 00 21 > l.google .com...! > 00e0 =C2=A000 01 00 00 01 0a 00 20 =C2=A000 14 00 00 14 95 19 > 78 =C2=A0 ....... =C2=A0.......x > 00f0 =C2=A06d 70 70 2d 73 65 72 76 =C2=A065 72 31 2e 6c 2e 67 6f =C2=A0 m= pp-serv > er1.l.go > 0100 =C2=A06f 67 6c 65 2e 63 6f 6d =C2=A0c0 0c 00 21 00 01 00 00 > ogle.com ...!.... > 0110 =C2=A001 0a 00 1f 00 05 00 00 =C2=A014 95 18 78 6d 70 70 > 2d =C2=A0 ........ ...xmpp- > 0120 =C2=A073 65 72 76 65 72 2e 6c =C2=A02e 67 6f 6f 67 6c 65 2e > server.l .google. > 0130 =C2=A063 6f 6d > com > > > It seems to me the DNS in Plan9 has a problem... ;-) > > Can anyone help me? > > Thanks in advance. > > Pavel > > --=20 =D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF= =D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8 =D0=96=D0=B8=D0=BB=D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 With best regards Zhilkin Sergey