Ok, so your custom records are these:
srv-host=_vlmcs._tcp,192.168.0.200,1688
address=/vlmcs/vlmcs.box/192.168.0.200
I did verify that they've worked with v5 (edit: click to see why)
I took a look at dnsmasq's documentation for serv-host
, where <domain>
matches the RFC's Name
:
-W, --srv-host=<_service>.<_prot>.[],[[,[,[,]]]]
Return a SRV DNS record. See RFC2782 for details. If not supplied, the domain defaults to that given by --domain.
--domain
matches v6's dns.domain
, but where Pi-hole v6 would populate that option by default, it may well have been empty in Pi-hole v5, unless you'd manually set it or enabled Pi-hole's DCHP server.
So in v6, the resulting SRV record would be _vlmcs._tcp,box
, where in v5 it may have been that as well, or _vlmcs._tcp
.
RFC 2782 defines SRV records as having the following structure:
_Service._Proto.Name TTL Class SRV Priority Weight Port Target
The service record you've created just has _Service._Proto
, lacking Name
.
That Name
should be the domain name for which this record is valid, i.e it should match your local domain.
Your debug log shows that to be box
:
*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 6 seconds)
Scanning all your interfaces for DHCP servers and IPv6 routers
* Received 301 bytes from 192.168.0.198 @ eth0
Offered IP address: 192.168.0.207
DHCP options:
Message type: DHCPOFFER (2)
domain-name: "box"
dns-server: 192.168.0.2
dns-server: 192.168.0.198
router: 192.168.0.1
This also must match the dns.domain
configured for Pi-hole, which it does in your case:
-rw-r--r-- 1 pihole pihole 54K Feb 27 01:40 /etc/pihole/pihole.toml
[dns]
domain = "box" ### CHANGED, default = "lan"
Please try:
srv-host=_vlmcs._tcp.box,192.168.0.200,1688