www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

mysterious allow-query {;}; in named.conf

Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message

Joined: 09 Jul 2011
Posts: 17

PostPosted: Thu Feb 28, 2013 6:41 am    Post subject: mysterious allow-query {;}; in named.conf Reply with quote

I have ZS setup and running. But I am having issues with the DNS options. I want to restrict the DNS with these lines:

recursion yes;
allow-query {; };

But when I add them to the DNS options dialog I get an error.
/tmp/named.conf:13: 'allow-query' redefined near 'allow-query'

Inspection of the /tmp/named.conf file shows the following:
recursion yes;^M
allow-query {; };^M
  allow-query {; };
  version none;

The error is the second allow-query line. But my options files in the active profile /DB/_DB.003/var/register/system/dns/Options shows only these line: (there are some linebreaks you might not be able to see but they show up as ^M in the file under vi.

recursion yes;
allow-query {; };

The named.conf in the same profile does not have the allow-query line. Attempts to remove it in various places have failed, so I know I have some option set someplace that forces the allow-query line to be added but I am unable to find what option I have turned on/off to remove it.

So can anyone tell me how to remove the extra allow-query line?

Thanks for any hints.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group