• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua named (bind) won't start [CentOs 5.x]

reikoemco

New Member
Joined
Sep 4, 2018
Messages
1
Reaction score
0
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 '{'
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:
Back
Top