0

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?

1

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.

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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