AdguardTeam / dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Apache License 2.0
2.37k stars 246 forks source link

Any plans to make dnsproxy available as a service? #209

Closed gspannu closed 2 years ago

gspannu commented 2 years ago

Are there any plans to make dnsproxy available as a service?

Something similar to AdGuardHome...

I can configure AdGuardHome to run as a service on my ASUS Merlin Router (with Entware).

Example of AdGuard Home

1) Contents of /opt/etc/init.d/

#!/bin/sh
ENABLED=yes
WORK_DIR=/opt/etc/AdGuardHome
PROCS=AdGuardHome
ARGS="-c $WORK_DIR/AdGuardHome.yaml -w "$WORK_DIR" --no-check-update -l syslog"
PREARGS="nohup"
PRECMD="killall -9 dnsmasq"
POSTCMD="service restart_dnsmasq"
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export TZ=$(cat /etc/TZ)
. /opt/etc/init.d/rc.func

2) And then I all I need to do is make changes to my dnsmasq conf

port=553
local=/1.168.192.in-addr.arpa/

This makes AdGuardHome as the DNS server running on port 53 and my existing dnsmasq still operating on my router (on custom port 553 and only for local queries)


Can I do something similar with dnsproxy?

Or some workaround/ hack to utilise it the same way as AdGuardHome ?

What I am looking to achieve is...

gspannu commented 2 years ago

@ameshkov Any plans to make dnsproxy as a service - the same principles as for AdGuardHome.

ameshkov commented 2 years ago

There's actually an open issue about that already so this can be closed as a duplicate: #39

We would like to use the same code as used in AdGuard Home for that, but this requires time and we are focusing on AdGuard Home more.