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 <ma...@isc.org>
Sent: Friday, August 5, 2016 11:11:01 AM
To: Harshith Mulky
Cc: bind-users@lists.isc.org
Subject: Re: Option in named to turn off EDNS Globally


In message 
<pn1pr01mb02706ab69faa9dc90203c65881...@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: ma...@isc.org
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to