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
20 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
0 answers
52 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
  • 181
2 votes
0 answers
776 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
  • 561
0 votes
1 answer
50 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
45 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
65 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
119 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
118 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
72 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
  • 981
1 vote
1 answer
143 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
89 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
704 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
332 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
569 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
250 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
0 votes
0 answers
127 views

How to determine which app/service is sending a particular DNS query?

I'm using AdguardHome for my home network. Via its dashboard, I'm seeing both my macs (running macOS Ventura 13.2.1) seem to periodically send this weird DNS query for localhost. I'm curious what app/...
Ngoc Pham's user avatar
  • 186
2 votes
0 answers
354 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
415 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
121 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
261 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
  • 190
1 vote
1 answer
2k 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
479 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
464 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
222 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,177
1 vote
0 answers
172 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
712 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
382 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
  • 391
0 votes
1 answer
157 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
45 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
17 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
1k 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
2k 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
57 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
3 votes
1 answer
1k 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
618 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
538 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
63 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
  • 121
0 votes
0 answers
167 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
  • 181
0 votes
2 answers
170 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
151 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
623 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
1 vote
1 answer
104 views

Simple DNS resolution depending on 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
  • 29
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
0 votes
1 answer
625 views

How to decode DNSServiceQueryRecord requests for debugging purposes?

I am currently trying to debug an undesired 30s delay in an application that is caused by some DNS queries which I was able to stop inside the Console.app. The problem is that what is logged is almost ...
sorin's user avatar
  • 29.5k
0 votes
0 answers
2k views

Kerberos and macOS: kinit unable to reach any KDC in realm AD.DOMAIN.COM, tried 10 KDCs

In our organization, we have 25 Active Directory Domain Controllers. For our big sites, we have 2 DC per site. We have about 50 MacBooks, with the rest being Windows laptops that doesn't have the same ...
Xavier's user avatar
  • 1
3 votes
1 answer
54 views

Wrong computer name, took from iPad [duplicate]

This morning I configured my new MacBook 14", in a room full of other Apple products. After having it set up I started putting all my applications in order, and I opened the terminal. At that ...
Eleanore's user avatar
  • 131
0 votes
0 answers
233 views

Why does "ping foo.local" resolve but "dig foo.local" does not?

Mostly this is educational for me at this point. I don't have any practical problems. I have a somewhat inflexible cable modem with most features turned off because of random restrictions it seems on ...
pedz's user avatar
  • 443
3 votes
1 answer
327 views

Force Safari to respect single word hostnames

TLDR - Looking for a way to make Safari treat host/path as a URL instead of a search query. Details: With the conflagration of the address bar and search bar certain expected behaviors have ceased to ...
Keeper of the Keys's user avatar
3 votes
0 answers
1k views

Why can't ping localhost in macOS Monterey?

I can't ping localhost/127.0.0.1 in my terminal. I have disabled firewall but still not working. $ ping localhost PING localhost (127.0.0.1): 56 data bytes Request timeout for icmp_seq 0 Request ...
Joey Yi Zhao's user avatar

1
2 3 4 5
12