Option in named to turn off EDNS Globally

Nico CARTRON nicolas at ncartron.org
Fri Aug 5 07:04:06 UTC 2016


Hi Harshith,

> On 05 Aug 2016, at 08:47, Harshith Mulky <harshith.mulky at outlook.com> wrote:
> 
> I have tried enabling with the significant bits
> 
> server 0.0.0.0/0 { edns no; };
> server ::/0 { edns no; };
> 
> But, I get the following Error
> Error in named configuration:
> /etc/named.conf:120: '{' expected near '/'
> 
> Error in /var/log/messages
> 
> Aug  5 11:59:19 coorg named:  failed
> Aug  5 11:59:19 coorg named: /etc/named.conf:120: '{' expected near '/'
> 
> 

You still didn't say why you want to turn off EDNS. 
That shouldn't be needed nowadays and could even cause problems...

-- 
Nico


> Thanks
> Harshith
> 
> From: Mark Andrews <marka at isc.org>
> Sent: Friday, August 5, 2016 11:11:01 AM
> To: Harshith Mulky
> Cc: bind-users at lists.isc.org
> Subject: Re: Option in named to turn off EDNS Globally
>  
> 
> In message <PN1PR01MB02706AB69FAA9DC90203C65881070 at PN1PR01MB0270.INDPRD01.PROD.OUTLOOK
> .COM>, Harshith Mulky writes:
> > Hello,
> > 
> > Is there a option in named to turn off EDNS Responses(not Requests) Globally
> > 
> > I have tried with this Option on named
> > 
> > server 0.0.0.0
> > {
> > edns no;
> > };
> 
> You need specify the significant bits.  By default all the bits are significant.
> 
> server 0.0.0.0/0 { edns no; };
> server ::/0 { edns no; };
>  
> But why do you need to turn off EDNS?  Its almost always not what is needed.
> 
> Mark
> 
> > But does not seem to work
> > 
> > Any other options?
> > 
> > Thanks
> > 
> > Harshith
> -- 
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160805/578a25f9/attachment.html>


More information about the bind-users mailing list