Forum Moderators: phranque

Message Too Old, No Replies

Dynamic DNS server configuration

         

decola

12:04 am on Feb 20, 2006 (gmt 0)

10+ Year Member



Hi all!

I own a webportal. When a new user joins my website, it creates a third level domain ( new_user_nick.mydomain.com ,for example).

I use a text file in which the web portal (written in PHP) writes new usernames.
Every three minutes the system:
* stops the named daemon
* reads the text file
* add new entries in the configuration file of mydomain.com zone
* starts the named daemon

According to you, is this a good solution? Are there some mistakes or problems? Do you know a better solution?

krakrazor

12:12 am on Feb 20, 2006 (gmt 0)

10+ Year Member



Depending on the amount of new users you get, you may want to consider different routes. If you have more than 1 user signing up every 3 minutes, your current system is the most efficient.

Otherwise, you should add a clause in the registration success/confirm page that actually looks up all your registered users and creates a new configuration file. This way new configuration files are only made when new users are registered, not every 3 minutes.