August 7th, 2000, 12:44 PM
hello! i am back with a new question!
i am working with a dynamic dns script.
in this script i want word parsing..
like in the name records it is
blabla.xermin.com. IN A 18.104.22.168
on the page i want like
blabla.xermin.com -> 22.214.171.124
and the users may edit blabla.xermin.com to bladibladi.xermin.com (IF bladibladi.xermin.com is avilable, else exit.
and when the new hostname is maked
i want to send 'ndc reload' to the shell..
is anyone able to help me?
August 7th, 2000, 04:49 PM
You may get some major problems with this as I'm guessing PHP is running as Nobody or similar user with negligable rights, for obvious reasons.
I suggest that you cron a separate script that does the NDC reload - say - twice a day. Run this one as root