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

  1. Launch Orbstack
  2. 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

Most upvoted comments

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 .local via 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 .local names 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.

7298: NETWORK_SERVICE_HOST_RESOLVER
Start Time: 2025-02-21 12:01:37.498

t=131288 [st=0] +HOST_RESOLVER_MANAGER_REQUEST  [dt=5]
                 --> allow_cached_response = true
                 --> dns_query_type = "UNSPECIFIED"
                 --> host = "https://influxdb.local"
                 --> is_speculative = false
                 --> network_anonymization_key = "null"
                 --> secure_dns_policy = 0
t=131288 [st=0]    HOST_RESOLVER_MANAGER_IPV6_REACHABILITY_CHECK
                   --> cached = false
                   --> ipv6_available = true
t=131288 [st=0]    HOST_RESOLVER_MANAGER_CREATE_JOB
t=131288 [st=0]    HOST_RESOLVER_MANAGER_JOB_ATTACH
                  [ --> source_dependency = 7301 (HOST_RESOLVER_IMPL_JOB)](https://netlog-viewer.appspot.com/#events&s=7301)
t=131293 [st=5] -HOST_RESOLVER_MANAGER_REQUEST
                 --> net_error = -105 (ERR_NAME_NOT_RESOLVED)

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:

t=131288 [st=0] +HOST_RESOLVER_MANAGER_JOB  [dt=5]
                 --> dns_query_types = [
                       "A",
                       "AAAA",
                       "HTTPS"
                     ]
                 --> host = "https://influxdb.local"
                 --> network_anonymization_key = "null"
                 --> secure_dns_mode = 0
                [ --> source_dependency = 7298 (NETWORK_SERVICE_HOST_RESOLVER)](https://netlog-viewer.appspot.com/#events&s=7298)
t=131288 [st=0]    HOST_RESOLVER_MANAGER_JOB_REQUEST_ATTACH
                   --> priority = "LOWEST"
                  [ --> source_dependency = 7298 (NETWORK_SERVICE_HOST_RESOLVER)](https://netlog-viewer.appspot.com/#events&s=7298)
t=131288 [st=0]    HOST_RESOLVER_MANAGER_JOB_STARTED
t=131288 [st=0]   +HOST_RESOLVER_SYSTEM_TASK  [dt=5]
t=131288 [st=0]      HOST_RESOLVER_MANAGER_ATTEMPT_STARTED
                     --> attempt_number = 1
t=131293 [st=5]   -HOST_RESOLVER_SYSTEM_TASK
                   --> net_error = -105 (ERR_NAME_NOT_RESOLVED)
                   --> os_error = 8
                   --> os_error_string = "nodename nor servname provided, or not known"
t=131293 [st=5]    HOST_RESOLVER_MANAGER_ATTEMPT_FINISHED
                   --> attempt_number = 1
                   --> net_error = -105 (ERR_NAME_NOT_RESOLVED)
                   --> os_error = 8
                   --> os_error_string = "nodename nor servname provided, or not known"
t=131293 [st=5] -HOST_RESOLVER_MANAGER_JOB
                 --> net_error = -105 (ERR_NAME_NOT_RESOLVED)

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 for influxdb.local as I would expect (or any other .local name, for that matter.) However, if I flip to Firefox or Orion and attempt to visit http://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-internals returned this error An 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-internals

I 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:

  1. Open brave://net-internals?#dns.
  2. Click Clear host cache.
  3. Open brave://net-export in a new tab, then select Start over -> Start logging to Disk.
  4. Switch back to the net-internals tab and look up the .local host (which should work).
  5. Return to the net-export tab and click Stop logging.
  6. Attach the generated file to this issue.

Additionally, it would be very helpful if you could provide the same log from Chrome for comparison.

I suddenly have the exact same problem:

  • [Version 1.75.175 Chromium: 133.0.6943.54 (Official Build) (arm64)](https://brave.com/latest/)
  • OrbStack Version 1.9.5 (18849)

I tested this on Firefox, there it worked. Going off the timestamp of my Brave.app folder (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?