Re: CNAME lookup failure started

Mark Johnson <[email protected]> Mon, 11 Oct 2010 17:04:04 -0500
Newsgroups gmane.network.djbdns,gmane.mail.qmail.general
Message-ID <[email protected]>
--0016e64bb804e1f97504925e895b
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Oct 7, 2010 at 2:28 PM, Erwin Hoffmann <[email protected]> wrote:

> However, I use a patched version of djbdns allowing 'big' UDP packets
> (common these days). I suggest to enhance the value of 'udpbuf' in
> dns_transmit.c to 1200 byte:
>
> int dns_transmit_get(struct dns_transmit *d,const iopause_fd *x,const
> struct taia *when)
> {
>  char udpbuf[1200];
>  unsigned char ch;
>  int r;
>  int fd;
>
> Remember: The original maximum size for UDP packets was due to the IPv4
> MTU constraints, roughly about 500 byte. Current networks -- able to
> transmit IPv6 packets -- need to support a minimum MTU of 1280 byte.
>
> Change that value and recompile. This changed value will now be the
> standard maximum size of all djbdns traffic.
>
> regards.
> --eh.
>
> --
> Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de
>

FYI, I merged a similar fix (patch from Matthew Dempsky) into zinq-djbdns a
while back:

http://zinq.svn.sourceforge.net/viewvc/zinq/dns/trunk/dns_transmit.c?r1=51&r2=66
http://marc.info/?l=djbdns&m=122368590802063&w=2

--0016e64bb804e1f97504925e895b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 7, 2010 at 2:28 PM, Erwin Hoffmann <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><div clas=
s=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"border-left: 1=
px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"=
>

However, I use a patched version of djbdns allowing &#39;big&#39; UDP packe=
ts<br>
(common these days). I suggest to enhance the value of &#39;udpbuf&#39; in<=
br>
dns_transmit.c to 1200 byte:<br>
<br>
int dns_transmit_get(struct dns_transmit *d,const iopause_fd *x,const<br>
struct taia *when)<br>
{<br>
 =A0char udpbuf[1200];<br>
 =A0unsigned char ch;<br>
 =A0int r;<br>
 =A0int fd;<br>
<br>
Remember: The original maximum size for UDP packets was due to the IPv4<br>
MTU constraints, roughly about 500 byte. Current networks -- able to<br>
transmit IPv6 packets -- need to support a minimum MTU of 1280 byte.<br>
<br>
Change that value and recompile. This changed value will now be the<br>
standard maximum size of all djbdns traffic.<br>
<br>
regards.<br>
--eh.<br>
<font color=3D"#888888"><br>
--<br>
Dr. Erwin Hoffmann | FEHCom | <a href=3D"http://www.fehcom.de" target=3D"_b=
lank">http://www.fehcom.de</a><br>
</font></blockquote></div><br>FYI, I merged a similar fix (patch from Matth=
ew Dempsky) into zinq-djbdns a while back:<br><br><a href=3D"http://zinq.sv=
n.sourceforge.net/viewvc/zinq/dns/trunk/dns_transmit.c?r1=3D51&amp;r2=3D66"=
>http://zinq.svn.sourceforge.net/viewvc/zinq/dns/trunk/dns_transmit.c?r1=3D=
51&amp;r2=3D66</a><br>
<a href=3D"http://marc.info/?l=3Ddjbdns&amp;m=3D122368590802063&amp;w=3D2">=
http://marc.info/?l=3Ddjbdns&amp;m=3D122368590802063&amp;w=3D2</a><br>

--0016e64bb804e1f97504925e895b--