Questions tagged [dns]

Domain Name Service, a method of converting a textual doman name to an IP address

Filter by
Sorted by
Tagged with
1
vote
0answers
21 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
48 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
27 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
0answers
80 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
59 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 ...
0
votes
0answers
34 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
37 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
78 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
20 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
43 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
1answer
456 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
23 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
87 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
59 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 ...
1
vote
1answer
151 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
79 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 ...
3
votes
1answer
511 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
56 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
39 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 ...
6
votes
1answer
2k 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
991 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 ...
2
votes
0answers
112 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
121 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 ...
0
votes
0answers
42 views

Mac ping seems to cache DNS, how to stop this behavior

I have a split DNS situation happening. I have updated the DNS record on both local and public DNS servers. nslookup recognizes that the A record has been updated: user@MacBook-Pro:~ $ nslookup ...
2
votes
1answer
1k 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
46 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
210 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. ...
0
votes
0answers
22 views

How to make Chrome look for local DNS

MacOS Version: 10.14.5 Chrome Version: 75.0.3770.100 I have entered an entry in my /etc/hosts like below ## # Custom hosts ## 127.0.0.1 jupyter.dev ::1 jupyter.dev My traceroute ...
2
votes
1answer
335 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 ...
2
votes
0answers
554 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 -...
1
vote
1answer
44 views

hosts file: does it pass the domain name? I'm always redirected to the main site configured on the host

My NEW server IP address is 123.456.789.123. Pointing my browser to 123.456.789.123 (http://123.456.789.123) the server serves me site alpha. Now, on the same NEW server I've configured a second ...
2
votes
0answers
15 views

MacBook Pro on company network loses Internet access after 10 minutes, but still has internal network access

I have a Mac user that after 10 minutes loses Internet access. The issue started yesterday. I have recreated the location with the DNS addresses in my troubleshooting efforts. When I restart after ...
1
vote
0answers
34 views

MacOS prefer /etc/hosts over DNS

My Mac is running dual stack IPv4/IPv6 which works fine. In my /etc/hosts I have added a IPv4 pointer to my development VM like so: website.test 10.10.10.35 This works fine. But I noticed that some ...
1
vote
1answer
59 views

/etc/hosts ignores some entries

Giving the command below shows my /etc/hosts all similarly formatted. Trying Safari to go to facebook.com indeed gives the URL: safari-resource:/ErrorPage.html but for some or many of the other ...
0
votes
1answer
45 views

iPhone having problems connecting to services

I have an iPhone 7+ (NN4P2ZD/A) that has been having weird issues with connections which I’m attributing to DNS resolution problems. They only occur on home WiFi network and they only occur on this ...
1
vote
1answer
27 views

ssh to non-existent .local name never times out

If I try to connect to a non-existent .local hostname using most utilities, including ping and telnet, it times out after 5 seconds: % time telnet host.example.local host.example.local: nodename nor ...
0
votes
2answers
83 views

Why my machine, automatically goes to this IP/domains

Why my machine, automatically goes to this IP/domains. I have installed VM with windows 7 and I have wordpress site with xammp server and that is all. Is they are safe domains or not? Because I see ...
2
votes
1answer
1k views

How do I configure DNS now that OS X Server doesn't support it?

I was using OS X Server to run DNS for my local network. As many know, the Mojave version of Server dropped a lot of the services that were there, one of which was DNS. Unfortunately I didn't read ...
0
votes
1answer
140 views

How to configure resolv.conf options with scutil on MacOS?

I would like to configure the following: options rotate timeout:1 retries:1 What is the way to achieve that with scutil --dns. I can't find it anywhere in the documentation. $ for i in {1..100}; ...
2
votes
1answer
171 views

Google DNS doesn't work

I have trouble using Google DNS under my 2017 MacBook Pro running macOS Mojave.. I want to point in advance that: I don't have access to the router settings. I'm using kind of host network that my ...
0
votes
0answers
148 views

Bypass DNS resolver/cache in Mac?

I'm hitting an error where after changing a DNS name, dig reports that a name resolves to the correct IP but curl says the name doesn't exist. Restarting the machine clears the problem, clearing the ...
4
votes
2answers
104 views

The Apple TV doesn't support native VPN configuration - is there another way to use VPN?

TL;DR: Apple doesn't allow for native VPN configuration on Apple TVs, is there a reliable way to use a VPN service with my Apple TV? As someone who lives abroad, a VPN can be a real life saver when ...
0
votes
0answers
61 views

Google Chrome and nslookup: works. Safari and ping: do not work

So I'm on a hotel WiFi that has been working fine for several days. Suddenly, I'm not able to use many programs on the internet. Safari says "Can't find server". Ping says "Can't resolve: Unknown ...
0
votes
1answer
2k views

Safari can't connect to localhost

I'm trying to use Focus, an app that redirects blocked websites through localhost. However, while this works properly with Chrome and Firefox, Safari gives me an error message as in the attached image....
2
votes
1answer
1k 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 ...
0
votes
0answers
1k views

How to prevent DNS caching on iOS

Does anyone know how to prevent DNS caching on iOS? My DNS cache keeps getting fouled up and it causes all sorts of issues that affect: Population of the bonjour pane in the VNC app Detection of ...
0
votes
0answers
11 views

Mix DNS from DHCP with a statically defined one

I'd like to configure my DNS records to priorities a statically defined DNS server (e.g. 8.8.8.8) and fallback onto DNS servers retrieved from DHCP. I'd like the DHCP DNS servers only to be used, if ...
0
votes
0answers
51 views

At one particular coffee shop, mac only connects to google and nothing else

I have a 2015 Macbook Pro running High Sierra. At one particular coffee shop, my mac only connects to google, facebook and youtube and no other websites. I looked at a bunch of forums and based on ...
1
vote
0answers
40 views

Cannot flush cache

No matter what I do, I cannot get a web site to load after something changes with the DNS. For instance, if meh.blah.example.com had a misconfigured DNS value and produced an ERR_NAME_NOT_RESOLVED ...
0
votes
0answers
908 views

Why is IMRemoteURLConnectionAgent contacting a Charter IP address

I never use iMessage. I never use iCloud. And yet I happened to check my Mac's current network connections and I found this: IMRemoteURLConn 33557 me 7u IPv4 ... 0t0 TCP 192.168.1.198:57996-&...