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
2answers
32 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
19 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 ...
0
votes
1answer
27 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
32 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
25 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
33 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 ...
0
votes
1answer
65 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
61 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
93 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
39 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
18 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
291 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
141 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
92 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
2k 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
123 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
204 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
60 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
91 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
1k 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
158 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
31 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
340 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
67 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
126 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
44 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
599 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
222 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
51 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
30 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
346 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
36 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
636 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
71 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
170 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
66 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
128 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
65 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
227 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
27 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
192 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
32 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
670 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
682 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 ...
4
votes
1answer
812 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
183 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 ...
10
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
91 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 ...

1
2 3 4 5
10