host tool used for RIPE hostcounts
- Next message (by thread): host tool used for RIPE hostcounts
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Olafur Osvaldsson
oli at isnic.is
Mon Nov 26 16:34:38 CET 2001
Hi, As I understand, you made the host tool I'm referring to. We've been using the host tool from ftp.ripe.net for the hostcounts since I don't remember when but noticed some strange behaviour this month. We got a bunch of these errors: *** incomplete resource record for ppp129-110.islandssimi.is, offset 8186 ;; response truncated to 8192 bytes ;; got answer, 23618 bytes: ;; ns_initparse: Message too long *** expand error in resource record for islandssimi.is, offset 8186 After some diging it looks like this only happens when transfering from nameservers with version 9 of bind, wich seems to be sending the whole transfer at once instead of sending one RR at a time like bind 8 does. I've fixed this by patching host.h and set the MAXPACKET size to what I think is the maximum in bind 9. There is probably a better solution to this but this atleast makes things work correctly for now. I've Cc'd this to the dns-wg at ripe.net as there are probably alot of people there geting into the same trouble. Oli -- Olafur Osvaldsson Systems Administrator Internet Iceland inc. Tel: +354 525-5291 Email: oli at isnic.is -------------- next part -------------- *** host.h.orig Mon Nov 26 15:14:45 2001 --- host.h Mon Nov 26 14:39:12 2001 *************** *** 68,77 **** #define BROADCAST_ADDR ((ipaddr_t)0xffffffff) #define LOCALHOST_ADDR ((ipaddr_t)0x7f000001) ! #if PACKETSZ > 8192 ! #define MAXPACKET PACKETSZ /* PACKETSZ should be the max udp size (512) */ #else ! #define MAXPACKET 8192 /* but tcp packets can be considerably larger */ #endif typedef union { --- 68,77 ---- #define BROADCAST_ADDR ((ipaddr_t)0xffffffff) #define LOCALHOST_ADDR ((ipaddr_t)0x7f000001) ! #if PACKETSZ > 512 ! #define MAXPACKET PACKETSZ /* PACKETSZ should be the max udp size (512) */ #else ! #define MAXPACKET 65536 /* but tcp packets can be considerably larger */ #endif typedef union {
- Next message (by thread): host tool used for RIPE hostcounts
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ dns-wg Archives ]