Questions tagged [dns]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
22 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 ...
4
votes
2answers
79 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
17 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 ...
0
votes
0answers
27 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
33 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 ...
14
votes
5answers
9k 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 ...
1
vote
0answers
51 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
17 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 ...
100
votes
22answers
202k 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 ...
2
votes
1answer
35 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
1answer
2k views

Wipe all WiFi settings from MacBook

My old MacBook has come out of retirement after about two years turned off. It connected to my WiFi but the browsers complain it's insecure and might be connected to servers pretending to be the ones ...
2
votes
0answers
86 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
39 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
13 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
22 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 ...
6
votes
3answers
2k views

DNS servers aren't specific to network?

On my Mac, I am trying to set my DNS servers so that they are 8.8.8.8 and 8.8.4.4 at my house, while at school they are the router default (they block google's public DNS) How can I set up my DNS ...
1
vote
1answer
16 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 ...
2
votes
1answer
99 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 ...
1
vote
1answer
39 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 ...
10
votes
1answer
5k views

How to find all devices (IP Address, Hostname, MAC Address) on local network?

I've read almost every thread related to this, yet no one has quite made it easy to access a table like the following. IP Address Hostname MAC Address 192.168.1.10 | myAppleTV | 02:...
9
votes
3answers
9k views

DNS Resolution Fails for ping and curl, but not dig

I'm running DNSMasq as a local DNS server, so I can resolve *.local.pcfdev.io (as discussed here Using PCF Dev Offline with Mac OS X). Everything worked when I first set things up. A couple of days ...
0
votes
1answer
24 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 ...
37
votes
9answers
71k views

OS X 10.10.1 /etc/hosts & /private/etc/hosts file is being ignored and not resolving

Like the title says, running os x 10.10.1. if i have an entry in my hosts file and do a dig or nslookup it still shows a different IP than what is in my hosts file even after trying to flush various ...
14
votes
2answers
12k views

discoveryutil: command not found

After connecting VPN, I often have to flush DNS to get my private hosts to be found. I would do this sudo discoveryutil mdnsflushcache; sudo discoveryutil udnsflushcaches Now, after upgrading to ...
0
votes
2answers
38 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 ...
0
votes
1answer
718 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
372 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
68 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}; ...
3
votes
4answers
3k views

nslookup & dig fail; ping, traceroute, and scutil -r work

I'm running on 10.8.2. All of a sudden, traditional nameserver lookups are failing on my machine: $ nslookup www.att.com ;; connection timed out; no servers could be reached $ dig www.att.com ; &...
0
votes
0answers
48 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 ...
0
votes
0answers
28 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
193 views

macos mojave -> “software update” -> “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? I can browse internal and external websites fine, name resolution works fine, a packet capture tcpdump -i en7 port 53 and ...
3
votes
2answers
502 views

Alternate DNS resolution for Safari on macOS?

I use a Pihole on my network to provide local DNS service to block ads and various websites. I've noticed recently (maybe since Mojave) that Safari seems to bypass this. The Pihole device also ...
0
votes
0answers
34 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
0answers
814 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 ...
4
votes
1answer
853 views

How do I really (dig) flush the DNS cache on OS X 10.9?

I'm on OS X 10.9, according to support.apple.com I can flush the cache with sudo killall -HUP mDNSResponder Unfortunately this does not really refresh my DNS cache at all, also not like this: ...
0
votes
0answers
10 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 ...
1
vote
0answers
29 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 ...
2
votes
1answer
920 views

Periodic problem with DNS resolution

Since a few days, the DNS resolution stops working for random amounts of time, a few seconds to a few hours (I logged it with a simple script). It sometimes goes back to normal without any ...
14
votes
6answers
55k views

iOS 11: How to change DNS settings for cellular/mobile data?

Is it possible to change DNS for cellular internet? How can it be done without a jailbreak? I've tried Apple Configurator, but didn't find suitable settings.
0
votes
1answer
678 views

Why is twitter unreachable from Chrome but not Safari?

I am using macOS 10.13.6. When I go to www.twitter.com in Google Chrome I get a This site can't be reached. https://www.twitter.com/ is unreachable. ERR_ADDRESS_UNREACHABLE On the same machine I can ...
3
votes
2answers
14k views

What is the equivalent of ipconfig/displaydns (and flushdns) in OS X?

I need to find how to display my DNS cache on the mac. I have tried multi Google searches but failed to come up with a good solution. The best I found was how to remove the cache with the command ...
1
vote
1answer
24 views

Website Doesn't redirect correctly

I have recently created a blog and hosted that on a freehosting website. domain is purchased from hostgater Website is hosted on freehosting. On hostgather nameserver has been updated as per ...
4
votes
2answers
376 views

Unable to resolve hostnames inside macOS chroot jail

I just created a chroot jail with inetutils, coreutils and bash. Most of the things seem to work. I can ping ip addresses and hosts that are inside /etc/hosts, however, I can't ping hosts that are not ...
0
votes
0answers
527 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-&...
1
vote
1answer
43 views

Strange DNS entries on a macbook pro

I was trying to add an entry in /etc/hosts on a MacBook Pro 2018 (macOS 10.14.1) that has been installed transferring data from another MacBook Pro (2013 running macOS 10.13.6) when I found the ...
0
votes
1answer
98 views

macOS not resolving IP Address

I used a certain domain name temporarily to build a site on. The site has been moved to its own URL and now I want to use the same domain again for another site. I have set up the WP installation but ...
1
vote
1answer
80 views

DNS resolution got extremly slow after issuing ipconfig commands

I wanted to inspect DHCP messages. To produce them I issued these 2 commands: sudo ipconfig set en0 BOOTP sudo ipconfig set en0 DHCP After that, I am having severe DNS resolution difficulties. It ...
0
votes
1answer
325 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 ...
1
vote
1answer
109 views

iPhone 7 Sim Switching, Account Switching or just Normal Domain Traffic?

I think there is some funny business going on with one of the devices in my house. I'm not sure if the person is changing into between iCloud Accounts on the same device, or switching Sims or using ...