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.

Domain Name Service, a method of converting a textual doman name to an IP address. On Apple products, this also includes multicast dns and technologies like bonjour, zero configuration and protocol and debugging toools and procedures to understand the name resolution relating to any Apple product or service.

555 questions
129
votes
28 answers

DNS not resolving on Mac OS X

Some of my co-workers are having troubles on their Macs - DNS resolution does not work in Mac OS X. They're running Snow Leopard 10.6.8. They can use DNS in a Windows 7 virtual machine (VMware Fusion 3.1.3) running on OS X. The computers are 15"…
Cajunluke
  • 17,418
  • 7
  • 53
  • 72
82
votes
3 answers

How can I display the current DNS servers from the command line under OS X?

I want to display the DNS servers that are used by the current network setup on OS X, from the command line.
sorin
  • 28,475
  • 65
  • 162
  • 235
48
votes
9 answers

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 caches. I have tried the following.. flush mdns…
NDBoost
  • 569
  • 1
  • 4
  • 10
46
votes
3 answers

What is the "wake for wifi network access" setting in energy preferences?

Can anyone explain the "wake for wifi network access" setting in energy preferences for me? I do not understand it.
erikvold
  • 2,828
  • 4
  • 20
  • 20
41
votes
10 answers

DNS lookups fail with e.g. `ping`, but work with `host`

I'm using pfSense 2.0rc3, and I've set it up as a DNS forwarder and enabled "Register DHCP leases in DNS forwarder" and what I understand are all the appropriate settings to get DNS server for local lookups. It works as expected with Linux and in…
Brian M. Hunt
  • 906
  • 2
  • 10
  • 17
39
votes
2 answers

Do /etc/resolver/ files work in Mountain Lion for DNS resolution?

Can anyone tell me if adding a file under /etc/resolver will work for DNS resolution using a DNS server other than what is handed out via DHCP ? My issue is that I want to use OpenDNS for a clients home DNS resolution in order to take advantage of…
ilium007
  • 491
  • 1
  • 5
  • 3
27
votes
8 answers

Mac OS X Mountain Lion - DNS resolving uses wrong order on VPN via dial-up connection

I am using a MacBook with Mac OS X 10.8.2 and connect to my company's network via VPN. Everything works great when establishing the VPN connection via LAN or WLAN. However, when I use a dial-up connection (Huawei HSDPA USB Stick) host names are not…
user1248552
  • 371
  • 1
  • 3
  • 3
27
votes
2 answers

How to set custom DNS entry for a particular wifi connection

Is there a way to set custom DNS settings for a single wifi connection without affecting other connections? I use my laptop at home and work. When at work I need to type in an IP address of a local DNS server to resolve company resources. I…
Jason
  • 1,639
  • 5
  • 17
  • 17
26
votes
5 answers

How can I quickly change DNS server

I often like to use a non-network specific DNS server (like Google's public DNS 8.8.8.8). However, many public wi-fi locations won't load their "terms of service, click here" page during the authorization process. I suppose it is because my…
Bill Nace
  • 1,977
  • 5
  • 18
  • 28
26
votes
4 answers

What does the dynamic global hostname option in sharing settings do?

Can anyone explain what this option does?
Casebash
  • 4,273
  • 15
  • 45
  • 60
25
votes
4 answers

How can I get OSX Mavericks to notice a DNS change in `/etc/hosts`?

A common way to "block" a website (eg, to eliminate it as a distraction) is to edit /etc/hosts and point the domain to the loopback address. Eg: # Stop goofing off 127.0.0.1 youtube.com On Mavericks, I find that changes like this are seemingly…
Nathan Long
  • 1,169
  • 3
  • 13
  • 22
24
votes
3 answers

Can I use Back To My Mac's mDNS address and for ssh and other routing of traffic?

On Lion and iCloud, the old MobileMe and Snow Leopard mDNS naming has changed and no longer works. I'm wondering how to use command line tools to find out the DNS name that Apple has assigned to my Mac. I want to use that dns name on other devices…
bmike
  • 226,393
  • 78
  • 398
  • 871
23
votes
3 answers

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 later, after a few restarts of my MacBook, whilst…
EngineerBetter_DJ
  • 463
  • 1
  • 6
  • 12
21
votes
7 answers

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.
Adam Smith
  • 311
  • 1
  • 2
  • 3
21
votes
4 answers

Why is my hostname resolution taking so long?

Several months ago I noticed that my text editor (emacs) and IDE (IntelliJ) were taking a really long time to start up. The time appeared to vary based on the DNS servers OS X was using. I was able to isolate the issue when a project's test suite…
user67590
  • 511
  • 3
  • 9
1
2 3
36 37