From e70e437d710642462eb55073d5b6349636cb7e84 Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Mon, 3 Aug 2020 23:34:02 +0200 Subject: [PATCH] more readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 295be9a..d2d60cd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ To use the discovery proxy, run it while specifying a domain to use and a port n python3 proxy.py home.arpa 35353 ``` -Then, delegate that domain to the machine the proxy is running on (_192.0.2.2_ in the example below) and advertise it by adding the necessary records to the domain you use for your network (_example.com_ in the example below). If you are using dnsmasq, this can be done using +Then, delegate that domain to the machine the proxy is running on (_192.0.2.2_ in the example below) and advertise it by adding the necessary records to your network's DNS search domain (_example.com_ in the example below). If you are using dnsmasq, this can be done using ``` server=/home.arpa/192.0.2.2#35353 @@ -18,3 +18,10 @@ ptr-record=b._dns-sd._udp.example.com,home.arpa ptr-record=lb._dns-sd._udp.example.com,home.arpa ptr-record=db._dns-sd._udp.example.com,home.arpa ``` + +To check whether it is working, you can try some of the following queries (assuming your computer is named _yourcomputer_ and advertises an SSH service): +```bash +dig yourcomputer.home.arpa +dig _ssh._tcp.home.arpa ptr +dig yourcomputer._ssh._tcp.home.arpa srv +```