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
1
vote
0answers
16 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 ...
0
votes
1answer
29 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: ...
0
votes
0answers
11 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, ...
2
votes
1answer
305 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
51 views

Cannot remove NextDNS network service in preferences

I installed NextDNS through a profile a while ago and is was easy to uninstall via its profile. Later I changed my internal SSD to one with a bigger capacity and used Time Machine to restore my Mac ...
0
votes
0answers
21 views

Resolve SSH hostname / DNS address on different network

I have a server running at home, and to SSH into it, I run ssh server (hostname is configued in ssh config). When I'm not on my home network, I ssh through the external IP address - which is ...
0
votes
1answer
52 views

What is up with IP address? Getting bizarre results

I'm trying to limit my teenage son's access to certain websites (like Discord) during school hours only. The only solution I've found is to use something like https://www.dnsfilter.com. They require ...
1
vote
0answers
35 views

Custom resolver configuration do not work on Big Sur

I have configured DNSmasq locally to translate all *.localhost requests to 127.0.0.1 (as per now expired RFC draft let-localhost-be-localhost). I am running DNSmasq on non standard port (to not ...
0
votes
1answer
19 views

Command for resolving ip address for host entry in /etc/hosts?

I'm looking for a command that will let me resolve a host name in /etc/hosts to its corresponding IP address. nslookup ignores entries in /etc/hosts file. ping will find entries in /etc/hosts but is ...
0
votes
0answers
28 views

How to change DNS on macOS CLI (if i don't know interface name)?

macOS (Catalina) and I want to start IKEv2 VPN client (CLI). Bad luck, ipsec can't change DNS servers. I can add UpDown script and run several commands on VPN up/down. For example, I like networksetup ...
0
votes
0answers
81 views

Change DNS settings of cellular hotspot

I have recently bought a Switch Mini for playing Minecraft portably. However, as I would like to play on servers, I use a DNS server called BedrockConnect, which is utilised by changing the Switch's ...
3
votes
1answer
37 views

Unable to ping DNS any external IP address after reformat and fresh installation of macOS Catalina

I have just completed a reformat and fresh installation of macOS Catalina (10.15.7) on my 2012 Macbook so it can be passed on. The Internet is not working, though. An identical 2012 Macbook is ...
2
votes
1answer
201 views

How to access DNS server on non-standard port on macOS?

I need to use a DNS server that serves on port 5353, how do I specify the port in the system DNS settings?
0
votes
1answer
31 views

How do I add locally hosted DNS server while preserving default LAN DNS

My question is very similar to How do I add custom DNS server and preserving default DNS of ISP in OS X Mountain Lion however I am looking to filter and resolve all dns requests via my resolver, so ...
2
votes
1answer
107 views

Safari seems to ignore my DNS Server

I am using an Eero Pro 6 device for my home wifi connection. The "Eero Secure" product offers to let you block certain domains. I have entered "reddit.com" in the block list, and ...
0
votes
0answers
22 views

Add a record in /etc/hosts, flushed DNS, why the domain is still not pointing to the desired IP?

Just added a record in my /etc/hosts but it doesn't work. I also tried to clear DNS via this way: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder When I ping that IP, it's still the IP ...
1
vote
2answers
71 views

ping $(hostname) has request timeout but nslookup $(hostname) works

Why does ping $(hostname) fail with the output below? PING deeznuts.noodleofdeath.com (10.186.132.10): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for ...
3
votes
1answer
578 views

apsd/mDNSResponder spamming thousands of DNS queries per second on macOS Big Sur

I upgraded a machine to macOS Big Sur two days ago, and after a day or so my PiHole DNS server randomly stopped working, which upon inspection was caused by gigabytes of logs for DNS queries made by ...
1
vote
1answer
2k views

How to disable DNS over HTTPS (DoH) and DNS over TLS (DoT) network-wide for Apple iOS and macOS

I am running an the Open Source OpenWrt router firmware and wish to disable DoH and DoT for the whole network. In my network lots of latest iOS and macOS devices. To disable DoH for Firefox is used ...
2
votes
1answer
211 views

Why is my computer making hundreds of requests to captive.apple.com?

I'm experimenting with NextDNS, and I noticed that my PC is making hundreds of requests an hour to captive.apple.com. Currently 40% of my DNS queries are to apple.com. I understand this is a feature ...
1
vote
2answers
115 views

How to deal with IPv6 in Wireshark?

When I look up google, I get an IPv6 address and not an IPv4 address This is giving me issues in Wireshark with the source since I can’t manage to map the different addresses for the same name. Can ...
1
vote
1answer
24 views

MacOS Resolution of localhost

Does anyone know the exact mechanism by which localhost is resolved to 127.0.0.1 on MacOS without an entry in /etc/hosts? Is it logic encoded in mDNSResponder itself or something similar, or more high ...
1
vote
1answer
187 views

Any DynDNS client for current iOS for usage with nsupdate.info?

This is my first question here and my first experience with iOS. As a long-time Windows and Linux user, I have been asked to install a client (updater) for the dynamic DNS service nsupdate.info on a ...
0
votes
1answer
60 views

After Zoom install: macOS forwards various requests to localhost

right on the day since I installed (and uninstalled) Zoom, various URLs began to be forwarded to localhost. Like: $ traceroute -I googleadservices.com traceroute to googleadservices.com (127.0.0.1), ...
2
votes
1answer
27 views

Getting the whole DNS record

I have a domain that has a DNS record with CNAME and ALIAS entries, but how do I check them in the terminal? I tried nslookup -type=any <domain.name> and dig <domain.name> any and variants ...
1
vote
1answer
41 views

Am I setting up routes and DNS for a private network properly?

Background I use a private network router which is a separate host to my desktop. This private ("corporate") network comes and goes (mostly under my control), and I want to make sure that ...
-1
votes
1answer
92 views

Convince macOS Catalina that there is Internet command-line

There are several ways to provide your MacBook Pro with Internet via some obscure socket, typically using OpenVPN, complemented by stubby for dns-over-tls. This works in Terminal However, other GUI ...
1
vote
1answer
73 views

Mystery IP cache problem one macbook all accounts all browsers

Sister has a macbook running 10.15.6 Catalina used to manage a Wordpress site on a virtual hosting service. As of a few days ago, the macbook fails to access the site and gets a "this site's IP ...
4
votes
2answers
209 views

How to auto switch DNS settings while connect to different WiFi?

I have totally different DNS settings when I am at work and when I am at home. I was wondering can I change my MacBook Pro's DNS settings automatically when I connect to different WiFi. I did a lot of ...
1
vote
1answer
84 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
37 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
16 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 ...
2
votes
1answer
2k 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
549 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
549 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
3answers
3k 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
211 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
274 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
87 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
227 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
3k 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
242 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
32 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
850 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 ...
2
votes
1answer
137 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
177 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 ...
2
votes
0answers
92 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
1k 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
541 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 ...

1
2 3 4 5
10