Internet of things – a problem and solution with dynamic DNS
Posted: January 8th, 2015 | Author: admin | Filed under: Software, Tutorial, Wi-Fi | Comments Off on Internet of things – a problem and solution with dynamic DNSI just found out that Netgear routers support Dynamic DNS. Not bad for a $29 router, like my WNR 1000.
Let me explain what that is cool:
If you want to access an ‘internet thing’ in your house, you need either:
- A proxy service. OR you need to set it up yourself, with
- Dynamic DNS + Port Forwarding + IP Reservation. ALL available on your router.
Proxy services offer a lot of features and convenience, but will always control your data and you will always be beholden a 3rd party. So I’m not so keen on those options. It is a tiny,tiny bit more work to set up, but once you have it running, you can effectively make each little ‘internet thing’ accessible (like … 20 minutes work, or less).
Setting it all up.
The WildFire is perfect for this application. So let’s say you have a WildFire running in your home controlling something, and want to access it from your cell phone. Log into your home router and do three things:
- Reserve the IP address of the device. That is, grab the MAC address, and tell your router “whenever this MAC address connects, give it this particular IP address”. Your router will have a ‘IP reservation’ screen, probably under Advanced > LAN settings or similar,
- Forward a port on your router. So when a person comes from the outside, and accesses a particular port (like port 80), send them to a particular IP address – the one you just set up. Now you can contact your WildFire from anywhere in the world, by IP address.
- Use Dynamic DNS to give your WildFire a nice name, instead of an IP address. With Netgear you can sign up directly inside the Admin console. This will give you an address like myhouse.mynetgear.com. You have limited choices in the ‘mynetgear’ part, but that is fine.
Voila! You can access your device from anywhere, using your cell phone, by entering in the URL Not bad for 20 minutes work.
–Dirk