https-dns-proxy: add mdns service records

* add mdns records for started instances
* Makefile: use $(PKG_VERSION) as a value for PKG_SOURCE_DATE instead of
  hard-coding it

Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
Stan Grishin
2022-12-07 20:59:28 +00:00
parent d6b712cde6
commit ee37d0ec86
2 changed files with 3 additions and 2 deletions

View File

@@ -153,6 +153,7 @@ start_instance() {
procd_set_param stdout 1
procd_set_param respawn
procd_open_data
procd_add_mdns_service "$packageName" 'udp' "$port" "DNS over HTTPS proxy"
json_add_string url "$url"
if [ "$force_dns" -ne 0 ]; then
json_add_array firewall