LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-03-2006, 04:24 PM   #1
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Rep: Reputation: 30
Open Source dyndns/no-ip.org replacement?


Hi,

I finally got control of my domain name. I control the primary DNS server which pushes the updates to the other DNS servers.

I still have machines that have dynamic IP addresses. What is the best solution to update A records in BIND9 dynamically?

Presently I thought of using mySQL with a custom PHP script to regenerate the zone file and restart bind9, I was hoping there was a better way.

Thoughts?

David
 
Old 05-04-2006, 09:04 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
DHCP and BIND are all you need for dynamic DNS. See this example:

http://www.mattfoster.clara.co.uk/ddns.htm
 
Old 05-04-2006, 09:58 AM   #3
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by macemoneta
DHCP and BIND are all you need for dynamic DNS. See this example:

http://www.mattfoster.clara.co.uk/ddns.htm

Thanks, I have actually used that setup before. What I was looking for was dynamic IP addresses out there on the net. I would like to have a subdomain for each of my families computers. For example my dad would be dad.mydomain.tlc etc...

Sorry I wasn't clear on the first message.

David
 
Old 05-04-2006, 10:47 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
There are a few packages that do this, but they are basically the same as you are suggesting. Search Freshmeat and Sourceforge.

Some thoughts if you are planning to implement your own:

- Unless you plan to manage many dynamic IPs (i.e., establishing a public dynamic IP service), the database is unneccessary; a few flat files are easier and faster.

- Rather than restarting bind, consider using the rndc command - rndc reload zone; rndc retransfer zone.

- Since you will be performing the update over the public net, consider encrypting the requests using exchanged gpg keys. This also authenticates the source better than userid/passwords and allows for an auto-update script while remaining secure (not storing/transmitting passwords).

By keeping it simple, you can probably implement this faster and more securely for your specific application than any off the shelf package.
 
  


Reply


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
LXer: Why you shouldn't wait for the perfect open source Windows-apps replacement LXer Syndicated Linux News 0 04-22-2006 08:21 PM
LinuxQuestions.org is sponsoring the Open Source Conference jeremy LQ Suggestions & Feedback 6 05-15-2004 12:47 AM
Open Source Windows replacement glj Linux - General 4 09-10-2003 02:03 PM
Chandler: A possible Open Source Replacement for Outlook rivang Linux - General 3 10-24-2002 10:04 AM
open-source linuxquestions.org ashishwave LQ Suggestions & Feedback 1 05-20-2002 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:04 AM.

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