Bad compression pointer

Phil Howard phil-nsd-users at ipal.net
Tue Dec 16 17:23:57 UTC 2003


On Tue, Dec 16, 2003 at 05:34:41PM +0100, Erik Rozendaal wrote:

| David Coursey wrote:
| >Hi, first time posting to this list, and first time using NSD.
| >
| >I decided to install 1.4.0-Alpha1 and everything seemed to install ok,
| >but I can't get it running correctly.  I followed the instructions in
| >the README to the letter.  There were no errors while installing.
| >
| >The specific problem I have is when I try to dig
| >test.rilextechnologies.com  I get the error:
| >
| >;; Got bad packet: bad compression pointer
| >88 bytes
| >34 5a 85 00 00 01 00 02 00 01 00 00 04 74 65 73
| >74 11 72 69 6c 65 78 74 65 63 68 6e 6f 6c 6f 67
| >69 65 73 03 63 6f 6d 00 00 01 00 01 c0 0c 00 05
| >00 01 00 01 51 80 00 02 c3 73 c3 73 00 01 00 01
| >00 01 51 80 00 04 42 c2 77 82 c0 11 00 02 00 01
| >00 01 51 80 00 02 ec 6f
| >
| >I was thinking that this might be an error in my configuration files,
| >but am unsure.
| >
| >Let me know what you think or if you need more information.
| 
| Definitely an NSD bug (it should never respond with bad packets), even 
| though it may be triggered by strange zone files.  Could you send me a 
| copy of the zone and configuration file as well as the dig command you used?
| 
| Also, what platform are you running NSD on (OS, cpu, etc)?

I talked to David on IRC (freenode.net channel #dns) and advised him to:

1.  Use 1.2.3 for production environment
2.  Subscribe to the list if using an alpha version
3.  Ask here

Anyway, I queried his server when he asked on IRC and got the bad compression
pointer myself.  Seems to be something corrupt, but not running 1.4.0-alpha
myself, I've no experience with it.  Here's what I got:

=============================================================================
phil at vega:/home/phil 521> dig +trace test.rilextechnologies.com. a

; <<>> DiG 9.2.3 <<>> +trace test.rilextechnologies.com. a
;; global options:  printcmd
.                       81263   IN      NS      B.ROOT-SERVERS.NET.
.                       81263   IN      NS      C.ROOT-SERVERS.NET.
.                       81263   IN      NS      D.ROOT-SERVERS.NET.
.                       81263   IN      NS      E.ROOT-SERVERS.NET.
.                       81263   IN      NS      F.ROOT-SERVERS.NET.
.                       81263   IN      NS      G.ROOT-SERVERS.NET.
.                       81263   IN      NS      H.ROOT-SERVERS.NET.
.                       81263   IN      NS      I.ROOT-SERVERS.NET.
.                       81263   IN      NS      J.ROOT-SERVERS.NET.
.                       81263   IN      NS      K.ROOT-SERVERS.NET.
.                       81263   IN      NS      L.ROOT-SERVERS.NET.
.                       81263   IN      NS      M.ROOT-SERVERS.NET.
.                       81263   IN      NS      A.ROOT-SERVERS.NET.
;; Received 260 bytes from 209.102.192.77#53(209.102.192.77) in 30 ms

com.                    172800  IN      NS      A.GTLD-SERVERS.NET.
com.                    172800  IN      NS      G.GTLD-SERVERS.NET.
com.                    172800  IN      NS      H.GTLD-SERVERS.NET.
com.                    172800  IN      NS      C.GTLD-SERVERS.NET.
com.                    172800  IN      NS      I.GTLD-SERVERS.NET.
com.                    172800  IN      NS      B.GTLD-SERVERS.NET.
com.                    172800  IN      NS      D.GTLD-SERVERS.NET.
com.                    172800  IN      NS      L.GTLD-SERVERS.NET.
com.                    172800  IN      NS      F.GTLD-SERVERS.NET.
com.                    172800  IN      NS      J.GTLD-SERVERS.NET.
com.                    172800  IN      NS      K.GTLD-SERVERS.NET.
com.                    172800  IN      NS      E.GTLD-SERVERS.NET.
com.                    172800  IN      NS      M.GTLD-SERVERS.NET.
;; Received 476 bytes from 128.9.0.107#53(B.ROOT-SERVERS.NET) in 49 ms

rilextechnologies.com.  172800  IN      NS      ns1.rilextechnologies.com.
rilextechnologies.com.  172800  IN      NS      ns2.rilextechnologies.com.
;; Received 112 bytes from 192.5.6.30#53(A.GTLD-SERVERS.NET) in 46 ms

;; Got bad packet: bad compression pointer
88 bytes
6a 65 84 00 00 01 00 02 00 01 00 00 04 74 65 73
74 11 72 69 6c 65 78 74 65 63 68 6e 6f 6c 6f 67
69 65 73 03 63 6f 6d 00 00 01 00 01 c0 0c 00 05
00 01 00 01 51 80 00 02 c3 73 c3 73 00 01 00 01
00 01 51 80 00 04 42 c2 77 82 c0 11 00 02 00 01
00 01 51 80 00 02 ec 6f
phil at vega:/home/phil 522> dig @ns1.rilextechnologies.com. ns1.rilextechnologies.com. any
;; Got bad packet: bad compression pointer
79 bytes
a4 22 85 03 00 01 00 00 00 01 00 00 03 6e 73 31
11 72 69 6c 65 78 74 65 63 68 6e 6f 6c 6f 67 69
65 73 03 63 6f 6d 00 00 ff 00 01 c0 10 00 06 00
01 00 01 51 80 00 18 ef 6c c1 81 77 65 35 5d 00
01 51 80 00 00 1c 20 00 27 8d 00 00 05 46 00
phil at vega:/home/phil 523> dig @ns1.rilextechnologies.com. rilextechnologies.com. any
;; Got bad packet: bad compression pointer
89 bytes
3a cf 85 00 00 01 00 02 00 00 00 00 11 72 69 6c
65 78 74 65 63 68 6e 6f 6c 6f 67 69 65 73 03 63
6f 6d 00 00 ff 00 01 c0 0c 00 06 00 01 00 01 51
80 00 18 c3 73 c1 81 77 65 35 5d 00 01 51 80 00
00 1c 20 00 27 8d 00 00 05 46 00 c0 0c 00 02 00
01 00 01 51 80 00 02 c3 73
phil at vega:/home/phil 524>
=============================================================================

-- 
-----------------------------------------------------------------------------
| Phil Howard KA9WGN       | http://linuxhomepage.com/      http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/   http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------



More information about the nsd-users mailing list