Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (40 sloc) 1.291 kb
0c57fb3 @aeden Replace MySQL with PostgreSQL.
aeden authored
1 [
7dc71bd @aeden Provide a way to set the port.
aeden authored
2 {erldns,[
c4dd308 @kyle-neal (feat) #25 Added example config.
kyle-neal authored
3 %% DB Config
4 {storage,
5 [{type, erldns_storage_mnesia}, %% erldns_storage_json | erldns_storage_mnesia
6 {dir, "db"},
7 {dbname, undefined}, %% name of the db
8 {user, undefined}, %% for future db types
9 {pass, undefined}, %% for future db types
10 {host, undefined}, %% for future db types
11 {port, undefined} %% for future db types
12 ]},
ffe41fb @aeden Switch to using erldns/servers for configuring multiple servers
aeden authored
13 {servers, [
14 [{name, inet_localhost_1}, {address, "127.0.0.1"}, {port, 8053}, {family, inet}, {processes, 2}],
15 [{name, inet6_localhost_1}, {address, "::1"}, {port, 8053}, {family, inet6}]
70b6514 @aeden Comment out the example of connecting to a different local inet adapter.
aeden authored
16 % [{name, inet_localhost_2}, {address, "127.0.0.2"}, {port, 8053}, {family, inet}]
ffe41fb @aeden Switch to using erldns/servers for configuring multiple servers
aeden authored
17 ]},
18
427ee44 @aeden Provide an option to not send root hints.
aeden authored
19 {use_root_hints, false},
3afafd3 @aeden Reformat.
aeden authored
20 {catch_exceptions, false},
768ea4e @aeden Update example config.
aeden authored
21 {zones, "priv/example.zone.json"},
4588a7d @aeden Implement HTTP Basic Auth on admin API.
aeden authored
22 {metrics, [
23 {port, 8082}
24 ]},
25 {admin, [
26 {port, 8083},
27 {credentials, {"username", "password"}}
28 ]},
3afafd3 @aeden Reformat.
aeden authored
29 {pools, [
df6c586 @aeden Fetch zones using a pool of workers.
aeden authored
30 {tcp_worker_pool, erldns_worker, [
3afafd3 @aeden Reformat.
aeden authored
31 {size, 10},
32 {max_overflow, 20}
33 ]}
34 ]}
4f8eb67 @aeden Improve zone server configurability.
aeden authored
35 ]},
4275094 @aeden Add support for lager syslog.
aeden authored
36 {lager, [
3afafd3 @aeden Reformat.
aeden authored
37 {handlers, [
768ea4e @aeden Update example config.
aeden authored
38 {lager_file_backend, [{file, "log/debug.log"}, {level, debug}, {size, 104857600}, {count, 5}]}
3afafd3 @aeden Reformat.
aeden authored
39 ]}
4275094 @aeden Add support for lager syslog.
aeden authored
40 ]}
7dc71bd @aeden Provide a way to set the port.
aeden authored
41 ].
768ea4e @aeden Update example config.
aeden authored
42
Something went wrong with that request. Please try again.