Hi,
I try to use dnsproxy with cloudlfare but I have problem with port in use and I don't find the problem.
Mon Mar 27 12:29:19 2023 daemon.err dnsproxy[10699]: 2023/03/27 16:29:19 [info] Starting dnsproxy v0.48.2
Mon Mar 27 12:29:19 2023 daemon.err dnsproxy[10699]: 2023/03/27 16:29:19 [info] fallback at index 0 is https://dns.cloudflare.com:443/dns-query
Mon Mar 27 12:29:19 2023 daemon.err dnsproxy[10699]: 2023/03/27 16:29:19 [info] Starting the DNS proxy server
Mon Mar 27 12:29:19 2023 daemon.err dnsproxy[10699]: 2023/03/27 16:29:19 [info] dnsproxy: cache: enabled, size 6553500 b
Mon Mar 27 12:29:19 2023 daemon.err dnsproxy[10699]: 2023/03/27 16:29:19 [info] Creating the UDP server socket
Mon Mar 27 12:29:19 2023 daemon.err dnsproxy[10699]: 2023/03/27 16:29:19 [fatal] cannot start the DNS proxy due to listening to udp socket: listen udp 127.0.0.1:5353: bind: address already in use
Mon Mar 27 12:29:19 2023 daemon.info procd: Instance dnsproxy::dnsproxy s in a crash loop 6 crashes, 0 seconds since last crash
Mon Mar 27 12:29:21 2023 daemon.err wifi-presence[10704]: Error: mqtt.addr cannot be blank
Mon Mar 27 12:29:22 2023 daemon.notice hostapd: wl1-ap0: AP-STA-DISCONNECTED d4:f5:47:34:08:8b
root@OpenWrt:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option confdir '/etc/dnsmasq.d'
option doh_backup_noresolv '-1'
option noresolv '1'
list server '/pool.ntp.org/1.1.1.1'
list server '/time.cloudflare.com/1.1.1.1'
list server '127.0.0.1#5353'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config dhcp 'guest'
option interface 'guest'
option start '100'
option limit '150'
option leasetime '12h'
root@OpenWrt:~# cat /etc/config/dnsproxy
# For documents, please see https://github.com/AdguardTeam/dnsproxy#usage
config dnsproxy 'global'
option enabled '1'
option listen_addr '127.0.0.1'
option listen_port '5353'
option log_file ''
option all_servers '0'
option fastest_addr '0'
option insecure '0'
option ipv6_disabled '1'
option max_go_routines ''
option rate_limit ''
option refuse_any '0'
option udp_buf_size ''
option verbose '0'
config dnsproxy 'bogus_nxdomain'
list ip_addr ''
config dnsproxy 'cache'
option enabled '1'
option cache_optimistic '1'
option size '6553500'
option min_ttl ''
option max_ttl ''
config dnsproxy 'dns64'
option enabled '0'
option dns64_prefix '64:ff9b::'
config dnsproxy 'edns'
option enabled '0'
option edns_addr ''
config dnsproxy 'servers'
list bootstrap '1.1.1.1:53'
list fallback 'https://dns.cloudflare.com/dns-query'
list upstream 'h3://security.Cloudflare-dns.com/dns-query'
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd83:4e9f:e4ec::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option peerdns '0'
list dns '1.1.1.1'
option metric '5'
config device
option type 'bridge'
option name 'br-guest'
config interface 'guest'
option proto 'static'
option device 'br-guest'
option ipaddr '192.168.3.1'
option netmask '255.255.255.0'