Closed justinbadal closed 11 months ago
Forgot to add, I noticed on my Windows 11 box that is connected to the UDM Pro network there was a report of no internet in network status. So it seems the issue is not isolated to apple devices only.
@justinbadal To clarify, devices report no internet connection, but you still visit websites. Is that right?
@cuonglm that is correct.
@justinbadal We need to have a look at your account, please email help@controld.com and reference this thread.
@yegors thanks. I emailed the address.
I have the same issue but with Asus Merlin router, seemed like only on iPhones
We reproduced the issue. Investigating.
Cause found: When Apple device joins a network, it queries for captive.apple.com
. This domain bypasses the DOH configuration, and uses a native OS resolver (this is needed to make captive portals work). On a UDM/UDR, this request fails to resolve while ctrld is running, which causes the "No network connection" message.
We will fix this.
Whoa! Thank you guys so much for working on this!
New user: In the auto generated config of ctrld on my UDM I see the line
'captive.apple.com' = []},
Nevertheless I still have the problem described here. So if it has been fixed it does not work on my side.
New user: In the auto generated config of ctrld on my UDM I see the line
'captive.apple.com' = []},
Nevertheless I still have the problem described here. So if it has been fixed it does not work on my side.
This will only be fixed in next release of ctrld.
This is resolved in the latest release: https://github.com/Control-D-Inc/ctrld/releases/tag/v1.3.0
Unfortunately I'm still seeing this issue while running 1.3.0. iOS thinks there is no network when connected to my UDM-Pro running ctrld 1.3.0.
Are you sure you're running v1.3.0 with default configuration? We had multiple people confirm this is resolved, including ourselves.
Yep v1.3.0 and no config changes. Just re-pulled the binary and will see how it is over the next few days.
Yep v1.3.0 and no config changes. Just re-pulled the binary and will see how it is over the next few days.
Do you use --cd
flag or local config?
I just run sh -c 'sh -c "$(curl -sL https://api.controld.com/dl)" -s RESOLVER_ID_HERE' and that's it.
Can you SSH into your UDM and run: nslookup captive.apple.com
What's the output?
Sure,
Sure,
Could you show the content of ctrld.toml
?
Here it is:
@mattmill98 After you uninstall ctrld, what's the output of nslookup captive.apple.com
?
Here:
Did you have any special config for dnsmasq
? What's the DNS server that you use when ctrld uninstalled?
What's the content of /etc/resolv.conf
(after uninstall ctrld)?
Did you have any special config for dnsmasq? - Not that I'm aware of never altered anything apart from DNS server IP within the UniFi controller which I removed when I installed ctrld. What's the DNS server that you use when ctrld uninstalled? - UDM's default, Cloudflare.
Please try a dev build using this install command:
sh -c 'sh -c "$(curl -sSL https://api.controld.dev/dl)"'
Let us know if this resolved the issue.
This dev build appears to fix it as I can now nslookup captive.apple.com. Will let you know if I see any issues on my apple devices over the next few days.
I was having this same issue with my Firewalla. The dev build appears to fix it.
See this post on Reddit:
Post on reddit
I have everything set up as normal and instructed per the config pages, but even with an entirely blank filter / block situation, I still get the lack of internet connection warning.