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
18 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
21 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
22 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 ...
0
votes
1answer
48 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
74 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 ...
1
vote
1answer
70 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
37 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
29 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 ...
4
votes
1answer
157 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 ...
3
votes
2answers
337 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 ...
1
vote
0answers
49 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
48 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
28 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
1answer
129 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
41 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
102 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
21 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
83 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
232 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
41 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
28 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
47 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
31 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
18 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
49 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
748 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
95 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
136 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
90 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
86 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
47 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
1k 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....
1
vote
0answers
358 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 ...
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
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 ...
0
votes
0answers
38 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
34 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
697 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
44 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
875 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 ...
2
votes
0answers
1k views

Can't access internet after installing NordVPN

As soon as I install the NordVPN app from the app Store on MacOS Mojave, the internet connection dies. I can't use my browser, or any internet connected apps. Deleting the app and then restarting ...
2
votes
0answers
295 views

Reduce or disable DNS cache in 10.13 and 10.14

I'm trying to get a hold of the property list, I'm guessing, that specifies the TTL or the amount of records held of the DNS cache of the system, if is not user/root accessible, then command that ...
0
votes
0answers
206 views

Slow Internet When Connected to L2TP/IPSec VPN

I set up the built-in racoon program on a Mac server to run a VPN server. It's an L2TP over IPSec VPN. I connect through it through the native client built into macOS's network settings. So I connect ...
0
votes
1answer
415 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 ...
0
votes
0answers
865 views

How is iOS to host communication done with TCP to USB?

I am looking for a good primer on information about accessing the data streamed from iOS devices to a host via USB. I've found this is done through TCP, I think. But concrete info is what I'm looking ...
5
votes
2answers
2k views

Force DNS resolution to happen outside VPN

I'm running Mojave (10.14) and I have a Cisco AnyConnect VPN over which traffic for selected routes (determined by the VPN profile, out of my control) is sent. Traffic routing works fine, the issue ...
3
votes
1answer
1k views

How to or Is that possible to stop mDNSResponder without disable System Integrity Protection?

I have tried the following: $ sudo killall -HUP mDNSResponder $ sudo killall -9 mDNSResponderHelper mDNSResponder $ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder....
3
votes
2answers
597 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 ...
2
votes
1answer
4k views

Mac connects to iPhone hotspot but no internet

I'm trying to set up a hotspot, sharing the connection from an iPhone X running iOS 12.1 with a MacBook Pro running macOS Mojave. The hotspot is working fine and other devices can connect to it and ...