Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is DHCP/DNS detection a windows plugin only? #2999

kan-ibal started this conversation in Potential issues
Discussion options

Is it Windows only plugin?
I'm looking forward for such solution regarding captive portals issue and I am wandering why is this not working in any linux system I test.

You must be logged in to vote

Replies: 3 comments 5 replies

Comment options

It works on MacOS for sure and should work on Linux as well.

Make sure that the server is running as root (user_name should not be set).

Do you see a message that says "Starting a DHCP/DNS detector for IPv4" ?

You must be logged in to vote
0 replies
Comment options

Do you see a message that says "Starting a DHCP/DNS detector for IPv4" ?

Yes, I can see in log:
[NOTICE] Starting a DHCP/DNS detector for IPv4

but if I want to resolve a test.domain I redirected to DHCP resolver I'm getting:
[INFO] DHCP didn't provide any DNS server to forward [test.domain]

You must be logged in to vote
0 replies
Comment options

Bad luck. Test some other routers and client devices combinations. The Ubuntu GitHub CI test works.
Maybe the router has some limits/restrictions, or your OS has other DHCP clients and doesn't allow multiple clients sharing the same communication ports?

You must be logged in to vote
5 replies
Comment options

So far I have tested SailfishOS, ArchLinux and Gentoo clients and two different routers(TPLink and Asus) but with OpenWRT with no luck and the same results. The clients are NetworkManager (Gentoo) Connmand(SFOS) and dhcpd(ArchLinux).
It doesn't look like a bad luck.

Comment options

Try executable from https://github.com/DNSCrypt/dnscrypt-proxy/actions/runs/18526797965. Show the messages that contains "No response from the DHCP server while resolving".
Let's see if we can get something useful.

Comment options

There is nothing special, logs related:

[INFO] Forwarding [home] to the DHCP servers
[NOTICE] Starting a DHCP/DNS detector for IPv4

and after dig @127.0.0.1 openwrt.home
[INFO] DHCP didn't provide any DNS server to forward [openwrt.home]

log_level=0

Comment options

Wait more than 90s since "Starting a DHCP/DNS detector", then dig.

Comment options

[INFO] No response from the DHCP server while resolving [openwrt.home]: read udp4 0.0.0.0:68: i/o timeout
[INFO] DHCP didn't provide any DNS server to forward [openwrt.home]
[INFO] No response from the DHCP server while resolving [openwrt.home]: read udp4 0.0.0.0:68: i/o timeout
[INFO] DHCP didn't provide any DNS server to forward [openwrt.home]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /