Results 1 to 1 of 1

Thread: named-checkconf error on DNSSEC

  1. #1
    Join Date
    Jul 2006
    Location
    Chippenham
    Beans
    12
    Distro
    Kubuntu 22.10 Kinetic Kudu

    named-checkconf error on DNSSEC

    Hi,

    OS: Ubuntu 22.04 LTS

    Hoping someone can point me in the right direction. I have been trying to set this up as a development server for my training for a few days now with limited success. I can set up a working DNS with Bind9 but when I start to elaborate on it with DNSSEC, it doesn't play well.

    My error is :

    Code:
    karti@mail:/etc/bind/zones$ named-checkconf
    /etc/bind/Kjetj.ltd.+007+59298.key:1: '}' expected near ';'
    and my /etc/bind/named.conf.options is:

    Code:
    options {
        directory "/var/cache/bind";
        recursion yes;
        dnssec-validation yes;
        listen-on-v6 { any; };
        listen-on { 192.168.122.247; };
        allow-query { localhost; 192.168.122.0/24; }; // Allow queries from localhost and your local network
        managed-keys-directory "/var/cache/bind"; // Path to keys file //
        forwarders {
            8.8.8.8;
            8.8.4.4;
        };
    };
    And for my /etc/bind/named.conf.local

    Code:
     //
    // Do any local configuration here
    //
    
    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";
    
    zone "jetj.ltd" {
        type master;
        file "/etc/bind/db.jetj.ltd";
        // Add other zone-specific options here
        include "/etc/bind/Kjetj.ltd.+007+55485.key";
    };
    
    zone "122.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192";
        // Add other zone-specific options here
        include "/etc/bind/Kjetj.ltd.+007+55485.key";
    };

    Any pointers would be appreciated.

    Regards

    Karti
    Last edited by Karti; September 3rd, 2023 at 04:32 PM. Reason: Added file

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •