forked from dnsimple/erldns
-
Notifications
You must be signed in to change notification settings - Fork 1
/
erldns.config.example
42 lines (40 loc) · 1.26 KB
/
erldns.config.example
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
[
{erldns,[
%% DB Config
{storage,
[{type, erldns_storage_mnesia}, %% erldns_storage_json | erldns_storage_mnesia
{dir, "db"},
{dbname, undefined}, %% name of the db
{user, undefined}, %% for future db types
{pass, undefined}, %% for future db types
{host, undefined}, %% for future db types
{port, undefined} %% for future db types
]},
{servers, [
[{name, inet_localhost_1}, {address, "127.0.0.1"}, {port, 8053}, {family, inet}, {processes, 2}],
[{name, inet6_localhost_1}, {address, "::1"}, {port, 8053}, {family, inet6}]
% [{name, inet_localhost_2}, {address, "127.0.0.2"}, {port, 8053}, {family, inet}]
]},
{use_root_hints, false},
{catch_exceptions, false},
{zones, "priv/example.zone.json"},
{metrics, [
{port, 8082}
]},
{admin, [
{port, 8083},
{credentials, {"username", "password"}}
]},
{pools, [
{tcp_worker_pool, erldns_worker, [
{size, 10},
{max_overflow, 20}
]}
]}
]},
{lager, [
{handlers, [
{lager_file_backend, [{file, "log/debug.log"}, {level, debug}, {size, 104857600}, {count, 5}]}
]}
]}
].