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
10 views

Why Web Proxy in Network Settings not affecting to command line tools? [closed]

I had suffered hours because of this. And I found solution to this. Just add this lines to your .zshrc or .bashrc or ...? export http_proxy="ip_address:port" export https_proxy="...
user avatar
  • 249
0 votes
0 answers
10 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 ...
user avatar
0 votes
1 answer
16 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 ...
user avatar
  • 101
0 votes
0 answers
18 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-...
user avatar
  • 181
0 votes
2 answers
55 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....
user avatar
  • 1
0 votes
0 answers
25 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....
user avatar
  • 431
0 votes
0 answers
57 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 ...
user avatar
1 vote
1 answer
20 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 ...
user avatar
  • 11
0 votes
0 answers
237 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 ...
user avatar
2 votes
1 answer
865 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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
  • 27.2k
0 votes
0 answers
281 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 ...
user avatar
  • 1
3 votes
1 answer
33 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 ...
user avatar
  • 131
0 votes
0 answers
42 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 ...
user avatar
  • 409
1 vote
0 answers
51 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 ...
user avatar
3 votes
0 answers
409 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 ...
user avatar
2 votes
1 answer
369 views

Prevent non-admin accounts editing DNS records

Is it possible to prevent any non-admin users in MacOS Monterey from being able to change DNS in System Preferences? I know that the user is required to enter admin login details when they attempt it, ...
user avatar
0 votes
0 answers
27 views

search_order of custom dns resolver is not working

macos 10.15.7 I have a local dns server running on my machine I want to resolve all requests for the ".localdev" domain. I created this file: #/etc/resolver/localdev domain localdev ...
user avatar
  • 131
1 vote
1 answer
117 views

How to manually delete Safari's DNS cache?

Develop > Empty caches (cmd alt e) isn't clearing Safari's DNS cache. I made some changes to /etc/hosts and those changes are reflected in all my other browsers, and ping and getent hosts, but ...
user avatar
  • 6,662
0 votes
1 answer
33 views

My Mac suddenly no longer able to resolve DNS address when connecting to WIFI, but still able to ping to physical address. Why?

I am usually able to connect to Wifi or iPhone USB tethering and browse the internet with no problem. But one day, I'm unable to browse using a Wifi connection. When I try to ping, I'm able to ping to ...
user avatar
0 votes
0 answers
122 views

MacOS 12 — How to set a default DNS server for all user accounts

The primary account I use on my Mac is an admin account, when I go online it connects to a DNS server from a 3rd party provider. I'd like this to be applied to any other account (present or future) on ...
user avatar
0 votes
2 answers
355 views

Mac cannot resolve DNS on WiFi, but works fine on cellular tethering

I have consulted the questions/answers here. But it seems nothing is working. I can ping 8.8.8.8, but I cannot ping www.google.com. nslookup www.google.com 8.8.8.8 and dig @8.8.8.8 www.google.com is ...
user avatar
0 votes
0 answers
55 views

Cannot ssh to remote host on Tunnelblick

I'm wondering if there are any Tunnelblick users that can suggest some troubleshooting steps. I use Tunnelblick to connect to my university VPN so I can access ssh servers. It usually works just fine ...
user avatar
0 votes
0 answers
154 views

Removing a DNS network configuration is impossible because the minus button is grayed out

I remember adding a DNS service (NextDNS) via a profile some time ago. Unfortunately I cannot remove it from the Network list in System Preferences because the minus button is grayed out. Surprisingly ...
user avatar
  • 865
0 votes
0 answers
55 views

Site cannot be reached in terminal or chrome, but can be reached in Edge (Chromium) or Safari, or on other users

While trying to access a page in Chrome (Stable), the connection times out. The same happens during a ping/traceroute in a terminal window. Strangely, though, the site will load absolutely fine in ...
user avatar
0 votes
0 answers
82 views

macOS 11.6 Big Sur dns privacy service inactive/not running

How is macOS 11 dns privacy restarted? Installed dns privacy profile from here: https://github.com/paulmillr/encrypted-dns download rename extension to filename: google-https.mobileconfig double-...
user avatar
  • 11
2 votes
0 answers
75 views

50% of all websites suddenly stopped working on my Mac

Today I restarted my Mac (macOS Catalina 10.15.4) and found that around half of all websites are not working. How can I debug this further or even fix it? Situation Here is a short list of a few ...
user avatar
  • 121
1 vote
0 answers
36 views

When connected to 2 networks, how can I query DNS servers from both networks?

My Mac mini is currently connected to 2 networks in the following configuration: Lan1: Internet (Ethernet/DHCP) Lan2: Company intranet companydomain.local (Wi-Fi/DHCP) Both Lan1 and Lan2 are on ...
user avatar
  • 111
1 vote
0 answers
36 views

OSX DNS can ping server until I make a DNS query via the browser

I am having an issue on OSX Catalina (10.15.7) where connections to the DNS server initially work, but then time out or are extremely slow a few seconds after connecting to the network. It is isolated ...
user avatar
4 votes
0 answers
323 views

How can I view the DNS Cache in Big Sur?

I would like to be able to view the DNS Cache on Big Sur. I tried using: $ sudo dscacheutil -cachedump ...
user avatar
2 votes
1 answer
79 views

MacBook Air connects to wifi but does not load webpages etc

For the life of me I cannot resolve this issue. I was given a 2013 MacBook Air and upgraded it to Big Sur on works wifi. At home it will connect only to the 5ghz network (will not connect to 2.4 days ...
user avatar
  • 21
4 votes
1 answer
4k views

How do I set a catchall email address with iCloud Mail+?

I have added all the DNS records required for using the Apple's MX server but when I try to send an email to the address, it is rejected with the following message: This is a system-generated message ...
user avatar
  • 91
0 votes
1 answer
276 views

Unknown host only on my mac

I was thinking about a DNS issue but now I am waiting for months and I still have the issue. One month ago I configured a domain test.my-domain.com But chrome is returning me ...
user avatar
  • 135
0 votes
0 answers
15 views

Point local device address to external ip when out of home

I have a NAS in my home network which has a domain name of jin.local. I use various things like ssh, smb, and proxy, all using this domain name, not the ip(v4) address. However, this doesn't work when ...
user avatar
  • 1,775
0 votes
0 answers
314 views

iOS simulator ignoring hosts file if using valid domain

I'm on Big Sur (v11.4) using an iPhone X simulator on iOS v14.5. I have a couple of entries in my /etc/hosts file that safari, chrome, and firefox on my host machine respects, but trying to pull up ...
user avatar
0 votes
1 answer
70 views

How to make VM1 connect to fakedns server on VM2?

I am trying to create a mini malware analysis environment between a few MacOS VMs to analyse the network activity of MacOS malwares. Some context about the VMs: Both VM are MacOS Catalina 10.15 Both ...
user avatar
0 votes
0 answers
50 views

What does the device name for the Sleep Proxy service mean?

I deployed DNS-SD on my network so I could get rid of Avahi. I'm also setting the most static records I can, it just makes sense since every device is RADIUS-controlled tied to Active Directory, tied ...
user avatar
  • 173
3 votes
0 answers
4k views

iOS 14, Privacy Warning , Network Blocking Encrypted DNS Traffic?

Updated to iOS 14 a few weeks back, and suddenly this morning my wife's phone is getting this message: There is the text "Privacy Warning" next to our home network SSID in the Wifi settings,...
user avatar
  • 2,470
0 votes
0 answers
192 views

macOS cannot resolve LAN computer name, only via IP, but Windows can

I notice the titled issue since I changed modem/router, it seems macOS depends on router's nameserver(192.168.1.1) to resolve LAN computer name. At macOS: System Preference/Network/DNS, the DNS ...
user avatar
  • 1
0 votes
0 answers
962 views

DNS services uses cellular data even when it's disabled

I have noticed this happening for over 3 months now, on both my old phone and the new one I got, which wasn't backed up from the old one. If I disable wifi, then go into the system services usage ...
user avatar
0 votes
0 answers
65 views

Funky mDNSResponder plist

Well, I've never seen this one before - or have any idea how this would happen if you need to be in recovery to modify the file. This was the current output of my com.apple.mDNSResponder.plist when I ...
user avatar
1 vote
1 answer
84 views

How can one tell if DNS is being [on-machine] intercepted

On MacOS it is now possible for applications to insert a DNS proxy provider (i.e. using nednsproxyprovider) which intercepts all DNS requests. How is it possible to discover, or list, whether such DNS ...
user avatar
  • 2,809
0 votes
0 answers
132 views

No DNS after connecting to VPN (with Primo-VPN software)

I use Primo-VPN (bought, but poor support and service, don't buy this) to connect to a PPTP VPN server at my work. I know PPTP is not the best, but it is what as been setup by the staff there... I ...
user avatar
0 votes
0 answers
148 views

How can I repair my DNS so that it doesn't require a VPN or proxy to use the internet? (Anomalous problem)

Operating on a VPN or proxy is fine when I'm browsing and surfing, but certain sites will change the content based on the geographic location associated with the IP address of the VPN/Proxy Server, ...
user avatar
0 votes
1 answer
365 views

MacOS make etc/resolv-conf use secondary dns or rotate

I have a local DNS server (bind9) configured to resolve the fqdm of several servers that I have in my local network, until here everything OK. I put the ip of my local dns server and I can resolve the ...
user avatar
1 vote
0 answers
298 views

VPN via IPSec on iOS with manual DNS

I want to configure a VPN via IPSec for Mac and iOS. I need to set a manual DNS-server with a local adress of the destination network. On Mac this is easy. Just setup a new VPN, then click Advanced at ...
user avatar
0 votes
1 answer
91 views

Power Manager not working (Connection Disrupted: Unable to connect to this Mac's Scheduler at: Service unavailable via Bonjour (dns-sd))

I had recently installed the most recent version of Power Manager, but after installing the launchdaemon/agent jobs opening the application gives me the error message "Connection Disrupted: ...
user avatar
  • 1,775
0 votes
0 answers
16 views

Find the DNS server used for a certain domain

Is there a way to see what DNS I've used to resolve a certain domain? I thought nslookup might've been able to do this but it simply tells me my router was my DNS — not what DNS It used. For example, ...
user avatar
  • 690
2 votes
1 answer
3k views

Why is adding adding sites to /etc/hosts not blocking them on BigSur?

On macOS Big Sur I added the settings below to my /etc/hosts my ISP has IPV6 support so normally browsing to major sites that support IPV6 should probably happen on IPV6. 127.0.0.1 cnn.com ::1 cnn.com ...
user avatar
  • 227
1 vote
1 answer
485 views

why ping registry-1.docker.io returns Request timeout for icmp_seq even when I can nslookup or dig?

I used google and cloudflare and can dig with both set as DNS server on my mac. $ dig registry-1.docker.io ; <<>> DiG 9.10.6 <<>> registry-1.docker.io ;; global options: +cmd ...
user avatar

1
2 3 4 5
11