Re: hyatt.com spf record and dnscache
Matthew Dempsky <[email protected]> Wed, 28 Jul 2010 11:01:01 -0700
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 28, 2010 at 9:44 AM, David Hubbard <[email protected]> wrote: > Is this an issue of the size of the record and djbdns or > something I'm overlooking? It's not the size of the record that's the issue, it's that their name servers are sending back >512 byte UDP responses regardless of the client's buffer size advertisement (or lack thereof, in the case of djbdns). Patch below will workaround the issue. (Apologies if gmail mangles it.) --- dns_transmit.c~ Wed Jul 28 04:23:30 2010 +++ dns_transmit.c Wed Jul 28 04:23:30 2010 @@ -240,7 +240,7 @@ int dns_transmit_get(struct dns_transmit *d,const iopause_fd *x,const struct taia *when) { - char udpbuf[513]; + char udpbuf[4097]; unsigned char ch; int r; int fd;