Open bughunter2 opened 7 months ago
The port is not even necessary, default 53 is compiled-in...
The port is not even necessary, default 53 is compiled-in...
Agreed. Guess I left it in as I was playing around with the syntax, but indeed!
Original source file has hashmark which is wrong by all means. You found it broken.
That's not good... :facepalm:
Maintainer: @EricLuehrsen Environment: x86_64, generic, 23.05.2
Description:
When dnsmasq is enabled, and Unbound is configured to listen at port 53, the Unbound init script makes a DNS request which can leave your WAN interface (visible in Wireshark, see below).
In the function
resolv_setup()
, there's the bug ...:... when fixed, it becomes ...:
The original code might have always caused DNS requests to leave WAN, unless some older version of busybox (nslookup) perhaps did accept the '#' syntax to denote the port, but I don't know whether that's the case.