Re: [Dnsmasq-discuss] srv-host and domain

2021-09-15 Thread Otto Modinos
After checking the code and testing a little bit, the problem is the domain. Specifically, when given as `domain=my.domain,MYADDRESSRANGE` then it is not appended to the srv-hosts. You can see that in option.c: at the very end of the file is when the domain is added to srv-hosts that are miss

Re: [Dnsmasq-discuss] srv-host and domain

2021-09-14 Thread Otto Modinos
Running the following command, dig _xmpp-client._tcp.mydomain.home SRV dig responds with ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 51244 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ;

Re: [Dnsmasq-discuss] srv-host and domain

2021-09-14 Thread Otto Modinos
No result. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] srv-host and domain

2021-09-14 Thread Otto Modinos
Something like this: domain=mydomain.home,192.168.1.0/24,local srv-host=_xmpp-client._tcp,myhost.mydomain.home,5222,0,5 This should work I believe. Yet, a SRV query for _xmpp-client._tcp.mydomain.home gets no answer. I also tried srv-host=_xmpp-client._tcp.,myhost.mydomain.home, notice th

[Dnsmasq-discuss] srv-host and domain

2021-09-12 Thread Otto Modinos
Hello, It seems that, despite what the manpage says, the domain is not included by default in srv-host. Is this a genuine bug or did I messed something up? ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekel

[Dnsmasq-discuss] domain with address range and srv-host

2020-11-12 Thread Otto Modinos
Hello, The manpage for --srv-host says > If not supplied, the domain defaults to that given by --domain. However, the following config does not in fact add the domain > domain=mydomain.tld,192.168.0.0/24,local > srv-host=_sip._tcp,siphost,5060 Is this the intended behaviour? If so, why?