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
2answers
28 views

Wifi not connecting after erasing hard drive on Macbook Pro 13" 2019

I just erased my Macbook's hard drive (under MacOS Catalina) with touch bar from 2019. When I turn on the computer I press cmd and R, the planet shows off and I've to select a network to connect to. ...
1
vote
2answers
1k views

What is the host “xp.apple.com” for and what is sent there?

Ever since I have installed a Pi-hole DNS/DHCP server at my home, I see the host xp.apple.com pop up as one of the most blocked hosts. The amount of lookups attempted is ridiculous, at around 10% of ...
4
votes
2answers
287 views

How to stop mDNSResponder from using 90-100% CPU continuously forever on Catalina?

I just upgraded my 2018 15" MacBook Pro from Mojave to Catalina (10.15.4). It's been a few hours. One of the first things I did after the upgrade was edit a video using the new free trial of Final ...
1
vote
1answer
82 views

Home wi-fi network will periodically crash when MBP is connected to wi-fi; everything is fine on ethernet

I have a 2018 MBP that's connected to an Ethernet cable 99% of the time. This is my work machine, and I'm on it all the time. However, whenever I disconnect my MBP from Ethernet, and allow it to ...
12
votes
6answers
10k views

How to add some additional DNS search domains without ignoring the DHCP ones?

I just want to add my own list of Search Domains but without overriding the ones returned by the DHCP? As anyone would imagine I already tried to add them to Network > Advanced > DNS but adding them ...
3
votes
3answers
9k views

Mac connects to iPhone hotspot but no internet

I'm trying to set up a hotspot, sharing the connection from an iPhone X running iOS 12.1 with a MacBook Pro running macOS Mojave. The hotspot is working fine and other devices can connect to it and ...
0
votes
0answers
105 views

How can I modify the hosts file on MacOS Catalina?

I need to test out a site before it's actually live for customers, and doing so with a specific hostname. For this I'd like to modify the well-known hosts file, however it doesnt seem to work. An ...
0
votes
0answers
52 views

Why doesn't my system allow me to enter my Admin Password in Terminal when I try to flush my DNS Cache?

I've tried the sudo killall mDNSResponder; sleep 2; echo macOS DNS Cache Reset but when the Password symbol appears its locked and won't allow me to put in my Admin Password? Anyone ever seen this or ...
4
votes
2answers
1k views

How to flush the DNS cache on macOS?

I've read that sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache should flush the DNS cache on OSX (macOS Mojave). However, this command kills processes ...
0
votes
0answers
24 views

Latency spikes when Ping or SSH to Macbook Pro 15(2017) macOS Catalina 15.4

I have noticed that when trying to connect to macOS Catalina through ssh over local wireless network, the connection will encounter a serious latency problem, which makes me hard to type into anything ...
1
vote
1answer
112 views

/etc/hosts entries blocking annoying game site (slither.io) in Chrome & Firefox, but not Safari

My lower school-aged son is now home schooling due to the SF Bay Area's COVID-19 school closures. He uses a 2018 MacBook Air with Catalina to complete assignments in web-based learning tools, and I ...
6
votes
3answers
13k views

resolv.conf search domain not working on OS X

I use network setup to modify my search domains which works fine so far, but it only does it per device. Once I VPN somewhere, it no longer uses those changes. Is there a way to set the search domains ...
0
votes
1answer
28 views

Custom name server removes the ability of visiting websites with 'dev' in the url

I am a web developer and in my younger years I tried setting up a custom name server on my mac without really knowing what I was doing. I wanted to be able to visit my own website on adreses like 'sam....
2
votes
1answer
44 views

Unable to access .dev domains

Kind of annoying. I use dev.*.com's locally in order to develop, but it seems like instead of respecting each domain I've defined in my /etc/hosts, my browsers are not able to reach out to any *.dev ...
2
votes
0answers
72 views

MacOS 10.15.4 dnsmasq doesn't work properly when listening on lan IP address

I have a dnsmasq set on my Mac to provide DNS lookup service to lan computers and Mac itself.The main conf script is listen-address=127.0.0.1,192.168.1.2 where 192.168.1.2is Mac's lan IP address. ...
3
votes
1answer
387 views

DNS on VPN does not work

I have an Azure Point-to-Site VPN over IKEv2 configured and it works well. The problem is with DNS. DNS adresses are filled in Advanced tab of the VPN connection but it does not resolve anything. ...
32
votes
2answers
37k views

Do /etc/resolver/ files work in Mountain Lion for DNS resolution?

Can anyone tell me if adding a file under /etc/resolver will work for DNS resolution using a DNS server other than what is handed out via DHCP ? My issue is that I want to use OpenDNS for a clients ...
1
vote
1answer
32 views

How does one make a command line authoritative DNS query using macOS Mojave native host name and address resolution mechanism(s)?

The man files for dig, delv and host all contain: "macOS Notice The [dig | delv | host] command does not use the host name and address resolution or the DNS query routing mechanisms used by other ...
0
votes
1answer
86 views

SSTP Client with Search Domains

I am connecting to my work's vpn via sstp-client on my mac. Everything is working except that I cannot use short names in urls. For example, if I type "servera" it doesn't resolve to anything. If I ...
1
vote
0answers
16 views

mDNSresponder not using local DNS

My Macbook is connected to my router, running OpenWrt. In that router, I have defined a static host, pointing to a local IP address. Lets call it service.example.com, with IP 10.0.0.10. In public DNS, ...
9
votes
3answers
4k views

Device name on router is different than OS X hostname

There are tons of questions about changing a Mac hostname, and while I went through most of them, I could never find this nuanced answer: Why do routers always seems to receive the first hostname ...
1
vote
1answer
236 views

DNS cache on macOS (Catalina)

Can somebody share with me a way to display the DNS cache on my MacOS, Catalina (10.15.4)?
107
votes
23answers
234k views

DNS not resolving on Mac OS X

Some of my coworkers are having troubles on their Macs - DNS resolution does not work under Mac OS X. They're running Snow Leopard 10.6.8. They can use DNS in a Windows 7 virtual machine (VMware ...
0
votes
1answer
110 views

How can I get MacOS to use the correct search domain from DHCP?

Last year, my router broadcasted search domain was "home.lan". After I changed the ISP, I set new search domain as "lan". However, MacOS appears to ignore it completely and still use the old search ...
0
votes
0answers
43 views

I disabled mDNSResponder and now can't use Firefox, but can connect through Opera (Chromium based)

I'm trying to harden my macOS, and have read that mDNSResponder has some vulnerabilities, so I disabled it (after disabling SIP, then restarted with SIP turned on). So now I can't connect to Internet....
4
votes
2answers
2k views

MacBook Air briefly wakes from sleep after 3 hours

My MacBook Air (a few months old) randomly wakes from sleep roughly 3 hours after the lid is closed. The wake reason is given as EC.LidOpen, but in fact, the lid remains closed. The mac appears to go ...
8
votes
5answers
10k views

Terminal/Safari Cannot Resolve Host But Chrome Can Connect

I have MacBook Pro (Retina, 13-inch, Early 2015) with OS X 10.11.5. Internet connection works only for Chrome. Safari and several terminal apps cannot connect to internet due to resolve host failure....
3
votes
0answers
1k views

Homebrew dnsmasq “Service exited with abnormal code: 2” (Mac OS X Sierra 10.12.6)

Workaround (update) A quick workaround is to stop the job through brew services stop dnsmasq. Then you should first unload the launchd configuration file and then reload it. $ sudo launchctl unload -...
0
votes
0answers
22 views

err_address_unreachable : Cannot reach websites except some

I'm running on macOS Catalina. The Wi-Fi at my work was reset and now I can connect to internet but only Google Gmail and a few other big companies' websites load, no others. I tried manually ...
1
vote
1answer
175 views

identityservicesd IP resolving to non-apple IP - possible man-in-the-middle?

When I dig init-p01md.apple.com using Google DNS 8.8.8.8 returns A name of 219.88.192.83 (SPARK NEW ZEALAND TRADING LIMITED) Then digging init-p01md.apple.com using Kloth.net (again with 8.8.8.8) ...
7
votes
3answers
18k views

Local hostname is already in use on this network?

When I turned my computer on this morning this is the message I received: This computer's local hostname "----Macbook-pro.local" is already in use on this network. The name has been changed to "------...
4
votes
1answer
11k views

Authentication Server could not be contacted

Our OS X Server machine has had no issue at all with being in the Windows AD domain right up until we updated it to OS X 10.10. Now it behaves bizarrely, refuses to connect to our Exchange mail server,...
1
vote
0answers
34 views

Mac OS X DNS issue

I'm stuck back on Sierra because later OS X Server versions no longer include DNS. The Server app is a bit limited and doesn't allow you to enter wildcards (perfectly acceptable in BIND which is what ...
0
votes
2answers
197 views

Remove custom dns server setting via command line [duplicate]

So I typically run the following to set a custom DNS server when I am on WiFi: networksetup -setdnsservers Wi-Fi <desired-dns-server-here> However, I would like to know how to unset custom ...
1
vote
0answers
49 views

ARP cache seems to forget hostnames of other devices on the network

For the sake of this question, I'm trying to access the server from a MacBook Pro, running MacOS 10.15.2. I have a home server running Debian that I want to be able to access from both within and ...
2
votes
1answer
5k views

dnsmasq not working oh Mac OS High Sierra

I have a service running on localhost on MacOS High Sierra. curl foo.test does not work, but curl localhost does. To get to my setup, I installed dns using homebrew, brew install dnsmasq ...
3
votes
0answers
136 views

Can DNS over HTTPS that works for WiFi be modified to work with Android cellular data tethering over USB?

I have configured DNS over HTTPS based on these guides: How to implement DNS-Over-HTTPS and Setting up DNS over HTTPS on macOS. This works fine over Wi-Fi with the DNS Servers set as 127.0.0.1 and ::...
4
votes
1answer
65 views

How to access a website despite a certificate error?

I am moving a web server to a new infrastructure. Before switching the DNS records I would like to check if the new configuration is working. I modified /private/etc/hosts/ with the IP addresses (IPv4 ...
15
votes
6answers
12k views

/etc/hosts gets over written

What is the correct way of editing /etc/hosts? I want to add some IP addresses and host names to it. It works for a while (a few hours) and then it gets reverted back to the original version. Is there ...
5
votes
3answers
4k views

IPv6 dns resolution on macOS High Sierra

My ISP provides me only with an IPv4 address. After setting up a connection to my university OpenVPN server, I get an IPv6 address. With an example IPv6 address www6.fit.vutbr.cz I can: host www6....
2
votes
0answers
79 views

Why does my DNS server not update when I switch networks?

When I switch WiFi networks, the DNS setting does not update. So, if the old and new DNS for the WiFi don't match, I have to open network preferences/advanced/DNS and clear the previous entry. That ...
4
votes
2answers
980 views

After using `networksetup -setdnsservers Wi-Fi “8.8.8.8” “8.8.4.4”` how do I clear them?

I'm looking to script a temporary DNS server change to override the DHCP response I get from the network. I've figured out I can use networksetup but once we're done testing. Before I push to ...
0
votes
1answer
51 views

Pinging Mac “computername” hits strange IP address

I'm using a MacBook Pro with Mojave 10.14.6. I had entered a computername in System Preferences, Sharing of (not really) mymacbk. I am using Frontier's FiOS service, whose router normally attaches "....
2
votes
1answer
153 views

ssh VerifyHostKeyDNS not working

I'm stuck figuring out why ssh is unable to verify my SSHFP entries. VerifyHostKeyDNS=yes is set in my ~/.ssh/config The Zone is properly signed as verified with https://dnssec-analyzer....
1
vote
1answer
88 views

How can I have a hostname always be resolved using my local network's DNS server when I'm connected to a VPN?

I have a MacBook Pro running macOS 10.14.6 that is frequently connected to a privacy-focused VPN that tunnels all non-local traffic and handles all DNS requests. However there is one hostname that I ...
1
vote
0answers
24 views

Allow macOS to use nameservers provided by tap0 interface

I have a script that establishes a VPN connection and assigns an address to tap0 via DHCP. It looks like the DHCP server is providing nameserver entries (in resolver #2): $scutil --dns DNS ...
0
votes
1answer
734 views

DNS lookup painfully slow on only one network?

I've got a MacBook Air 2013 running 10.14, and loading all pages either stalls for multiple seconds on "Resolving host" and only loads after a painful delay or it completely fails and Chrome shows me ...
2
votes
3answers
1k views

how to add ip routes with host name instead of ip address?

I want to add IP routes for host that I do not have the IP address for. I basically want tell macOS to search for a host in a specific interface: sudo route add -host <myHostname> -iface en7 ...
3
votes
1answer
2k views

Blocking a website

I need to block a particular website on my Mac (OSX 10.11.1, El Capitan). I have already made the changes to /etc/hosts but the website is still not blocked when testing from Chrome. I think this has ...
2
votes
1answer
3k views

macOS Mojave Software Update error - “A server with the specified hostname could not be found.”

How do I get rid of this message and in fact manage to update the machine? A server with the specified hostname could not be found. An error occurred while installing the selected updates. I ...

1
2 3 4 5
10