howtogeek — 2013-07-10T12:36:02-04:00 — #1
Originally published at: http://www.howtogeek.com/167190/how-and-why-to-assign-the-.local-domain-to-your-raspberry-pi/
If you’re tired of looking up the IP addresses of devices you frequently access via remote login, SSH, and other means on your home network, you can save yourself a lot of time by assigning an easy to remember .local address to the device. Read on as we demonstrate by assigning an easy to remember name to our Raspberry Pi.
jacobm001 — 2013-07-10T13:47:40-04:00 — #2
I don't really understand what this would be used for. Why can't you just look up the device by it's hostname? Anything on my home server is accessed by 'chocolate/'. What would using chocolate.local do?
kid1000002000 — 2013-07-11T03:27:28-04:00 — #3
It depends on the protocol you're using to access 'chocolate/'. mDNS makes it easy to not have to run DNSMasq at the router.
aviad_raviv1 — 2013-07-11T12:11:55-04:00 — #4
I have actually worked in 2 places that had .local as thier internal domain name...
sparked the creation of
kjs356 — 2013-07-20T20:03:54-04:00 — #5
I tried this, but now i can even ssh onto my rpi at all... using raspberrypi.local or the static ip it had.
ajabberwok — 2013-09-21T07:08:47-04:00 — #6
After following these instructions, it doesn't work for windows for some reason.
When I open a web browser and type in "dana.local" or "http://dana.local" it doesn't bring me to my PI's webserver. However it works fine from my Linux and OS X machines, but not my Windows 7 machines.
I will say that ping seems to work:
Pinging dana.local [af80::250:b6bb:fe5b:be80%13] with 32 bytes of data:
Reply from af80::250:b6bb:fe5b:be80%13: time=2ms