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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-03-2006, 04:24 PM
|
#1
|
Member
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330
Rep:
|
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
|
|
|
05-04-2006, 09:04 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
DHCP and BIND are all you need for dynamic DNS. See this example:
http://www.mattfoster.clara.co.uk/ddns.htm
|
|
|
05-04-2006, 09:58 AM
|
#3
|
Member
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330
Original Poster
Rep:
|
Quote:
Originally Posted by macemoneta
|
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
|
|
|
05-04-2006, 10:47 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
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.
|
|
|
All times are GMT -5. The time now is 10:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|