I'm getting configuration error whenever i'm trying to start named
I'm supernoobie at coding/scripting/whatever , but i'm really stucked here and can't find the thing
Lines 5 and 6 are actually lines 104 and 105 in the full script, so expect the issue between those lines
Help plesase xd
So heres an error and a piece of it's code:
/etc/named.conf:105: '}' expected near '{'
I'm supernoobie at coding/scripting/whatever , but i'm really stucked here and can't find the thing
Lines 5 and 6 are actually lines 104 and 105 in the full script, so expect the issue between those lines
Help plesase xd
So heres an error and a piece of it's code:
/etc/named.conf:105: '}' expected near '{'
Lua:
{
algorithm hmac-md5;
secret "use /usr/sbin/dns-keygen to generate TSIG keys";
};
{
match-clients { any; };
match-destinations { any; };
recursion no;
// you'd probably want to deny recursion to external clients, so you don't
// end up providing free DNS service to all takers
allow-query-cache { none; };
// Disable lookups for any cached data and root hints
// all views must contain the root hints zone:
include "/etc/named.root.hints";
// These are your "authoritative" external zones, and would probably
// contain entries for just your web and mail servers:
//zone "my.external.zone" {
// type master;
// file "my.external.zone.db";
//};
};
Last edited: