Can MyDNS+Config be used as a DynDNS server?
The title sais it all.
Can MyDNS and MyDNS Config be used to play
the role of a Dynamic DNS server like for instance
DynDNS.org and all the other Dynamic DNS providers
(I know - why go thru the trouble of setting this up,
why don't I just use DynDNS.org or any of the others -
is the question you want to ask. It is simple, we get
"local" ADSL where I come from and when you have
a "local" account, you don't get access to any of
the Dynamic DNS hosts. I have the servers, I have
the IP's, so why the h3ll not is how I see it.)
A "yes" or "no" and perhaps a URL if needed will do fine.
Thanx a mill!
Generally it can be used as Dynamic DNS-Server. But you will have to write some scripts that update the IP addresses of your DNS-Records dynamically in the database.
So out of the box - No.
Now if only I had some skills.... :(
working on something like that :). will let you know when i have something out :)
need ddns / mydns / mydnsconfig solution
1) an address update, and
2) a new machine addition?
Though I've put some time into this, I'm approaching the deadline and I'm not convinced that I'm updating the tables correctly. Here's a little background:
I use dns applliances within each of several cloned test systems and I use MyDNSConfig to initialize them. There are some dynamic addresses I have to deal with and I need a ddns update solution.
I found 'dyndns.php' (the server process) and 'dyndns.sh" (the client) at http://www.miljan.org/wiki/index.php...DNS_with_MyDNS
This seems promising and with a few changes, I've been able to see it update both 'rr' and 'soa' but it does not update all fields and it does not seem to handle the PTR record.
But now it turns out that I'm having a bit of trouble resolving names added with the gui and using 'dig' against the mydns server as well. Because this project is one of several, I haven't been able to stay on it as I'd like and I may have to start with a fresh install.
So time is running out, and I'd really appreciate pointers, an example script, some sql, an API....
Thanks for any help,
Hi mjcrank, I am glad you found my script useful. :)
Could you please tell me what modifications did you make to the script and to perform what exactly? It should work out of the box so no changes should be needed (except for the initial configuration of course). Also, which fields would you like to see updated that are not being updated already?
As for the PTR, if you want I can update the script to perform PTR update as well. Just let me know.
Miljan, thanks for the script and the reply.
I made just a couple of changes for my use. (the file is attached) Here are my notes:
# ereg() was deprecated, replaced with preg_match()
# debug 'echo's added
# insert fields to allow deletion from the gui
Regarding the reverse records, I added a record from the GUI (mydnsconfig) and that created the new reverse zone. After that, my next dynamic entry showed up with a PTR record so, with a slight change in deployment, I might get away without asking for changes. It's late and I didn't verify this by starting from scratch.
Again, thanks for the script and if you make any changes, I'd like to know.
Make sure you have "allow-axfr = yes" and "listen = 127.0.0.1" or "listen = *" in /etc/mydns.conf.
dig @localhost -t axfr
|All times are GMT +2. The time now is 13:46.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.