brave-browser: Unable to resolve .local domains (or mDNS issue?)
Description
I use Orbstack which makes containers accessible through .local domains. However I can’t access these domains on Brave and I get the DNS_PROBE_POSSIBLE error page. By default it should also be possible to browse orb.local.
Local network permission (new since macOS Sequoia) is granted. I can still access and use localhost just fine.
I tried (to no avail):
- With VPN disabled
- With Shields disabled
- With SecureDNS disabled
- Within another profile
Steps to reproduce
- Launch
Orbstack - Try to access
http://orb.local
Actual result
DNS resolution of orb.local fails (DNS_PROBE_POSSIBLE).
Expected result
DNS resolution of orb.local should work.
Reproduces how often
Easily reproduced
Brave version (brave://version info)
Brave | 1.74.50 Chromium: 132.0.6834.111 (Official Build) (arm64) Revision | f9e2d89c457e6719881a5db35f6785a4207d2b59 OS | macOS Version 15.3 (Build 24D60)
Channel information
- release (stable)
- beta
- nightly
Reproducibility
- with Brave Shields disabled
- with Brave Rewards disabled
- in the latest version of Chrome
Miscellaneous information
DNS resolution of orb.local works in Safari, Chrome and Edge by default.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 10
- Comments: 22
was having the same issue, seems to be fixed in v1.77.95, although no mention of it in the release notes
Having the same issue with Home Assistant using its default address “homeassistant.local”. I am using current MacOS and with Safari on the same machine the website opens without problems. Also i can ping the dns name and its ip is resolved. It seems that Brave is having issues resolving .local addresses via mDNS.
I have no flags set in Brave and adding the ip address to the hosts file works. The issue occured after the latest update of Brave browser, obviously not instantly but after a restart (after a supposed dns cache flush).
Just updated to [Brave 1.79.119] and all my local resolutions from Brave broke on MacOS Sequoia 15.5. No other changes, I can still resolve from the terminal and/or Firefox.
Something must have happened on Chromium/Brave or (probably for my issue) macOS side, but the issue has been fixed for me now, at least. Since the latest macOS update (15.4), the network permission was “reset” and it seems to work in a more consistent way.
I’ll let the issue open for now but I suspect there are issues of different origins at play here.
I’m on a mac. When resolving a local address fails in brave/chrome opening the same domain in safari makes it work in all browsers. it always works for a few minutes then brave forgets the domain exists again and the safari trick make it work again.
I was prepared to “me too” the reports above where an upgrade solved the problem on macOS, however resolution of
.localvia mDNS only worked for about 12 hours until it went back to failing predictably on Brave yet consistently working on Firefox, Safari, Orion, and Edge.Attempted restarting, flushing DNS cache within the browser and at OS level, toggled local network permission on/off/on, etc.
I reviewed the docs on mDNS resolution in Chromium which suggest
.localnames are never cached anyway, which was useful to know. I then ran a net export job to view what happens when I issue a resolution request via brave://net-internals/?#dns. It failed as expected. Looking at the output, I see 4 events all tied to the request.Then there are two reachability tests to Google’s IPv6 resolver (which I wish never happened as I don’t use Google’s resolvers, but alas) followed by the failure itself:
I then ran a tcpdump to look for mDNS queries (
tcpdump -i any -vv -X udp port 5353 and 'udp[10] & 0x80 = 0') and ran the same resolution tests again. When I do, I do not see any query across the network forinfluxdb.localas I would expect (or any other.localname, for that matter.) However, if I flip to Firefox or Orion and attempt to visithttp://influxdb.local, I see the request in my tcpdump, and the browser correctly resolves the host.I hope this is helpful. Happy to do further troubleshooting. I’d love to include the data dump but it still has too much sensitive data contained to share publicly.
Edit: Still experiencing this on v1.76.74.
While producing the log for @boocmp something wired happened, a local site was not working, i followed the procedure to point 5. then opened Chrome and entered the same domain, Mac Os asked to allow access to local network, when i did, the tab on Brave side loaded I check on system preference and both Brave and Chrome have the local network permission enabled
Edit: wired stuff
on Brave
net-internalsreturned this errorAn error occurred while resolving "apache.diamitaly.orb.local" (net::ERR_NAME_NOT_RESOLVED).if I open chrome, the error stays, if i load the local site in chrome and try again on Brave’s
net-internalsI get
Resolved IP addresses of "apache.diamitaly.orb.local": ["198.19.248.23"]. No alternative endpoints.I also can’t reproduce this issue. Can anyone experiencing the problem attach the net log, please?
Here’s how to do it:
brave://net-internals?#dns.Clear host cache.brave://net-exportin a new tab, then selectStart over->Start logging to Disk.net-internalstab and look up the.localhost (which should work).net-exporttab and clickStop logging.Additionally, it would be very helpful if you could provide the same log from
Chromefor comparison.I suddenly have the exact same problem:
[Version 1.75.175 Chromium: 133.0.6943.54 (Official Build) (arm64)](https://brave.com/latest/)Version 1.9.5 (18849)I tested this on Firefox, there it worked. Going off the timestamp of my
Brave.appfolder (yesterday 17:00) I’m guessing an update of Brave broke this functionality.In the meantime: is it possible to pin a previous version of Brave?