-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
38 lines (24 loc) · 876 Bytes
/
README
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
A simple Ruby DNS server for EventMachine. Supports the following record
types: SOA, NS, MX, A, AAAA, CNAME, TXT and SRV.
required gems:
daemons
eventmachine
dnsruby
optional gems:
directory_watcher
Automaticly reload zone files and add new zone files without having to
restart em-dns-server
geoip
Simple location based support can be enabled by downloading the latest
geoip data by running "em-dns-server -u". With geoip support enabled
em-dns-server will return the closest IP result to the user when
multiple matches are available.
usage:
em-dns-server start|stop|run|status
supply the ZONE_FILES environment variable to specify your zones
directory...
ZONE_FILES=/path/to/zones/ em-dns-server start
test:
dig @nameserver.com example.com
If geoip support is enabled the ip address should change based
on clients location