ddns

Description

ddns is a distributed name server.

Install

gem install ddns

Example

ip-10-0-0-1> ddns -H node-01 -P 53
I, [2011-05-24T00:10:00.870732 #3389]  INFO -- : Name service at 0.0.0.0:53
I, [2011-05-24T00:10:00.870914 #3389]  INFO -- : Gossip service at 10.0.0.1:10870
I, [2011-05-24T00:10:00.870999 #3389]  INFO -- : Hostname: node-01
I, [2011-05-24T00:10:00.873100 #3389]  INFO -- : Starting server...

ip-10-0-0-1> ddnsctl -L
IP Address       Timestamp                   Hostname
---------------  --------------------------  ---------------------------
10.0.0.1         2011/05/24 00:10:00.517688   node-01          

ip-10-0-0-2> ddns -H node-02 -P 53
I, [2011-05-24T00:11:00.870732 #3389]  INFO -- : Name service at 0.0.0.0:53
I, [2011-05-24T00:11:00.870914 #3389]  INFO -- : Gossip service at 10.0.0.2:10870
I, [2011-05-24T00:11:00.870999 #3389]  INFO -- : Hostname: node-02
I, [2011-05-24T00:11:00.873100 #3389]  INFO -- : Starting server...

ip-10-0-0-1> ddnsctl -L
IP Address       Timestamp                   Hostname
---------------  --------------------------  ---------------------------
10.0.0.1         2011/05/24 00:10:00.517688  node-01
10.0.0.2         2011/05/24 00:11:00.998678  node-02

ip-10-0-0-2> ddnsctl -L
IP Address       Timestamp                   Hostname
---------------  --------------------------  ---------------------------
10.0.0.2         2011/05/24 00:11:00.998678  node-02
10.0.0.1         2011/05/24 00:10:00.517688  node-01