• BIND 9 recursive queries returning SERVFAIL for 'legit' domain

    From Ian Springett@ian.springett@giacom.com to bind-users@lists.isc.org on Wed Jun 17 08:45:37 2020
    From Newsgroup: comp.protocols.dns.bind

    --_004_86816794e5094b65aa7039647a8ba24dgiacomcom_
    Content-Type: multipart/alternative;
    boundary="_000_86816794e5094b65aa7039647a8ba24dgiacomcom_"

    --_000_86816794e5094b65aa7039647a8ba24dgiacomcom_
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable

    Hi
    I have an issue with BIND 9.14.11 and recursive queries to one particular d= omain. DIG result is SERVFAIL and 'bad cookie' is logged in /var/log/messag=
    es & /var/log/named.run

    The domain has two DNS servers behind a load balancer which is causing the = bad cookie result. Would this in itself be enough to cause the SERVFAIL and=
    if so is there a way to have exceptions for known 'good' domains?
    Rgds
    Ian

    Ian Springett
    Hosted Services Engineer
    [cid:image001.png@01D3BA19.8A53C1D0]
    Giacom World Networks Ltd
    Tel: 0845 305 5577
    Fax: 01482 330194
    Email: ian.springett@giacom.com<mailto:ian.springett@giacom.com>
    Website: www.giacom.com

    IMPORTANT:
    Legally privileged/confidential information may be contained in this messag=
    e. If you are not the addressee(s) legally indicated in this message (or re= sponsible for delivery of the message to such person), you may not copy or = deliver this message to anyone. In such case, you should destroy this messa= ge, and notify us immediately. If you or your employer does not consent to = Internet e-mail messages of this kind, please advise us immediately. Opinio= ns, conclusions and other information expressed in this message are not giv=
    en or endorsed by my firm or employer unless otherwise indicated by an auth= orised representative independent of this message.
    Please note that neither my employer nor I accept any responsibility for vi= ruses and it is your responsibility to scan attachments (if any). This emai=
    l and any files transmitted are confidential and intended solely for the us=
    e of the individual or entity to which they are addressed. If you have rece= ived this email in error, please notify me by returning the email.

    Giacom World Networks Limited, Company No 03813447 Registered in England & = Wales, Registered Office: Bridge Haven One, Saxon Way, Priory Park, Hessle=
    , East Yorkshire HU13 9PG.


    --_000_86816794e5094b65aa7039647a8ba24dgiacomcom_
    Content-Type: text/html; charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable

    <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=

    <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style><![endif]--><style><!--
    /* Font Definitions */
    @font-face
    {font-family:"Cambria Math";
    panose-1:2 4 5 3 5 4 6 3 2 4;}
    @font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin:0cm;
    margin-bottom:.0001pt;
    font-size:11.0pt;
    font-family:"Calibri",sans-serif;
    mso-fareast-language:EN-US;}
    a:link, span.MsoHyperlink
    {mso-style-priority:99;
    color:#0563C1;
    text-decoration:underline;}
    span.EmailStyle18
    {mso-style-type:personal-compose;
    font-family:"Calibri",sans-serif;
    color:windowtext;}
    .MsoChpDefault
    {mso-style-type:export-only;
    font-size:10.0pt;}
    @page WordSection1
    {size:612.0pt 792.0pt;
    margin:72.0pt 72.0pt 72.0pt 72.0pt;}
    div.WordSection1
    {page:WordSection1;}
    </style><!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext=3D"edit">
    <o:idmap v:ext=3D"edit" data=3D"1" />
    </o:shapelayout></xml><![endif]-->
    </head>
    <body lang=3D"EN-GB" link=3D"#0563C1" vlink=3D"#954F72">
    <div class=3D"WordSection1">
    <p class=3D"MsoNormal">Hi<o:p></o:p></p>
    <p class=3D"MsoNormal">I have an issue with BIND 9.14.11 and recursive quer= ies to one particular domain. DIG result is SERVFAIL and &#8216;bad cookie&= #8217; is logged in /var/log/messages &amp; /var/log/named.run<o:p></o:p></=

    <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
    <p class=3D"MsoNormal">The domain has two DNS servers behind a load balance=
    r which is causing the bad cookie result. Would this in itself be enough to=
    cause the SERVFAIL and if so is there a way to have exceptions for known &= #8216;good&#8217; domains?<o:p></o:p></p>
    <p class=3D"MsoNormal">Rgds<o:p></o:p></p>
    <p class=3D"MsoNormal">Ian <o:p></o:p></p>
    <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
    <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:12.0pt;co= lor:#404040;mso-fareast-language:EN-GB">Ian Springett<o:p></o:p></span></b>=

    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color= :gray;mso-fareast-language:EN-GB">Hosted Services Engineer<o:p></o:p></span= ></p>
    <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"><img widt= h=3D"145" height=3D"81" style=3D"width:1.5104in;height:.8437in" id=3D"Pictu= re_x0020_1" src=3D"cid:image001.png@01D6448A.F52EA9E0" alt=3D"cid:image001.= png@01D3BA19.8A53C1D0"></span><o:p></o:p></p>
    <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;co= lor:#404040;mso-fareast-language:EN-GB">Giacom World Networks Ltd<o:p></o:p= ></span></b></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color= :gray;mso-fareast-language:EN-GB">Tel: 0845 305 5577<o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color= :gray;mso-fareast-language:EN-GB">Fax: 01482 330194<o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color= :gray;mso-fareast-language:EN-GB">Email:
    </span><u><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:blue;mso-far= east-language:EN-GB"><a href=3D"mailto:ian.springett@giacom.com"><span styl= e=3D"color:blue">ian.springett@giacom.com</span></a></span></u><span lang= =3D"EN-US" style=3D"font-size:10.0pt;color:gray;mso-fareast-language:EN-GB"= ><o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color= :gray;mso-fareast-language:EN-GB">Website:
    </span><u><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:#7F7F7F;mso-= fareast-language:EN-GB"><a href=3D"www.giacom.com"><span style=3D"color:#7F= 7F7F">www.giacom.com</span></a></span></u><span lang=3D"EN-US" style=3D"fon= t-size:10.0pt;color:gray;mso-fareast-language:EN-GB">
    <o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color= :#1F497D;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
    <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:8.0pt;col= or:gray;mso-fareast-language:EN-GB">IMPORTANT:<o:p></o:p></span></b></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:= gray;mso-fareast-language:EN-GB">Legally privileged/confidential informatio=
    n may be contained in this message. If you are not the addressee(s) legally=
    indicated in this message (or responsible
    for delivery of the message to such person), you may not copy or deliver t= his message to anyone. In such case, you should destroy this message, and n= otify us immediately. If you or your employer does not consent to Internet = e-mail messages of this kind, please
    advise us immediately. Opinions, conclusions and other information express=
    ed in this message are not given or endorsed by my firm or employer unless = otherwise indicated by an authorised representative independent of this mes= sage.<o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:= gray;mso-fareast-language:EN-GB">Please note that neither my employer nor I=
    accept any responsibility for viruses and it is your responsibility to sca=
    n attachments (if any). This email and
    any files transmitted are confidential and intended solely for the use of = the individual or entity to which they are addressed. If you have received = this email in error, please notify me by returning the email.</span><o:p></= o:p></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:= gray;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:= gray;mso-fareast-language:EN-GB">Giacom World Networks Limited, Company No = 03813447 Registered in England &amp; Wales, Registered Office:&nbsp; Bridge=
    Haven One, Saxon Way, Priory Park, Hessle, East
    Yorkshire&nbsp; HU13 9PG.</span><span style=3D"mso-fareast-language:EN-GB"= ><o:p></o:p></span></p>
    <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
    </div>
    </body>
    </html>

    --_000_86816794e5094b65aa7039647a8ba24dgiacomcom_--

    --_004_86816794e5094b65aa7039647a8ba24dgiacomcom_
    Content-Type: image/png; name="image001.png"
    Content-Description: image001.png
    Content-Disposition: inline; filename="image001.png"; size=4593;
    creation-date="Wed, 17 Jun 2020 08:45:37 GMT";
    modification-date="Wed, 17 Jun 2020 08:45:37 GMT"
    Content-ID: <image001.png@01D6448A.F52EA9E0>
    Content-Transfer-Encoding: base64

    iVBORw0KGgoAAAANSUhEUgAAAJEAAABRCAYAAADSMESXAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAO xAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAABFxSURBVHhe 7ZwL1GZTGcdzqZTkkm5Cco1cIsqlMqhcJkyKonIrzMiyFiJEg0W5N4z7YkwXUctljCgrLDRyZ9yK iCF3g0lyi+r3e+39rv2d77yX73vPmebz7metZ51z9tn72Xs/+3/2fvbz7Ped99BDD31bpqyBXjQw by+Fc9msATWQQZRx0LMGMoh6VmEWkEGUMdCzBjKIelZhFpBBlDHQswYyiHpWYRaQQZQx0LMGMoh6 VmEWkEGUMdCzBjKIelZhFpBB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/hm4Z2msx/JX8qzh rXHv3wrHCLwuhNi+6dzvwrtXyCsYnQlnwDG6P76kL4rPlGigchA5CxQ1TJq2xYBjF+6gSBsQSSdt wAzGs6Br5gmymxH1kL/ph+JZcDTrERwldTTbl+YPbRwQMS/rS0bPYA1UDqKs5P7TQAZR/4155T3O IKpcpf0nMIOo/8a88h5nEFWu0v4TmEHUf2NeeY8ziCpXaf8JzCDqvzGvvMcZRJWrtP8EZhD135hX 3uMMospV2n8CM4j6b8wr73EGUeUq7T+BGUT9N+aV9ziDqHKV9p/ADKL+G/PKe5xBVLlK+09gBlH/ jXnlPc4gqlyl/Sfwf9PNPfO9zKzqAAAAAElFTkSuQmCC

    --_004_86816794e5094b65aa7039647a8ba24dgiacomcom_--
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From =?utf-8?Q?Ond=C5=99ej_Sur=C3=BD?=@ondrej@isc.org to Ian Springett on Wed Jun 17 18:41:23 2020
    From Newsgroup: comp.protocols.dns.bind


    --Apple-Mail-6A7A76CF-D451-43D8-9BA6-6038B03F1D19
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Hi Ian,

    the first thing you should do is to contact the zone owner to fix their name= servers/load-balancer. The zone/domain might be =E2=80=9Clegit=E2=80=9D, but=
    its nameservers are violating the DNS protocol. Maybe you won=E2=80=99t hav=
    e to maintain a list of exceptions.

    If that doesn=E2=80=99t work, this is the configuration option you are looki= ng for: https://bind9.readthedocs.io/en/latest/reference.html?highlight=3DCo= okie#server-statement-grammar

    Ondrej
    --
    Ond=C5=99ej Sur=C3=BD =E2=80=94 ISC

    On 17 Jun 2020, at 17:22, Ian Springett <ian.springett@giacom.com> wrote:
    =20
    =EF=BB=BF
    Hi
    I have an issue with BIND 9.14.11 and recursive queries to one particular d=
    omain. DIG result is SERVFAIL and =E2=80=98bad cookie=E2=80=99 is logged in /= var/log/messages & /var/log/named.run
    =20
    The domain has two DNS servers behind a load balancer which is causing the=
    bad cookie result. Would this in itself be enough to cause the SERVFAIL and=
    if so is there a way to have exceptions for known =E2=80=98good=E2=80=99 do= mains?
    Rgds
    Ian
    =20
    Ian Springett
    Hosted Services Engineer
    <image001.png>
    Giacom World Networks Ltd
    Tel: 0845 305 5577
    Fax: 01482 330194
    Email: ian.springett@giacom.com
    Website: www.giacom.com
    =20
    IMPORTANT:
    Legally privileged/confidential information may be contained in this messa=
    ge. If you are not the addressee(s) legally indicated in this message (or re= sponsible for delivery of the message to such person), you may not copy or d= eliver this message to anyone. In such case, you should destroy this message=
    , and notify us immediately. If you or your employer does not consent to Int= ernet e-mail messages of this kind, please advise us immediately. Opinions, c= onclusions and other information expressed in this message are not given or e= ndorsed by my firm or employer unless otherwise indicated by an authorised r= epresentative independent of this message.
    Please note that neither my employer nor I accept any responsibility for v=
    iruses and it is your responsibility to scan attachments (if any). This emai=
    l and any files transmitted are confidential and intended solely for the use=
    of the individual or entity to which they are addressed. If you have receiv= ed this email in error, please notify me by returning the email.
    =20
    Giacom World Networks Limited, Company No 03813447 Registered in England &=
    Wales, Registered Office: Bridge Haven One, Saxon Way, Priory Park, Hessle=
    , East Yorkshire HU13 9PG.
    =20
    _______________________________________________
    Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscr=
    ibe from this list
    =20
    ISC funds the development of this software with paid support subscriptions=
    . Contact us at https://www.isc.org/contact/ for more information.
    =20
    =20
    bind-users mailing list
    bind-users@lists.isc.org
    https://lists.isc.org/mailman/listinfo/bind-users

    --Apple-Mail-6A7A76CF-D451-43D8-9BA6-6038B03F1D19
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto">Hi Ian,<div><br></div><div>the first thing y= ou should do is to contact the zone owner to fix their nameservers/load-bala= ncer. The zone/domain might be =E2=80=9Clegit=E2=80=9D, but its nameservers a= re violating the DNS protocol. Maybe you won=E2=80=99t have to maintain a li= st of exceptions.<br><br>If that doesn=E2=80=99t work, this is the configura= tion option you are looking for:&nbsp;<a href=3D"https://bind9.readthedocs.i= o/en/latest/reference.html?highlight=3DCookie#server-statement-grammar">http= s://bind9.readthedocs.io/en/latest/reference.html?highlight=3DCookie#server-= statement-grammar</a><br><br>Ondrej<br><div dir=3D"ltr"><div>--</div>Ond=C5=99= ej Sur=C3=BD =E2=80=94 ISC</div><div dir=3D"ltr"><br><blockquote type=3D"cit= e">On 17 Jun 2020, at 17:22, Ian Springett &lt;ian.springett@giacom.com&gt; w= rote:<br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF= =BB=BF

    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">=

    <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style><![endif]--><style><!--
    /* Font Definitions */
    @font-face
    {font-family:"Cambria Math";
    panose-1:2 4 5 3 5 4 6 3 2 4;}
    @font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin:0cm;
    margin-bottom:.0001pt;
    font-size:11.0pt;
    font-family:"Calibri",sans-serif;
    mso-fareast-language:EN-US;}
    a:link, span.MsoHyperlink
    {mso-style-priority:99;
    color:#0563C1;
    text-decoration:underline;}
    span.EmailStyle18
    {mso-style-type:personal-compose;
    font-family:"Calibri",sans-serif;
    color:windowtext;}
    .MsoChpDefault
    {mso-style-type:export-only;
    font-size:10.0pt;}
    @page WordSection1
    {size:612.0pt 792.0pt;
    margin:72.0pt 72.0pt 72.0pt 72.0pt;}
    div.WordSection1
    {page:WordSection1;}
    </style><!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext=3D"edit">
    <o:idmap v:ext=3D"edit" data=3D"1" />
    </o:shapelayout></xml><![endif]-->


    <div class=3D"WordSection1">
    <p class=3D"MsoNormal">Hi<o:p></o:p></p>
    <p class=3D"MsoNormal">I have an issue with BIND 9.14.11 and recursive queri= es to one particular domain. DIG result is SERVFAIL and =E2=80=98bad cookie=E2= =80=99 is logged in /var/log/messages &amp; /var/log/named.run<o:p></o:p></p=

    <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
    <p class=3D"MsoNormal">The domain has two DNS servers behind a load balancer=
    which is causing the bad cookie result. Would this in itself be enough to c= ause the SERVFAIL and if so is there a way to have exceptions for known =E2=80= =98good=E2=80=99 domains?<o:p></o:p></p>
    <p class=3D"MsoNormal">Rgds<o:p></o:p></p>
    <p class=3D"MsoNormal">Ian <o:p></o:p></p>
    <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
    <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:12.0pt;col= or:#404040;mso-fareast-language:EN-GB">Ian Springett<o:p></o:p></span></b></=

    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:= gray;mso-fareast-language:EN-GB">Hosted Services Engineer<o:p></o:p></span><=

    <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"><div>&lt;i= mage001.png&gt;</div></span><o:p></o:p></p>
    <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;col= or:#404040;mso-fareast-language:EN-GB">Giacom World Networks Ltd<o:p></o:p><= /span></b></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:= gray;mso-fareast-language:EN-GB">Tel: 0845 305 5577<o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:= gray;mso-fareast-language:EN-GB">Fax: 01482 330194<o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:= gray;mso-fareast-language:EN-GB">Email:
    </span><u><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:blue;mso-fare= ast-language:EN-GB"><a href=3D"mailto:ian.springett@giacom.com"><span style=3D= "color:blue">ian.springett@giacom.com</span></a></span></u><span lang=3D"EN-= US" style=3D"font-size:10.0pt;color:gray;mso-fareast-language:EN-GB"><o:p></= o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:= gray;mso-fareast-language:EN-GB">Website:
    </span><u><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:#7F7F7F;mso-f= areast-language:EN-GB"><a href=3D"www.giacom.com"><span style=3D"color:#7F7F7= F">www.giacom.com</span></a></span></u><span lang=3D"EN-US" style=3D"font-si= ze:10.0pt;color:gray;mso-fareast-language:EN-GB">
    <o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;color:= #1F497D;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
    <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:8.0pt;colo= r:gray;mso-fareast-language:EN-GB">IMPORTANT:<o:p></o:p></span></b></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:g= ray;mso-fareast-language:EN-GB">Legally privileged/confidential information m= ay be contained in this message. If you are not the addressee(s) legally ind= icated in this message (or responsible
    for delivery of the message to such person), you may not copy or deliver th= is message to anyone. In such case, you should destroy this message, and not= ify us immediately. If you or your employer does not consent to Internet e-m= ail messages of this kind, please
    advise us immediately. Opinions, conclusions and other information expresse=
    d in this message are not given or endorsed by my firm or employer unless ot= herwise indicated by an authorised representative independent of this messag= e.<o:p></o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:g= ray;mso-fareast-language:EN-GB">Please note that neither my employer nor I a= ccept any responsibility for viruses and it is your responsibility to scan a= ttachments (if any). This email and
    any files transmitted are confidential and intended solely for the use of t= he individual or entity to which they are addressed. If you have received th= is email in error, please notify me by returning the email.</span><o:p></o:p= ></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:g= ray;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
    <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;color:g= ray;mso-fareast-language:EN-GB">Giacom World Networks Limited, Company No 03= 813447 Registered in England &amp; Wales, Registered Office:&nbsp; Bridge Ha= ven One, Saxon Way, Priory Park, Hessle, East
    Yorkshire&nbsp; HU13 9PG.</span><span style=3D"mso-fareast-language:EN-GB">= <o:p></o:p></span></p>
    <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
    </div>


    <span>_______________________________________________</span><br><span>Please=
    visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from=
    this list</span><br><span></span><br><span>ISC funds the development of thi=
    s software with paid support subscriptions. Contact us at https://www.isc.or= g/contact/ for more information.</span><br><span></span><br><span></span><br= ><span>bind-users mailing list</span><br><span>bind-users@lists.isc.org</spa= n><br><span>https://lists.isc.org/mailman/listinfo/bind-users</span><br></di= v></blockquote></div></body></html>=

    --Apple-Mail-6A7A76CF-D451-43D8-9BA6-6038B03F1D19--
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From Mark Andrews@marka@isc.org to Ian Springett on Thu Jun 18 09:57:34 2020
    From Newsgroup: comp.protocols.dns.bind


    On 17 Jun 2020, at 18:45, Ian Springett <ian.springett@giacom.com> wrote:

    Hi
    I have an issue with BIND 9.14.11 and recursive queries to one particular domain. DIG result is SERVFAIL and ‘bad cookie’ is logged in /var/log/messages & /var/log/named.run

    The domain has two DNS servers behind a load balancer which is causing the bad cookie result. Would this in itself be enough to cause the SERVFAIL and if so is there a way to have exceptions for known ‘good’ domains?
    Rgds
    Ian
    Load balancers shouldn’t cause “bad cookie” (client cookie component not echoed back in the cookie response) as apposed to the BADCOOKIE rcode which can be caused by misconfigured shared secrets. Named will handle the BADCOOKIE rcode switching to TCP if necessary. “bad cookie” indicates a botched DNS COOKIE implementation in the server, a broken full answer cache mechanism that hasn’t considered that EDNS options modify responses, or someone is attempting to spoof a reply and is including a DNS COOKIE (named assumes this is the case and waits for the legitimate).
    Ondrej’s suggestions are the way to go here.
    Ian Springett
    Hosted Services Engineer
    <image001.png>
    Giacom World Networks Ltd
    Tel: 0845 305 5577
    Fax: 01482 330194
    Email: ian.springett@giacom.com
    Website: www.giacom.com

    IMPORTANT:
    Legally privileged/confidential information may be contained in this message. If you are not the addressee(s) legally indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet e-mail messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my firm or employer unless otherwise indicated by an authorised representative independent of this message.
    Please note that neither my employer nor I accept any responsibility for viruses and it is your responsibility to scan attachments (if any). This email and any files transmitted are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error, please notify me by returning the email.

    Giacom World Networks Limited, Company No 03813447 Registered in England & Wales, Registered Office: Bridge Haven One, Saxon Way, Priory Park, Hessle, East Yorkshire HU13 9PG.

    _______________________________________________
    Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

    ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


    bind-users mailing list
    bind-users@lists.isc.org
    https://lists.isc.org/mailman/listinfo/bind-users
    --
    Mark Andrews, ISC
    1 Seymour St., Dundas Valley, NSW 2117, Australia
    PHONE: +61 2 9871 4742 INTERNET: marka@isc.org
    --- Synchronet 3.18a-Linux NewsLink 1.113