# configuration file will follow bird (and juniper) type of configuration file
# i.e. curly brackets will be used;

# what to do with };
# a) ignore ; if it follows }

system {

  identity "I have no mouth and must scream";
  version "Infinitesimal";
  storage ".";
}

keys {
  key0.example.net hmac-md5 "Wg=="; # key special for one remote
  key1.example.net hmac-md5 "ZGFuCg=="; # implicit key for whole zone
}

remotes {
  remote0 { address 1.2.3.4; }
}

zones {
  example.net {
    file "/var/lib/knot/example.net";
    xfr-out remote0;
  }
}

interfaces {
  interface0 {
    address 10.10.1.1;
    port 53531;
  }

  interface1 {
    address ::0;
    # port 53;
  }
}

log {
  syslog {
    any notice, warning, error;
    zone all;
  }

  file "/var/log/knot/server.err" {
    server error;
  }

  stderr {
    any warning, error;
  }

  stdout {
    any info;
  }
}
