summaryrefslogtreecommitdiff
path: root/src/tests/files/sample_conf
blob: b15fce52a26836dfcae6b6f57b34ffc7beaea27d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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 "==gW"; # 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;
  }
}