aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-22 16:27:43 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-22 16:27:43 +0200
commit5fafc1cb648fadd200736f74bd72867f4e7960d5 (patch)
tree2bac6323990d92055ec9ce04be22a8a4c35d1068 /README.md
parentec777652c17ccefed9b332b13e7a233de1a32867 (diff)
downloaddiplonat-5fafc1cb648fadd200736f74bd72867f4e7960d5.tar.gz
diplonat-5fafc1cb648fadd200736f74bd72867f4e7960d5.zip
Handle UDP/TCP
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index d77ad47..68f33bd 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,8 @@ To test the Consul Catalog part, you can do:
```bash
consul agent -dev #in a separate terminal, if not already running
-consul services register -name=example -port=1337 -tag="(diplonat (port 1337) (port 1338 1339))"
+consul services register -name=fake_leet -tag="(diplonat (tcp_port 1337) (tcp_port 1338 1339))"
+consul services register -name=fake_dns -tag="(diplonat (udp_port 53) (tcp_port 53))"
+consul services register -name=fake_irc -tag="(diplonat (udp_port 6667 6666))"
consul services -id=example
```