Skip to content

Commit 624b333

Browse files
authored
Adds Procfile (#104)
* Adds Procfile * Update README.md * Avoids Travis emails
1 parent 99ec5e5 commit 624b333

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ script:
1313
cache:
1414
directories:
1515
- $HOME/.cache
16+
17+
notifications:
18+
email: false

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dns: erl -config erldns.config -pa _build/default/lib/**/ebin -s erldns

README.markdown README.md

+18-5
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,34 @@ You can also write new systems to load zones by writing the zones directly to th
3131

3232
An example configuration file can be found in erldns.config.example.
3333

34-
Copy it to erldns.config and modify as needed.
34+
Copy it to `erldns.config` and modify as needed.
3535

3636
## Running
3737

38-
Launch directly:
38+
### Launch directly:
3939

40-
rebar3 shell
40+
```bash
41+
overmind start
42+
```
43+
44+
### To get an interactive Erlang REPL:
45+
46+
```bash
47+
./rebar3 shell
48+
```
4149

42-
Or build a distribution with `rebar3 release` and run the release:
50+
### Build a distribution with and run the release:
4351

44-
./_build/default/rel/erldns/bin/erldns foreground
52+
```bash
53+
./rebar3 release
54+
./_build/default/rel/erldns/bin/erldns foreground
55+
```
4556

4657
## Querying
4758

4859
Here are some queries to try:
4960

61+
```bash
5062
dig -p8053 @127.0.0.1 example.com a
5163
dig -p8053 @127.0.0.1 example.com cname
5264
dig -p8053 @127.0.0.1 example.com ns
@@ -58,6 +70,7 @@ Here are some queries to try:
5870
dig -p8053 @127.0.0.1 example.com naptr
5971

6072
dig -p8053 @127.0.0.1 -x 127.0.0.1 ptr
73+
```
6174

6275
## Performance
6376

0 commit comments

Comments
 (0)