Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd April 2007, 11:24
DVS DVS is offline
Member
 
Join Date: May 2006
Posts: 34
Thanks: 0
Thanked 4 Times in 2 Posts
Default 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
out there.

(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!
__________________
Yes the cabel IS plugged in this time...
Reply With Quote
Sponsored Links
  #2  
Old 24th April 2007, 11:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,041
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th April 2007, 08:19
DVS DVS is offline
Member
 
Join Date: May 2006
Posts: 34
Thanks: 0
Thanked 4 Times in 2 Posts
Default :-/

So out of the box - No.

Now if only I had some skills....
__________________
Yes the cabel IS plugged in this time...
Reply With Quote
  #4  
Old 30th June 2010, 09:43
silverdomains silverdomains is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

working on something like that . will let you know when i have something out
Reply With Quote
  #5  
Old 4th September 2010, 10:39
mjcrank mjcrank is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default need ddns / mydns / mydnsconfig solution

Quote:
Originally Posted by till View Post
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.
Can anyone point me to a working script, or a definition of the modifications required for
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,
mjc
Reply With Quote
  #6  
Old 16th September 2010, 19:42
miljan miljan is offline
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Cheers,
Miljan
Reply With Quote
  #7  
Old 25th September 2010, 09:15
mjcrank mjcrank is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default dyndns.php tweaks

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.

mjcrank
Attached Files
File Type: txt dyndns.php.txt (3.5 KB, 312 views)
Reply With Quote
  #8  
Old 21st October 2010, 12:23
jjohnssmith jjohnssmith is offline
Junior Member
 
Join Date: Oct 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Make sure you have "allow-axfr = yes" and "listen = 127.0.0.1" or "listen = *" in /etc/mydns.conf.
dig @localhost -t axfr
__________________
Stimelex
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 10:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.