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
1answer
14 views

DNS settings different between Chrome and Firefox

I have an odd issue that I hope someone can help on. I recently switched hosting providers for a subdomain on our website (the main domain is still at the old host). The DNS settings for this ...
0
votes
0answers
7 views

/etc/hosts not working on Catalina with dnsmasq

I have several bad guys mapped to 0.0.0.0 in /etc/hosts and this has been working as intended until today. I launched the default brew installation of dnsmasq and now the bad guys are resolving to ...
0
votes
0answers
15 views

Incorrect hostname keeps appearing in sharing preferences [duplicate]

Problem: I've got two macs in the same network. One of them is often not discoverable via the Finder or Apple Music (shared library). I noticed that this mac has incorrect hostnames in the sharing ...
0
votes
0answers
52 views

DNS problems with Wireguard VPN

I am using wireguard Application to establish a VPN between my Mac running (Catalina 10.15.6) and my home. At home I run two RPi: one with wireguard in docker one with Pihole in docker (IP 192.168....
0
votes
1answer
51 views

Catalina cannot resolve servers in the .local domain without the domain being specified

tl;dr In the Catalina terminal ping lan-services.local works but ping lan-services does not I have a 2012 Mac mini that I just installed Catalina on from scratch (i.e. blank SSD and USB install) ...
0
votes
2answers
36 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. ...
0
votes
0answers
672 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 ...
1
vote
1answer
95 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 ...
0
votes
0answers
114 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 ...
0
votes
0answers
39 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 ...
2
votes
1answer
57 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 ...
4
votes
2answers
638 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 ...
2
votes
0answers
117 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. ...
0
votes
1answer
30 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
174 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 ...
1
vote
1answer
44 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
99 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
26 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, ...
1
vote
1answer
366 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)?
0
votes
1answer
138 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
47 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....
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
258 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) ...
1
vote
0answers
35 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
381 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
56 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 ...
3
votes
0answers
158 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 ...
2
votes
0answers
102 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 ...
0
votes
1answer
55 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
182 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
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 ...
1
vote
1answer
125 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
2answers
2k 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 ...
1
vote
0answers
30 views

How to disable DNS resolution when using a HTTP proxy

I'm running behind a corporate firewall and http proxy. The DNS resolves internal names but does not resolve external names. The proxy does allow connecting to external sites and when using this with ...
0
votes
1answer
467 views

What is bound at port 53 of localhost and how to stop that service?

I want to run my own bind dns forwarder but in order to bind it to port 53 of my machine I first need to stop what is running there. It seems that a service called "domain" is running there from what ...
0
votes
1answer
433 views

Using scutil to set DNS for specific domains

I'm trying to resolve only example1.com and example2.com using a custom DNS server. I've read that scutil could come in handy, but after doing the following, the system-wide DNS is still used: sudo ...
3
votes
1answer
635 views

DNS resolution works for nslookup but fails in browser while using openconnect

Trying to use openconnect to connect to Cisco Anyconnect VPN. I just did brew install openconnect and use it from cmd line like this: sudo openconnect --authgroup=VPN-SSL-GROUP -u FIRST_LAST@...
1
vote
1answer
142 views

How & why do “0.0.0.0” connections get a response?

I have a lot of bad guys in /etc/hosts pointing to 0.0.0.0 If I use host to check the domain name, I get an actual IP address instead of 0.0.0.0 What I expected the resolver to give me is the same ...
8
votes
2answers
2k 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 ...
1
vote
0answers
82 views

How to set system-wide DNS server settings on macOS, not for each network?

I'd like to set one DNS server IP that my Mac should always use, but currently I have to repeat the same process every time I connect to a new network: System Preferences > Network > Wi-Fi > Advanced ...
2
votes
0answers
52 views

DNS ignored in VPN settings

I have an IKEv2 VPN set up in my network preferences. It works fine, I can access any desired computer in the remote network by the IP. Also, I added our DNS server to the VPN connection though ...
8
votes
1answer
4k views

How to use Secure DNS on MacOS?

My Problem I am using Google 8.8.8.8 DNS, and would like to use its Secure transports for DNS feature to make sure nobody is messing with the communication channel between Google and my Mac. What ...
4
votes
2answers
2k views

macOS keeps reverting to static DNS IP addresses

I have a strange issue that only started occurring recently (within the last 2 public OS update releases). The DNS IP addresses for all interfaces (at least, the WiFi and Ethernet interfaces) are ...
3
votes
1answer
471 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. ...
0
votes
1answer
304 views

Is it true that iOS devices use a hard coded time.apple.com dns for an ntp server?

I read that the only way to point an IOS device at your own NTP server is to change your dns sever’s record for time.apple.com to point at your NTP server so that when the iOS device requests the time ...
3
votes
1answer
5k views

How to flush the DNS cache of Safari on macOS Mojave without restarting the system?

I've experimenting with configuring dnsmasq on macOS for Apache vhosts instead of creating entries in /etc/resolver/<domain> for each domain. In my case, I configured dnsmasq to resolve .dev to ...
1
vote
0answers
55 views

Connected to Ethernet but no Internet access

I am having a very frustrating problem. My 2009 iMac is connected to our network by Ethernet, however it cannot access the Internet. All my other devices work fine, and local adresses (192.168.0.1 ...
1
vote
0answers
421 views

iPhone using cellular data even if disabled

I'm currently abroad and my carrier is charging absurd fees for data plan. I decided to turn off completely cellular data and rely only on WiFi but my iPhone is still using few KBs of data every day. ...
2
votes
1answer
797 views

How can I lookup the IP address of a Bonjour host?

Normally, if I want to point to a Bonjour-capable host on my local network, I can use its local network hostname, hostname.local, as in: $ ssh pi@raspberrypi.local Unfortunately, this doesn't work ...

1
2 3 4 5
10