-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Failed to Open .test Files on macOS: DNS Address Not Found Despite Dnsmasq Connection #1118
Comments
Can you ping any .test site in the terminal? Like |
When I run ping foo.test in the terminal, I get: ping: cannot resolve foo.test: Unknown host Also, I don’t see any logs in DNSMasq. |
Alright, does the following file exist? You can get the content via:
|
No, got No such file or directory. |
Oh sorry, told you the wrong filename. Should be Also check if any dnsmasq services are potentially running already: |
When I ran less /etc/resolver/test, I saw the output: nameserver 127.0.0.1 Next, I checked if any dnsmasq services were potentially running by using the command: sudo ps aux | grep dnsmasq nobody 7211 0.0 0.0 410761984 768 ?? S 3:53PM 0:00.03 /Applications/Herd.app/Contents/Resources/dnsmasq-arm64 --keep-in-foreground --conf-file=/Users/dikesh/Library/Application Support/Herd/config/dnsmasq/dnsmasq.conf |
Do I need to take any further action on my side, or should I wait for another version release to resolve the issue? |
This looks all good to me 🤔 Do you have any special network settings? Like using a VPN? You could try editing the |
When run nano /Users/dikesh/Library/Application Support/Herd/config/dnsmasq/dnsmasq.conf I saw the output: address=/.test/127.0.0.1 I don't use any network settings, and I have tried three versions of Herd and read all the bug solutions on GitHub, but I still cannot resolve the issue. What should I do next? |
Did you try removing the duplicate nameserver settings? |
Yes, sir, but it still doesn't resolve. I always get the error: This site can’t be reached |
Sometimes, Herd’s internal settings can get misconfigured. Go to: Inspect Herd’s configuration files, specifically those related to ports and .test domain resolution |
@mpociot sir,I updated to the new version of Herd, but these issues were not resolved. This site can’t be reached Checking the connection |
I'm facing the same issue. Herd status shows Nginx, Dnsmasq, and FPM-8.3 as green. But "brew services list" shows none of them are running |
@hh-0 That's because Herd does not use Homebrew 🙂 |
I found my issue. I was dumb. I'm using Edge and it's using a different DNS service provider in the Settings. Switching it to "Use current service provider" fixed the issue. |
hello! I have the same problem. i dident have this dnsmasq/dnsmasq.conf my cofig file says 82 and 83?? how to fix this? |
@MalinStalAtWork @dikeshraj Do you still wait for solutions or have you either given up or found the solution? It's very very likely simething in your own DNS settings, a VPN, company proxy, etc and not directly related to Herd. |
This issue is fixed in my case. Please uninstall Herd, then go to the Library folder, and navigate to the Cache folder. Inside the Cache folder, you will find a Herd folder. Delete this folder, then reinstall Herd. The issue should be resolved. If it is not fixed, let me know, and I will help you further. |
For future readers: I've had this issue as well. It was resolved by disabling my VPN and restarting my preferred VPN service, Mullvad. |
Platform
macOS
Operating system version
macOS 15 Sequoia 15.0.1
System architecture
ARM64 (M1, M2, etc)
Herd Version
1.11.1 build 34
PHP Version
No response
Bug description
In macOS, we tried three different versions as suggested in the GitHub issue solutions, but the .test file does not open. In the menu bar, Dnsmasq shows as green, but when attempting to open, we receive the following message:
This site can’t be reached.
project.test’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE."
Steps to reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: