Questions tagged [dns]

Suitable use of this tag is for all processes and protocols for doing name to address translation locally on Apple products as well as in general relating to his DNS works.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Custom DNS entries based on Network

I've got a situation where I want to connect to servers using the same name but different ip addresses based on the network I'm connected to. Sometimes I'm working from home (with and without VPN), ...
Geoffrey Wiseman's user avatar
1 vote
1 answer
75 views

MacBook Pro takes ~60 seconds to access websites first time via wifi after wake. DNS issue?

I have about 4 Windows/Mac laptops all connected to the same router but I'm only experiencing this odd issue with my 2015 15" MacBook Pro: After waking the computer and successfully connecting to ...
peanutismint's user avatar
1 vote
0 answers
117 views

How to get hostname resolution for a virtual machine in UTM

I have installed a virtual Ubuntu Server on my M2 Mac using UTM (which seemed to be the most reliable Virtualization software supporting Apple silicon). I only intend to connect to it using SSH. I can ...
Pete's user avatar
  • 235
3 votes
1 answer
690 views

DNS server priority in 14.1.2 Sonoma

I setup my DHCP server to assign three DNS servers: 10.0.1.3 - my own internal DNS server for hosting private A records for my home network 208.67.222.222 - Open DNS 208.67.220.220 - Open DNS My ...
Paul Wieland's user avatar
0 votes
0 answers
38 views

Mac DNS resolving issues

After I've installed OpenVPN client I have a problem with DNS resolving. When my Mac is back from sleep DNS doesn't work overall(I actually cant connect to VPN too). Internet is working well, so ping ...
Serge Harnyk's user avatar
0 votes
2 answers
1k views

OpenVPN DNS resolving broken on MacOS Sonoma

I've been Googling and even talking to the Apple technical support for days in regards of something that clearly doesn't work in Sonoma (but used to work in Big Sur and Ventura). The DNS resolver of ...
Mario's user avatar
  • 21
0 votes
0 answers
62 views

DNS resolves (sometimes) - but ping, won't

DNS is being served up by a Windows 2016 server and has no issues that I'm aware of except when trying to resolve the server's IP, using macOS, from inside the network. Dig's output is confusing to me ...
Harv's user avatar
  • 6,530
0 votes
0 answers
46 views

iOS DNS falls back to cell network to work around filtering?

I have my home wireless router configured to use Cloudlfare's 1.1.1.3 for DNS, which is intended to block malware and porn sites. With previous versions of iOS this seemed to work. I've noticed that ...
jph's user avatar
  • 101
2 votes
1 answer
549 views

DNS works differently in Private Browsing on iOS 17

Since upgrading to iOS 17, I've noticed I'm no longer able to visit my home server from my home network when in Private Browsing Mode in Safari. I'm fairly sure that the issue is that Safari is doing ...
cjm's user avatar
  • 183
3 votes
1 answer
2k views

iOS 17 (possibly) has broken OpenDNS filtering

I have a private server running on my home network that gives out DHCP addresses and uses OpenDNS as a DNS server so I can use its content fitering. AFAIK it's always worked OK, but I've noticed today ...
Darren's user avatar
  • 581
0 votes
1 answer
116 views

Howto remove an imported Network Configuration profile from MacOS 10.15.7 without using GUI?

In order to get a useful DNS over TLS server configuration on macOS, I imported a network profile. After having installed this network configuration file, I did not see any new entry in the Network ...
gloschtla's user avatar
0 votes
0 answers
76 views

DNS issues when joining new wifi networks

Lately, I've been having a bit of a strange issue where my MacBook Air M2 cannot resolve DNS for a while after connecting to new wifi networks. Several other devices work fine on the same networks (...
waffl's user avatar
  • 215
0 votes
0 answers
254 views

DNS problem likely caused by fortinet VPN

I have two Mac computers which have the same problem: I had Fortinet VPN installed which routes the company's domain when typed to an internal server. It looks like this has changed a setting on both ...
Sandy's user avatar
  • 1
0 votes
0 answers
208 views

Secondary DNS server preferred over primary on iOS

I have created a local DNS server using BIND9. It is just a simple DNS server that forwards queries to 1.1.1.1. When I use this as the only manual DNS server on my iOS device, it works fine. However ...
M9A's user avatar
  • 141
0 votes
1 answer
193 views

What determines which network interface's local I.P. address is returned by local DNS?

I have a Mac mini that I'm using as a Homebridge server. It's connected with fixed Ethernet and also has an active WiFi connection. The Mac mini has an assigned host name Jupiter (from 'Sharing' ...
enjayaitch's user avatar
0 votes
0 answers
97 views

could not access the github.com when switch the dns server to 8.8.8.8

when I tried to switch the dns server to 8.8.8.8, I found sometimes could not access the github.com, the browser shows error: This site can’t be reachedThe connection was reset. Try: Checking the ...
Dolphin's user avatar
  • 1,101
1 vote
1 answer
172 views

.io .xyz and other less popular TLDs cannot be resolved

I bought a new MacBook Pro 2021 M1, and I can't access URLs ending with .io, .xyz, and other less popular TLDs. The issue does not come from the browser. I tried many browsers and the terminal ...
BonisTech's user avatar
1 vote
2 answers
145 views

I mistakenly deleted /etc/resolv.conf

I had some issues while running some code and I edited /etc/resolv.conf. I experimented with a lot of stuff and ended up with a case where my browsers where not working. I deleted /etc/resolv.conf ...
Science Geeks's user avatar
0 votes
0 answers
878 views

Discover card widget not working

I have tried many different things to try and solve this issue: restarted my iPhone uninstalled and reinstalled the the app. Removed and added the widget Cleared my cache tried using cellular data ...
username_313's user avatar
2 votes
1 answer
569 views

Local .test domains not accessible in Chrome or Brave but work in Postman, CLI, and Safari

If I send a request to a local domain such as mydomain.test in Postman, it works just fine. Pinging the domain or contacting using CURL from the console gets a response as well. curl -X GET 'https://...
ShrewdSimian's user avatar
1 vote
2 answers
891 views

MacBook local host name

I have an Apple M1 MacBook Pro running Ventura. A few days ago I did a factory reset of my Macbook and reinstalled macOS due to an issue with my computer lagging. Yesterday I logged into Eduroam WiFi, ...
J_O's user avatar
  • 41
0 votes
0 answers
348 views

How to enable/disable DNS Settings from mobileconfig using command line?

I'm using DOH from https://github.com/paulmillr/encrypted-dns. This installs a mobile config profile. I can enable and disable the DNS Settings by going into Network, then Filters (image reference ...
bentinata's user avatar
  • 101
2 votes
0 answers
434 views

How to enable DNS over TLS using custom DNS server?

I want to enable DNS over TLS for my MacOS using custom DNS server. I am building my custom DNS infrastructure and I have set up an Unbound DNS server on a local network. For now DNS resolution flow ...
dokichan's user avatar
1 vote
1 answer
620 views

Broken DNS resolvers automatically included on scutil --dns

What are the ways to persist DNS and SearchDomain settings? How to remove? If I run scutil --dns it shows these two resolvers (and a few others for *.in-addr.arpa addresses) resolver #1 search ...
VFS's user avatar
  • 21
0 votes
0 answers
147 views

How to configure mDNSResponder to forward requests to the system's DNS server

I've enabled internet sharing from WiFi to USB Ethernet adapter. It starts a DHCP server that creates subnet 192.168.2.0 with host ip 192.168.2.1 and distributes gateway address 192.168.2.1 and DNS ...
Gowtham's user avatar
  • 31
0 votes
1 answer
335 views

What's the grammar of the Dynamic Store's DNS config?

This helpful answer talks about how using the dynamic store is preferred over the bsd-style /etc/resolver/* files, and includes a helpful example. I did find some docs that mention the same dns ...
djeikyb's user avatar
  • 189
1 vote
1 answer
3k views

/etc/hosts changes aren't getting reflected on Mac

I've a Spring Boot application which uses an external service. I want to reproduce a scenario where that service is not reachable after my application is up and running. So, I thought I'll start my ...
Shivshankar Nagarsoge's user avatar
0 votes
1 answer
616 views

Can't delete DNS settings added as a configuration profile

I added the wrong DNS Settings as a configuration profile and would love to delete it. I can't do it from Filters & Proxies, and for some strange reason, it isn't showing in the profile section as,...
iber's user avatar
  • 100
1 vote
2 answers
498 views

DNS Host resolver hijack on Mac Edge

I got a problem that I can't fix on my Mac's Microsoft Edge 107.0.1418.52. I asked the Microsoft Community but they were helpless. They guide me to ask on Microsoft Learn, but the forum showed "...
pperlee's user avatar
  • 11
0 votes
1 answer
261 views

Split DNS no longer working when installing mobileconfig VPN profile

My company uses Split DNS to resolve internal domains. We configure this Split DNS by installing a mobileconfig with a VPN profile. See also https://developer.apple.com/business/documentation/...
bouke's user avatar
  • 1,227
1 vote
0 answers
198 views

Except Chrome all the desktop apps are not working though there is an active Internet connection on my Mac

I tried: flushing DNS, adding new locations in Network Preferences, changing IP address adding Google DNS but also only Google Chrome works fine. Other apps which run on Internet like Workplace, ...
KISHOR GC's user avatar
1 vote
1 answer
1k views

Slow Loading of Localhosts - Is this DNS Resolvers?

The development server installed by Homebrew is responding slowly to requests. Previously, they were fast. About the time I installed and configured XDebug for the IDE I use, the response times ...
David C's user avatar
  • 288
4 votes
0 answers
443 views

How to disable DNS cache on macOS?

I'm using my mac for software development and the app I'm working on creates new domains and use them after a few minutes. The problem is these domains not resolved in a few minutes, so I have to ...
chingis's user avatar
  • 401
0 votes
1 answer
178 views

"reply from unexpected source" when using link-local IPv6 resolver address

I've recently been trying to properly configure IPv6 for everything in my network, however I've run into an issue with using my Pihole resolver from macOS Monterey. Since the public IPv6 prefix may ...
Sebmaster's user avatar
  • 111
1 vote
0 answers
53 views

Default dns server is loopback although the connection provide default servers

I'm trying to understand where do I get the dns server configuration from. As I understand, if the file /etc/resolve.conf contain no servers, so it fallback to servers that are defined by the physical ...
osxUser's user avatar
  • 161
1 vote
0 answers
19 views

Can't Block a Website using Host File (Only Safari)? [duplicate]

I'm trying to block this website: www.blackhatworld.com using the host file. The lines I use are this one: 127.0.0.1 website.com www.website.com ::1 website.com www.website.com For some reason, this ...
Alex's user avatar
  • 469
1 vote
1 answer
2k views

Block Parallels Desktop from connecting to domain without using `/etc/hosts`

I have the following lines in my /etc/hosts. Parallels Desktop keeps commenting lines which as it needs to connect to that domain. I tried changing access of /etc/hosts to 444 but it suddenly changed ...
Parsa Noori's user avatar
1 vote
1 answer
3k views

NSURLErrorDomain error -1012 when checking for software updates

There is a new MacOS Ventura update that was recently released. When I check for updates, I get the following error. I used the commands sudo softwareupdate --dump-state and then open /System/...
zucc0nit's user avatar
  • 115
1 vote
0 answers
65 views

macOS inserting DNS servers which are not in DHCP response

I used Wireshark to confirm the DHCP response packet has only the IPv4 addresses which I have configured on my home router. macOS seems to be occasionally (but didn't this time) inserting Google IPv6 ...
jrwren's user avatar
  • 343
4 votes
1 answer
2k views

Is iCloud Private Relay leaking my DNS queries to my ISP?

I noticed recently that despite iOS settings saying all DNS queries go through iCloud Private Relay's DNS servers, despite Private Relay using Oblivious DNS over HTTPS, and even despite dnsleaktest....
heavy-hat-77572's user avatar
0 votes
0 answers
678 views

DNS Resolution Failure resolved in safe mode, persists outside safe mode

I bought a new Macbook Pro with Monterey 12.5 and migrated all data from an 11.4 Big Sur using Migration Assistant. When starting up the new Macbook I could not connect to internet even though I was ...
Badalyan's user avatar
1 vote
0 answers
616 views

Mac Montery 12.4- nslookup ok, ping won't work to name, but OK to IP address

I have tried: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder I had a Brave web browser open overnight and it still works! Using it here. I had a Firefox web browser open, no longer ...
notes386's user avatar
0 votes
1 answer
95 views

How to stop DNS spoofing warnings when I change boot media

I am using my Mac as the base workstation to program for a Raspberry Pi project. I use SSH as the primary tool to communicate with and work on the Pi. In the process of experimenting and trying out ...
Joymaker's user avatar
  • 141
0 votes
0 answers
188 views

Pi Hole -- Safari (mac) fails to load site, Chrome doesn't

I have recently run into issues accessing a specific site (https://www.inoreader.com/all_articles) in Safari 15.5 on macOS Monterey. The site loads something, as I can see some results in the Network-...
Shadowman's user avatar
  • 191
0 votes
2 answers
183 views

How do I redirect a LAN port to a local port on macOS

Recently I built up a local DNS server on my mac, and I want every DNS query go through that server rather than the distributed DNS address(192.168.1.1) from my router. I think redirecting the 192.168....
Simon's user avatar
  • 1
1 vote
0 answers
162 views

How could the domain in different areas resolve to a different IP address?

When I nslookup the domain in area1, it get 103.61.39.86 [root@localhost ~]# nslookup demo.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: demo.com Address: 103.61....
244boy's user avatar
  • 551
1 vote
0 answers
636 views

Unable to connect to local Docker for Mac web server via IP address. Bonjour (mDNS) connection works fine

I am currently running an application via Docker for Mac. I have ensured that the application is properly forwarding the ports via a docker-compose file. I have forwarded port 8083 from the ...
Timothy Bueno's user avatar
2 votes
1 answer
129 views

Can I script different /etc/hosts overrides to have DNS resolution change depending on my network location?

I've used to have some entries in /etc/hosts in some network locations, but they must not be present in other network locations. Currently, I've to edit /etc/hosts manually if I switch between those ...
chkpnt's user avatar
  • 139
0 votes
0 answers
3k views

How does DNS resolution work on iOS devices when VPN's are enabled?

I have a WireGuard VPN configured on my iPhone. There is a DNS server running on the machine at the other end of the VPN tunnel. This DNS server has records for example.net but no other domains. (For ...
Scott Colby's user avatar
2 votes
1 answer
4k views

macOS Monterey DNS lookups fail after a few hours

I upgraded my M1 Mac to macOS Monterey recently and it seems that there are DNS lookup issues that eventually stop me from using the internet. Restarting the computer fixes the problem but eventually ...
SirIsaacNeutron's user avatar

1
2 3 4 5
12