Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-15-2009, 05:44 PM   #1
Senior Member
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,708
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
HOWTO roll-my-own "dynamic dns" for small group intra-net

I have my own hosted web site and server.
My organization has a half-dozen folks and a couple of sites.
QUESTION: Does anyone know about a roll-your-own "package"
for doing dynamic DNS?

I'll settle for being able to securely connect to our own workstations without solving the connections from any node on the public internet.
Connections from the public internet can happen {much} later if ever.

I know there are commercial services that do this. On the surface
it seems pretty straight forward to accomplish the first 80%.
  • workstation gets a dynamic IP address
  • workstation connects to web address and deposits the details needed to permit someone to find it and make connections.
  • web site provides details so the workstation can find others
  • YES, there are lots of security issues
The remaining 20% seems to be tight security, automatic refresh, missing-man, and such.

~~~ 0;-Dan
Old 10-15-2009, 08:53 PM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,817

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
From your description, this is a private/closed LAN with a small num of systems. What's wrong with static DNS? You can even use the DHCP server option to handout static IPs based on MAC addresses if you want to run a DNS server.
Old 10-15-2009, 09:37 PM   #3
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
dnsmasq can serve your purpose.
Old 11-09-2010, 03:57 AM   #4
Registered: Jun 2004
Location: Zagreb, Croatia
Distribution: Debian Lenny
Posts: 49

Rep: Reputation: 15
DynDNS with PowerDNS

There is now another solution for DynDNS using PowerDNS and MySQL as a backend. It's just a small hack but it will work for personal usage. You can get the source code for the setup here: DynDNS with PowerDNS.
Old 11-09-2010, 03:51 PM   #5
Registered: Mar 2008
Posts: 20,320

Rep: Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214
Actually what you may wish to have is your router with an external IP. A program runs that tells the name server of each ip change. Then the name server changes it's ip address to match. I used to use and it worked good. Free up to 18 clients.

If you have 20 dynamic ip's you may be wasting you ISP money.

As for secure connection you secure it a number of ways. Depends on how you want to authenticate it as to the method.

Might look at something like's free product or some of the add on's. There are other linux based firewalls too.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
Dynamic DNS reverse map not added "timed out" TheMystery Linux - Software 1 10-31-2007 04:19 PM
"list dynamic dependency" of an executable using command other than "ldd" Amrita@3086 Solaris / OpenSolaris 3 04-04-2007 05:56 AM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 09:38 AM
Default DNS "" mandrake 9.1 the_g Linux - Networking 3 06-02-2003 09:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration