Option in named to turn off EDNS Globally

Mark Andrews marka at isc.org
Fri Aug 5 07:03:50 UTC 2016


In message <PN1PR01MB02701E948AE7D768EC8DEE5B81180 at PN1PR01MB0270.INDPRD01.PROD.OUTLOOK.COM>, Harshith Mulky writes:
> 
> 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 '/'

It looks like you are running pre-9.5.0 version of named which means
you are running a version of named that was end-of-lifed years ago.

> 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.P=
> ROD.OUTLOOK
> .COM>, Harshith Mulky writes:
> > Hello,
> >
> > Is there a option in named to turn off EDNS Responses(not Requests) Globa=
> lly
> >
> > 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 signifi=
> cant.
> 
> 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
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list