Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mdns]

Multicast Domain Name Service is a method for using traditional domain name services without a central DNS authority, or DNS lookup server.

0
votes
0answers
24 views

All network requests not coming from browsers being blocked

I have an issue where all network requests not coming from a browser (ie: App store, iTunes, terminal, xcode etc...) are being blocked. The only way I can resolve is if I terminate mDNSresponder in ...
0
votes
0answers
79 views

How can I restart mDNSResponder service without requiring sudo?

I want to create a script that does flush the dns on MacOS without asking me for the sudo password. I also do not want to disable password for sudo, as this would be a big security risk. Is there a ...
1
vote
1answer
812 views

MacBook Air briefly wakes from sleep after 3 hours

My MacBook Air (a few months old) randomly wakes from sleep roughly 3 hours after the lid is closed. The wake reason is given as EC.LidOpen, but in fact, the lid remains closed. The mac appears to go ...
1
vote
1answer
2k views

mDNSResponder not logging

man mDNSResponder suggests that sudo killall -USR1 mDNSResponder will enable warning and notice logging, and that sudo syslog -c mDNSResponder -d will enable log levels Emergency to Debug. ...
3
votes
1answer
541 views

Make mDNSResponder use local DNS server?

I want to use dnsmasq when my Mac (Sierra) is not connected to a wifi network. Configuring DNS servers in the Advanced Network Preferences dialogue box works fine for dig and nslookup, and I can see ...
0
votes
1answer
658 views

mDNS not working

I re-installed my pfsense firewall the other day, sometime soon there after my macbook stopped doing backups using time machine. The pfsense is installed on new hardware, but the config was restored ...
2
votes
0answers
1k views

How to access/print the DNS/mDNS cache in OSX El Capitan?

I am trying to get a visual of the DNS cache (IMHO this should be extremely easy but somehow I cannot get it in El Capitan). I have tried things like: dscacheutil -cachedump which some reason returns (...
1
vote
2answers
1k views

How can I get DNS resolution on-line and offline for virtual machine and local app using dnsmasq or similar

I have read all the answers I can find about setting up dnsmasq as a local DNS server for development. But I can't make it work for my case. Most out there want 127.0.0.1 to be resolved for names in ...
2
votes
1answer
2k views

mDNSResponder question - what is it doing in this specific case?

I noticed that the mDNSResponder process on my machine accepted an incoming connection from the name given to my machine in relation to sharing capabilities (xxx's-MacBook-Pro.local) on port 53. ...
0
votes
1answer
1k views

mDNSResponder - incoming connection from “[name of my Macbook]'s-macbook-pro.local”

As I logged into my admin account to set some things up on my Macbook (I surf using a standard account), I noticed via my third-party firewall application, Little Snitch, that mDNSResponder had ...
1
vote
1answer
39 views

Screen Share connects to wrong device

I have a Mac mini (Mac mini 2) set up in New York which I can connect to just fine via the Share Screen... button on Finder. However, when I try to connect to my other Mac mini in Miami (Mac mini 3), ...
1
vote
1answer
137 views

Yosemite DNS “cannot resolve host”

I am not able to get my MacBook Air to resolve any hosts. I've tried reinstalling Yosemite from recovery, unloading and reloading the mDNSResponder to no avail. An nslookup of www.google.com using 8....
14
votes
2answers
11k 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 ...
5
votes
1answer
789 views

How to limit any devices to appear on any Bonjour/Airplay capable devices close by?

This is an issue at my school district where I work as a network admin. Right now, I could see around the list of at least 15-20 Apple TVs that is located across school buildings when I press on ...
13
votes
3answers
4k views

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 ...
1
vote
1answer
585 views

mDNSResponder missing

I am on Yosemite since today and am trying to connect to network printers, but System Preferences doesn't show any. The printers use Bonjour and I read that the associated process is mDNSresponder. ...
16
votes
1answer
22k views

Yosemite Cannot Resolve Domain Names

So I know Apple removed mDNSResponder in Yosemite, but it appears that a bunch of apps are still trying to interact with it and failing Oct 20 10:57:00 Nicks-MacBook-Pro.local configd[25]: ...
12
votes
4answers
30k views

Discoveryd Alternative to Replace mDNSResponder Argument?

This is a direct follow-on to this question. Before Yosemite, I'd add the "-AlwaysAppendSearchDomains" argument to the mDNSResponder plist file so that all local resolver lookups added the search ...
0
votes
1answer
2k views

Use “options ndots:2” in global DNS resolver

Until yesterday, I regularly ssh'd into my servers that have names like "server.prod.example.com" as "server.prod" and it worked fine. (Actually, this required getting mDNSResponder to start with the ...
2
votes
2answers
5k views

Local hostname changes every few seconds when NOT connected to a network

When ever I wake my laptop, but before I am connected to a network, I receive messages similar to the following: This computer's local hostname "sojourner-896.local" is already in use on this ...
5
votes
1answer
4k views

Alternative to AlwaysAppendSearchDomains on Yosemite? [duplicate]

Since Lion, I have used the AlwaysAppendSearchDomains trick on mDNSresponder to resolve names with dots in search domains. In yosemite this doesn't work any more. In fact, mDNSresponder doesn't seem ...
2
votes
1answer
3k views

Windows: Why does Bonjour's mdnsNSP.dll inject itself into every process?

In Windows, why does Bonjour's mdnsNSP.dll inject itself into every process?
3
votes
1answer
2k views

bonjour/mdns repeater?

I would like to put my wifi network and my wired network (in a small office) on separate vlans to cut down on broadcasts/multicasts on the wifi. (right now it's all in one big vlan, and it's getting ...
1
vote
0answers
2k views

system.log is flooded with mDNSResponder messages: “queryrecord_result_callback:…”

My Mac is constantly writing the same following error message to system.log: ... Feb 18 15:24:21 MBA mDNSResponder[51]: queryrecord_result_callback: mDNS_Lock: Locking failure! mDNS_busy (1) != ...
21
votes
3answers
88k views

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.
11
votes
2answers
8k views

What is the preferred method of command line domain name lookup (DNS)?

What command line command do I use to lookup a domain address? When looking at the man pages for nslookup and dig I can see a section saying that these utilities do not use the Mac OS methods of ...
0
votes
1answer
583 views

how to track the pid of a process using mDNSResponder?

I'm searching the right way to identify which pid/process ask to mDNSResponder to resolve dns query. In other terms I want do identify which process do which dns query through mDNSResponder and in ...
2
votes
0answers
974 views

ping and browsers do not seem to use local DNS server? (or: mDNSResponder looses local dns server?)

(1) Stack Info DNS Server CentOS 5.6 64bit running dnsmasq 2.45 on IP 10.9.8.2. Serving as DNS-Only Server using it's local /etc/hosts. /etc/resolv.conf on this machine has Router Draytek Vigor ...
24
votes
3answers
19k views

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 ...
8
votes
5answers
4k views

Is it possible to use Back To My Mac DNS or routing information from the command line?

I often want to ssh to a Mac and would love to make use of of iCloud to look up IP/DNS routing information. Can this be done without signing up for a dynamic DNS service and configuring it on each Mac ...