-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Is DHCP/DNS detection a windows plugin only? #2999
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments 5 replies
-
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" ?
Beta Was this translation helpful? Give feedback.
All reactions
-
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]
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
Wait more than 90s since "Starting a DHCP/DNS detector", then dig.
Beta Was this translation helpful? Give feedback.
All reactions
-
[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]
Beta Was this translation helpful? Give feedback.