hey there!
I’m trying to set up srv-record on dnsmasq, I believe for achieving what I intend to do, but I’m struggling badly to do so.
I have HA running on a rasppi, on IP 192.168.0.25
, and a server on 192.168.0.3
with a bunch of services offered on different ports, for example 8083
, 8084
and 8085
.
I have set up my rasppi to be the default dns server in my network, so now when I do nslookup serverxyz.myddns.com
I do get 192.168.0.3
correctly .
However, if I want to access one of the servers on the server, I’d have to do serverxyz.myddns.com:8083
.
I understand srv records are to overcome this, and be able to do thing1.serverxyz.myddns.com
…
But I am not finding out how to put this entry on the Services part of dnsmasq
What I have tried:
- srv: calibre.serverxyz.myddns.com
host: 192.168.0.3
port: 8083
priority: 0
weight: 100
What am I doing wrong? Any hint to advance on this?
Thank you!