Option in named to turn off EDNS Globally

Harshith Mulky harshith.mulky at outlook.com
Fri Aug 5 06:47:27 UTC 2016


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 '/'


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160805/71a7a8f8/attachment.html>


More information about the bind-users mailing list