SDMmag logo
search
Go to Ask SDM AI
cart
facebook twitter linkedin youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
SDMmag logo
  • NEWS
  • PRODUCTS
  • TOPICS
    • Access Control & Identification
    • Integration & Network Solutions
    • Life Safety & Fire Alarm
    • Monitoring
    • Smart Home
    • Trends & Industry Issues
    • Video Solutions
  • COLUMNS
    • Digital Shuffle
    • Editor's Angle
    • Insider News & Business
    • Integration Spotlight
    • Marketing Madmen
    • Security & the Law
    • Security Comings & Goings
    • Security Networkings
    • Technology @ Work
    • Technology Solutions & Skills
    • SIA Waypoints
    • Cybersecurity Chronicle
  • EXCLUSIVES
    • Annual Industry Forecast
    • Dealer of the Year
    • Project of the Year
    • SDM 100
    • State of the Market Series
    • Systems Integrator of the Year
    • Top Systems Integrator Report
    • TMA Excellence Awards
  • BLOG
  • MEDIA
    • Videos
    • Podcasts
    • Polls
    • White Papers
  • EVENTS
    • Industry Calendar
    • Webinars
  • MORE
    • Classified Ads
    • Newsletters
    • SDM Store
    • State of Security eBook
    • Sponsored Insights
  • BUYERS GUIDE
    • Buyers Guide
    • Take a Tour
  • EMAG
    • eMagazine
    • Archive Issues
    • Monitoring Today
    • Advertise
  • SIGN UP!
Security NetWorkings

IP Device Programming

DDNS for Fun & Profit

By David Engebretson
September 19, 2011
After a recent trip to southwestern Michigan I accidentally discovered three important facts: First, the lake my house is on actually has no bottom, which I found out when I slipped off the wet dock and sunk up to my wallet in oozing muck. The second discovery was that carrying my trusty old Nokia cell phone in my cargo pocket wasn’t a great idea, as the water and muck killed the device. And third, after obtaining a new phone from my provider, I found out that I didn’t like the new phone and I am still struggling with its features and functionality.

In general, people don’t like things to change, and they’d like them to remain the same. When we propose to provide IP-enabled security devices such as cameras to our clients, we most likely don’t want to force the customer to change their ISP service.

Most small businesses and residential clients will purchase the least expensive “broadband” connection they can get from their telephone or cable company. These low-cost Internet hookups almost always receive their public IP address from the ISP’s Dynamic Host Control Protocol (DHCP) server. This means that the public IP address at that location can change at any time, whether because of a momentary power outage or just the quirks of the ISP. While the customer can probably upgrade their Internet connection to provide static public IP addresses, this is an expensive option that might cause the client to decline the installation of the IP security devices. Any change that is going to cost the client in time or cost is probably a deal-breaker.

DHCP public IP addressing causes a major problem if the security contractor has sold the customer on the concept that the client can access/view/control IP-enabled security devices from over the Internet. If the public IP address has changed, where did it go?

If there is a person available at the target site that has Internet access through the same LAN that the security devices are connected to, then it is a simple matter to obtain the current public IP address. All the person has to do is access a web browser like Firefox or Explorer and type http://www.whatismyip.com, and their current public IP address will be displayed.

Of course this doesn’t solve our problem when Mr. Murphy arrives and changes the dynamic public IP on Saturday morning, when no one is available at the target location to manually retrieve the new IP address. So do we force our clients into changing their Internet service to provide a static public IP address? The answer is “Noooo”!

Dynamic Name Service (DDNS) is an Internet function that’s been around for years and provides a fairly simple way to track a changing public IP address at a client’s location.

DDNS works just like your cell phone — provided you didn’t dip it in the muck of the lake. Your cell phone lists contact names and phone numbers so that you don’t have to remember a numeric telephone number, you can just push the right button(s) to call your family, friends, office, etc. DDNS is an offshoot of Domain Name Service (DNS) which is basically an Internet address book that relates URL (Universal Resource Locator) names such as www.google.com to their true numeric public IP address. What makes DDNS service unique is that the user can select his or her own URL name, and have their dynamic IP addresses recorded on the DDNS server so that when a user inputs the URL, the communications are forwarded to the correct public IP address.

Looking for quick answers on security topics? Try Ask SDM, our new smart AI search tool. Ask SDM →

I’ve used the DDNS service from www.dyndns.org for more than eight years, and not only is it free but it works great. Instead of having to remember a string of numbers all I have to type into a web browser to get to the cameras and devices on my LAN in Chicago is http://davee.shacknet.nu, along with the appropriate software port number of the device I’m shooting for at that moment and I’m immediately hooked up to my NVR, individual cameras, or my router at home.

All a new user has to do is go to the dyndns.org website, register as a user, obtain a user name and password, and input a unique name for a particular public IP address.

Once dyndns.org has informed you via e-mail that the address you input is unique in their system, you can then input the current public IP address of the client’s location, run a test, and you’re good to go — at least until the public IP address of the client’s location changes, which is when the programming tricks come into play that will keep the DDNS service updated to the changed IP address.

The DDNS service cannot know if a public IP address has changed by itself; there must be a device or software on the same public IP connection as the target device(s) that will detect that the public IP has changed, and will automatically update the DDNS service with the new address. This device could be the router, or possibly the camera/encoder/NVR itself, or a PC on the network. Many vendors provide their own DDNS service that can be initiated within an IP camera, DVR, or what have you. But you need to be very careful if you try to use the DDNS service that is built into a security device.

What is critical here for you to understand is that the device that does the updating must see the true public IP address, not just the default gateway to the next network.

If you ask an IP-enabled security camera installed on a typical LAN what the public IP address is for that Internet connection, the camera would reply with the default gateway address — for example, 192.168.1.1. The camera thinks that is where the Internet is because that is the path it takes to get out of the LAN and onto the Internet. It’s like if you ask me how to get to New York from downtown Chicago: I would tell you to drive southwest on the Stevenson Expressway. But, you say, New York is east of Chicago, so what are you saying, Dave? I said you drive southwest on the Stevenson to get to Midway Airport and fly to LaGuardia. That’s my path to New York.

It’s the same with IP cameras, encoders, and other security devices. Let’s look at the diagram here to see how the IP addresses are set in a typical home/small commercial LAN.

As you see here, the router does not see the true public IP address; instead its path to the Internet goes through the local address of the DSL adapter, 172.16.1.34, and only the DSL adapter sees the true public IP address. While the router can be programmed to automatically update dyndns.org, it won’t work properly because it doesn’t see the real public IP.

The work-around for this very common issue is to use an “updater” software program that is available for free from dyndns.org. Once downloaded it should be installed onto one of the client’s PCs that is turned on and used daily. When properly programmed with the correct URL, user name and password, this software will continually check the public IP address and if it changes it will automatically update dyndns.org and everything is a go. Functionally the updater software is performing the www.whatismyip.com trick every few minutes. I have this program on my desktop PC at home, and it works pretty much perfectly.

Save yourself and your clients from having to remember a numeric public IP address and provide them with automatic updating when their DHCP ISP Internet address changes. You need to try this service yourself from your home or office and get comfortable with it. Try it and you’ll be a believer.

KEYWORDS: default gateway address dyndnsorg IP address changes

Share This Story

Looking for a reprint of this article?
From high-res PDFs to custom plaques, order your copy today!

David Engebretson is the president of Slayton Solutions Ltd., Chicago, providing online and instructor-led training on fiber optics and networking electronic security systems. His latest book, Technician’s Guide to Physical Security Networking: Enterprise Solutions is a fully illustrated manual describing high-end IP physical security applications. Visit www.slaytonsolutionsltd.com for ordering information.
 

Recommended Content

JOIN TODAY
to unlock your recommendations.

Already have an account? Sign In

  • SDM 100

    SDM 100: Top 100 Security Dealers of 2026

    The top 100 security dealers navigated a complex...
    Exclusives
    By: Karyn Hodgson
  • Security camera

    State of the Market: Video Surveillance

    As video surveillance shifts from siloed systems to...
    Video Solutions
    By: Brianna Wilson
  • 2026 Industry Forecast

    SDM 2026 INDUSTRY FORECAST

    Rapid technology advances meet shifting economic...
    Annual Industry Forecast
    By: Karyn Hodgson
Manage My Account
  • SDM Newsletters
  • Online Registration
  • eMagazine Subscriptions
  • Subscription Customer Service
  • Manage My Preferences

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the SDM audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of SDM or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • Doctor examining child patient with mother present in medical clinic
    Sponsored byHID

    The Human Side of Hospital Security: How Modern Visitor Management Protects People First

Popular Stories

Video surveillance camera

Why Video Health Monitoring Is a ‘No Brainer’

ESA Board of Directors Q2 26 Elections

Electronic Security Association Announces 2026 Board of Directors Election Results

TMA & SDM Logos

Becklar, Elite & Puget Win 2026 TMA/SDM Monitoring Center Excellence Awards

SDM Dealer of the Year 2026 Promotion

Poll

What’s the most promising trend in the industry?

What’s the most promising trend in the industry?
View Results Poll Archive

Products

Physical Security Assessment Handbook An Insider’s Guide to Securing a Business

Physical Security Assessment Handbook An Insider’s Guide to Securing a Business

See More Products
SDM 100 2026 Rankings

Related Articles

  • Make any Card Reader an IP Device & Eliminate Control Panels

    See More
  • IP Network Testing

    See More
  • Axis C1004E Speaker image  91718

    IP Comes to Intercom & Speaker Systems

    See More

Related Products

See More Products
  • digital.jpg

    Digital Video Surveillance and Security 2nd Edition

  • 150 things.jpg

    Physical Security: 150 Things You Should Know 2nd Edition

  • integrated.jpg

    Integrated Security Systems Design, 2nd Edition - A Complete Reference for Building Enterprise-Wide Digital Security Systems

See More Products
×

Be in the forefront of security intelligence when you receive SDM.

Join over 10,000+ professionals when you subscribe today.

SIGN UP TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Directories
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletter
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Reprints
    • Market Research
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • YouTube
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2026. All Rights Reserved BNP Media, Inc. and BNP Media II, LLC.

Design, CMS, Hosting & Web Development :: ePublishing