#dns #named #chat #domain

bin+lib dominion-chat

DNS chat server for fun and profit

4 releases (2 breaking)

0.3.0 Feb 3, 2023
0.2.0 Aug 5, 2022
0.1.1 Jul 25, 2022
0.1.0 Jul 25, 2022

#9 in #building-blocks

Download history 5/week @ 2023-11-10 1/week @ 2023-11-17 8/week @ 2023-11-24 14/week @ 2023-12-01 2/week @ 2023-12-08 4/week @ 2023-12-15 8/week @ 2023-12-22 3/week @ 2024-01-19 8/week @ 2024-01-26 8/week @ 2024-02-02 10/week @ 2024-02-09 69/week @ 2024-02-16 110/week @ 2024-02-23

197 downloads per month

MPL-2.0 license

23KB
483 lines

Dominion Chat

DNS chat server for fun and profit

Messages can be sent in clear text or xor encrypted:

$ dig @127.0.0.1 -p 5533 hello-world.example.com
$ dig @127.0.0.1 -p 5533 xor.6b666f6f6c23706660716677.example.com

Giving:

dominion-chat

A file can also be requested, getting its encrypted contents:

dominion-chat

Usage

Usage: dchat [-t <threads>] [-p <port>] [-i <ip>] [-d <domain>]

Receive DNS messages from the world

Options:
  -t, --threads     number of threads in the thread pool
  -p, --port        UDP port to listen to
  -i, --ip          ip to listen to
  -d, --domain      domain name to use as a filter
  --help            display usage information

Configuration file

If a file called configuration.toml exists in the current directory it will be read to configure dominion-chat.

Example:

ip = "0.0.0.0"
port = 5353
domain = "example.com"
threads = 1

[xor]
key = 3
signal = "test"

[files]
this = "test1.txt"
is = "test2.txt"
an = "test3.txt"
example = "test4.txt"

Dependencies

~1–1.6MB
~35K SLoC