Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a DD-WRT router configured with DNSmasq. The config is

local=/myhome.local/
expand-hosts
addn-hosts=/jffs/hosts.dnsmasq

This way I can resolve network hosts (e.g. ping macbookair), but other hosts does not work. The following hosts work:

  • The router itself
  • My two macs

while the following do not work

  • my AppleTV
  • my Time Capsule
  • iPhones/iPads
  • my RaspberryPI (raspbian)

All hosts display their hostnames under the LAN status page on DD-WRT, so I assume the macs and the router do something special to set things up. Another difference is that the PI does not seem to pick up my local domain name (myhome.local).

What am I missing here?

share|improve this question
    
you got everything up to date on the router & DNSmasq?superuser.com/questions/50372/snow-leopard-doesnt-like-dnsmasq –  Logman Sep 16 '13 at 22:07
1  
why won't you show your /jffs/hosts.dnsmasq as well? –  Alex P. Sep 16 '13 at 23:03
    
/jffs/hosts.dnsmasq only contains a localhost entry pointing to 127.0.0.1 –  Krumelur Sep 17 '13 at 8:57

1 Answer 1

up vote 1 down vote accepted

The TLD .local is being used and abused by OSX, and other MDNS services. Trying to use .local on a devices that also run Bonjour(OSX)/Avahi(Linux) is going to be problematic.

share|improve this answer
    
I will try to change my local domain into something else and see if it helps. –  Krumelur Sep 17 '13 at 8:59
    
I finally got around to fixing this. It turned out the hosts worked if I appended a period '.'. Changing DNS suffix so as not to conflict with mDNS will probably solve the problem, but for now I settled with just adding a .ssh/config host alias for the pi (i.e. to 'pi.') (which is the only non-mac I need to access ATM). Thanks! –  Krumelur Sep 28 '13 at 14:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.