[opensuse] 12.3 DynDNS Software
Hi all, I am migrating my webserver from ubuntu to opensuse. On Ubuntu I used Inadyn which worked very well but had to be configured through the command line. It seems more sensible to do this with YaST if possible. Does anyone know of YaST-compatible DynDNS client for OpenSUSE that I can use for freedns.afraid.org and dyn.org? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
Hi all,
I am migrating my webserver from ubuntu to opensuse. On Ubuntu I used Inadyn which worked very well but had to be configured through the command line. It seems more sensible to do this with YaST if possible.
Does anyone know of YaST-compatible DynDNS client for OpenSUSE that I can use for freedns.afraid.org and dyn.org?
Is your host name consistent? My hostname is based on firewall and cable modem MAC addresses and never changes, unless I change hardware. Because of this I can use an alias to convert my domain address to the long MAC based host name. This way, I don't have to use something like DynDNS. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I need DynDNS as my internet connection has a dynamic IP, hence why I have used freedns.afraid.org as they offer use of their DNS servers. This way I set the IPs of the FreeDNS servers in the domain name provider's settings, then I need a DynDNS client to send my IP to FreeDNS, say, every few minutes or so. -----Original Message----- From: James Knott Sent: Thursday, August 22, 2013 8:13 PM To: SLE Subject: Re: [opensuse] 12.3 DynDNS Software Paul Groves wrote:
Hi all,
I am migrating my webserver from ubuntu to opensuse. On Ubuntu I used Inadyn which worked very well but had to be configured through the command line. It seems more sensible to do this with YaST if possible.
Does anyone know of YaST-compatible DynDNS client for OpenSUSE that I can use for freedns.afraid.org and dyn.org?
Is your host name consistent? My hostname is based on firewall and cable modem MAC addresses and never changes, unless I change hardware. Because of this I can use an alias to convert my domain address to the long MAC based host name. This way, I don't have to use something like DynDNS. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
I need DynDNS as my internet connection has a dynamic IP, hence why I have used freedns.afraid.org as they offer use of their DNS servers.
My IP address is DHCP too, but the host name assigned by the ISP is consistent. This is what allows me to use a DNS alias. No matter what the current IP address, my name is mapped to that MAC based host name. If your host name also changes then this won't work. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----Original Message----- From: James Knott Sent: Thursday, August 22, 2013 8:20 PM To: SLE Subject: Re: [opensuse] 12.3 DynDNS Software Paul Groves wrote:
I need DynDNS as my internet connection has a dynamic IP, hence why I have used freedns.afraid.org as they offer use of their DNS servers.
My IP address is DHCP too, but the host name assigned by the ISP is consistent. This is what allows me to use a DNS alias. No matter what the current IP address, my name is mapped to that MAC based host name. If your host name also changes then this won't work. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org I am with PlusNet but I have never received any hostname information. I might email then and ask because as you say, I should be able to specify a hostname in FreeDNS or DynDNS instead of using a dynamic client. Never crossed my mind :D -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu 22 Aug 2013 08:18:13 PM CDT, Paul Groves wrote:
I need DynDNS as my internet connection has a dynamic IP, hence why I have used freedns.afraid.org as they offer use of their DNS servers.
This way I set the IPs of the FreeDNS servers in the domain name provider's settings, then I need a DynDNS client to send my IP to FreeDNS, say, every few minutes or so.
-----Original Message----- From: James Knott Sent: Thursday, August 22, 2013 8:13 PM To: SLE Subject: Re: [opensuse] 12.3 DynDNS Software
Paul Groves wrote:
Hi all,
I am migrating my webserver from ubuntu to opensuse. On Ubuntu I used Inadyn which worked very well but had to be configured through the command line. It seems more sensible to do this with YaST if possible.
Does anyone know of YaST-compatible DynDNS client for OpenSUSE that I can use for freedns.afraid.org and dyn.org?
Is your host name consistent? My hostname is based on firewall and cable modem MAC addresses and never changes, unless I change hardware. Because of this I can use an alias to convert my domain address to the long MAC based host name. This way, I don't have to use something like DynDNS.
Hi My router has the DynDNS client built in... just had to add my hostname turn it on and done..... Have you checked your router for this feature? -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 12.3 (x86_64) Kernel 3.7.10-1.16-desktop up 19:01, 3 users, load average: 0.16, 0.22, 0.19 CPU AMD E2-1800@1.70GHz | GPU Radeon HD 7340 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
I need DynDNS as my internet connection has a dynamic IP, hence why I have used freedns.afraid.org as they offer use of their DNS servers.
This way I set the IPs of the FreeDNS servers in the domain name provider's settings, then I need a DynDNS client to send my IP to FreeDNS, say, every few minutes or so.
Hi Paul wget or curl ought to satisfy your requirement. -- Per Jessen, Zürich (18.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
[22.08.2013 20:52] [Paul Groves]:
Hi all,
I am migrating my webserver from ubuntu to opensuse. On Ubuntu I used Inadyn which worked very well but had to be configured through the command line. It seems more sensible to do this with YaST if possible.
Does anyone know of YaST-compatible DynDNS client for OpenSUSE that I can use for freedns.afraid.org and dyn.org?
I do this with the "ddclient" software. Install it via YaST (or command line: "zypper in ddclient"), and edit the config file /etc/ddclient.conf as root. There are a bazillion lines in it, but only a few need commenting out or writing new. My file contains besides all the commented lines: daemon=3600 # check every 300 seconds syslog=no # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with # ssl-library # new IP is added as argument. use=web, web=checkip.dyndns.org/, web-skip='IP Address' server=members.dyndns.org, \ protocol=dyndns2, \ login=mydyndnsname, \ password=mydyndnspw \ mydyndnshostname server=freedns.afraid.org, \ protocol=freedns, \ login=myfreednsname, \ password=myfreednspw \ myfreednshostname Watch the fact that there is a comma at the end of the lines starting with server=, protocol= and login=, but *no* *comma* at the end of the password= line. Putting a comma here will cause an error :-\ I know this very well... HTH, Werner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, I have added the following to the very bottom of /etc/ddclient.conf and have not modified the file in any other way (with myhost being the hostnames, username being the usernames and password being the passwords). The ddclient services starts but my IPs do not get updated. I have left it for over an hour, rebooted the service, left it for over an hour, rebooted the server and left it another hour with no ips getting updated at all. I have tried reinstalling ddclient and only setting up one host to update but it just does not do it at all. I log on to dyndns or freedns and the ip addresses are still different to my internet IP. I installed ddclient using YaST but that shouldn't really matter. Am I doing something wrong? daemon=3600 syslog=no mail=root mail-failure=root pid=/var/run/ddclient.pid ssl=yes use=web, web=checkip.dyndns.org/, web-skip='IP Address' server=members.dyndns.org, \ protocol=dyndns2, \ login=username, \ password=password \ myhost.dyndns-free.com server=freedns.afraid.org, \ protocol=freedns, \ login=username, \ password=password \ www.myhost.co.uk -----Original Message----- From: Werner Flamme Sent: Friday, August 23, 2013 6:22 PM To: opensuse@opensuse.org Subject: Re: [opensuse] 12.3 DynDNS Software [22.08.2013 20:52] [Paul Groves]:
Hi all,
I am migrating my webserver from ubuntu to opensuse. On Ubuntu I used Inadyn which worked very well but had to be configured through the command line. It seems more sensible to do this with YaST if possible.
Does anyone know of YaST-compatible DynDNS client for OpenSUSE that I can use for freedns.afraid.org and dyn.org?
I do this with the "ddclient" software. Install it via YaST (or command line: "zypper in ddclient"), and edit the config file /etc/ddclient.conf as root. There are a bazillion lines in it, but only a few need commenting out or writing new. My file contains besides all the commented lines: daemon=3600 # check every 300 seconds syslog=no # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with # ssl-library # new IP is added as argument. use=web, web=checkip.dyndns.org/, web-skip='IP Address' server=members.dyndns.org, \ protocol=dyndns2, \ login=mydyndnsname, \ password=mydyndnspw \ mydyndnshostname server=freedns.afraid.org, \ protocol=freedns, \ login=myfreednsname, \ password=myfreednspw \ myfreednshostname Watch the fact that there is a comma at the end of the lines starting with server=, protocol= and login=, but *no* *comma* at the end of the password= line. Putting a comma here will cause an error :-\ I know this very well... HTH, Werner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 8/23/2013 11:57 AM, Paul Groves wrote:
Hi,
I have added the following to the very bottom of /etc/ddclient.conf and have not modified the file in any other way (with myhost being the hostnames, username being the usernames and password being the passwords).
The ddclient services starts but my IPs do not get updated. I have left it for over an hour, rebooted the service, left it for over an hour, rebooted the server and left it another hour with no ips getting updated at all. I have tried reinstalling ddclient and only setting up one host to update but it just does not do it at all. I log on to dyndns or freedns and the ip addresses are still different to my internet IP.
I installed ddclient using YaST but that shouldn't really matter.
Am I doing something wrong?
daemon=3600 syslog=no mail=root mail-failure=root pid=/var/run/ddclient.pid ssl=yes use=web, web=checkip.dyndns.org/, web-skip='IP Address'
server=members.dyndns.org, \ protocol=dyndns2, \ login=username, \ password=password \ myhost.dyndns-free.com
server=freedns.afraid.org, \ protocol=freedns, \ login=username, \ password=password \ www.myhost.co.uk
As I recall, there is a test mode that the ddclient documentation recommends you run before making it a daemon. Just start it from command line as root. It creates a pid and another file that is needed. And turning off logging makes no sense at all, even in production. Check the readme /usr/share/doc/packages/ddclient/README Are you directly connected to the internet, or is there a router between you and it? What is your actual IP -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
[23.08.2013 20:57] [Paul Groves]:
Hi,
I have added the following to the very bottom of /etc/ddclient.conf and have not modified the file in any other way (with myhost being the hostnames, username being the usernames and password being the passwords).
The ddclient services starts but my IPs do not get updated. I have left it for over an hour, rebooted the service, left it for over an hour, rebooted the server and left it another hour with no ips getting updated at all. I have tried reinstalling ddclient and only setting up one host to update but it just does not do it at all. I log on to dyndns or freedns and the ip addresses are still different to my internet IP.
I installed ddclient using YaST but that shouldn't really matter.
Am I doing something wrong?
No, everything looks fine to me. The user root should get mails if there are errors. Did you check it? ddclient is only a perl script, there is absolutely no need to reboot or anything like that. Do you start ddclient manually or did you run "insserv ddclient" to start it on boot? "rcddclient status" should show if it is running or not. When you issue "grep ^[^#] /etc/ddclient.conf" as a command in the konsole, do you get any other text output than the lines you put at the bottom? This should not be, and they might contradict your lines, and ddclient will not run because of this. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ok I have ddclient working now. It was a PICNIC lol My firewall on my proxy detected ddclient as a new program and blocked it from accessing the Internet. Paul Groves On 26 Aug 2013, at 19:37, "Werner Flamme" <werner.flamme@email.de> wrote:
[23.08.2013 20:57] [Paul Groves]:
Hi,
I have added the following to the very bottom of /etc/ddclient.conf and have not modified the file in any other way (with myhost being the hostnames, username being the usernames and password being the passwords).
The ddclient services starts but my IPs do not get updated. I have left it for over an hour, rebooted the service, left it for over an hour, rebooted the server and left it another hour with no ips getting updated at all. I have tried reinstalling ddclient and only setting up one host to update but it just does not do it at all. I log on to dyndns or freedns and the ip addresses are still different to my internet IP.
I installed ddclient using YaST but that shouldn't really matter.
Am I doing something wrong?
No, everything looks fine to me. The user root should get mails if there are errors. Did you check it?
ddclient is only a perl script, there is absolutely no need to reboot or anything like that. Do you start ddclient manually or did you run "insserv ddclient" to start it on boot? "rcddclient status" should show if it is running or not.
When you issue "grep ^[^#] /etc/ddclient.conf" as a command in the konsole, do you get any other text output than the lines you put at the bottom? This should not be, and they might contradict your lines, and ddclient will not run because of this.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ok I have ddclient working now. It was a PICNIC lol so I guess that means you have found and settled on a tool
On 8/26/2013 5:24 PM, Paul Groves wrote: that works. I don't know that tool but I guess I should learn. I am using no-ip. There are Windows and Linux clients for no-ip and I am using the Linux one on SuSE 12.3. I have no experience with ddclient but it sounds much more complex than no-ip. Damon Register -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Damon Register wrote:
Ok I have ddclient working now. It was a PICNIC lol so I guess that means you have found and settled on a tool
On 8/26/2013 5:24 PM, Paul Groves wrote: that works. I don't know that tool but I guess I should learn. I am using no-ip. There are Windows and Linux clients for no-ip and I am using the Linux one on SuSE 12.3. I have no experience with ddclient but it sounds much more complex than no-ip.
Damon, ddclient is the client software, no-ip (et al) is the service it talks to. -- Per Jessen, Zürich (17.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Per Jessen <per@computer.org> [08-27-13 07:23]:
Damon Register wrote:
Ok I have ddclient working now. It was a PICNIC lol so I guess that means you have found and settled on a tool
On 8/26/2013 5:24 PM, Paul Groves wrote: that works. I don't know that tool but I guess I should learn. I am using no-ip. There are Windows and Linux clients for no-ip and I am using the Linux one on SuSE 12.3. I have no experience with ddclient but it sounds much more complex than no-ip.
Damon,
ddclient is the client software, no-ip (et al) is the service it talks to.
"no-ip.com" provides a binary, noip2, that reports your current ip addr every so often, configurable, and no-ip ties that addr to your alpha address. Isn't that what ddclient does? fwiw: I have been using no-ip's script for probably 10 or more years w/o any problem. I am interested in ddclient, but cannot see much benefit in changing horses at this time past being able to read the code. Version I have is dated 2008. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [08-27-13 07:23]:
Damon Register wrote:
Ok I have ddclient working now. It was a PICNIC lol so I guess that means you have found and settled on a tool
On 8/26/2013 5:24 PM, Paul Groves wrote: that works. I don't know that tool but I guess I should learn. I am using no-ip. There are Windows and Linux clients for no-ip and I am using the Linux one on SuSE 12.3. I have no experience with ddclient but it sounds much more complex than no-ip.
Damon,
ddclient is the client software, no-ip (et al) is the service it talks to.
"no-ip.com" provides a binary, noip2, that reports your current ip addr every so often, configurable, and no-ip ties that addr to your alpha address. Isn't that what ddclient does?
Not by itself, no. It needs a dynamic DNS _service_ to talk to. -- Per Jessen, Zürich (17.9°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Per Jessen <per@computer.org> [08-27-13 07:52]:
Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [08-27-13 07:23]:
Damon Register wrote:
Ok I have ddclient working now. It was a PICNIC lol so I guess that means you have found and settled on a tool
On 8/26/2013 5:24 PM, Paul Groves wrote: that works. I don't know that tool but I guess I should learn. I am using no-ip. There are Windows and Linux clients for no-ip and I am using the Linux one on SuSE 12.3. I have no experience with ddclient but it sounds much more complex than no-ip.
Damon,
ddclient is the client software, no-ip (et al) is the service it talks to.
"no-ip.com" provides a binary, noip2, that reports your current ip addr every so often, configurable, and no-ip ties that addr to your alpha address. Isn't that what ddclient does?
Not by itself, no. It needs a dynamic DNS _service_ to talk to.
So ddclient must be able to communicate with ...no-ip.com in order to tie the dotted quad to the alpha address? And I _assume_ the service is not standard between different providers, making a standard fire drill mess? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [08-27-13 07:52]:
Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [08-27-13 07:23]:
Damon Register wrote:
Ok I have ddclient working now. It was a PICNIC lol so I guess that means you have found and settled on a tool
On 8/26/2013 5:24 PM, Paul Groves wrote: that works. I don't know that tool but I guess I should learn. I am using no-ip. There are Windows and Linux clients for no-ip and I am using the Linux one on SuSE 12.3. I have no experience with ddclient but it sounds much more complex than no-ip.
Damon,
ddclient is the client software, no-ip (et al) is the service it talks to.
"no-ip.com" provides a binary, noip2, that reports your current ip addr every so often, configurable, and no-ip ties that addr to your alpha address. Isn't that what ddclient does?
Not by itself, no. It needs a dynamic DNS _service_ to talk to.
So ddclient must be able to communicate with ...no-ip.com in order to tie the dotted quad to the alpha address?
Yup.
And I _assume_ the service is not standard between different providers, making a standard fire drill mess?
Correct - and that's where ddclient is useful. It has support for a number of different dynIP services. -- Per Jessen, Zürich (17.4°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Damon Register
-
James Knott
-
John Andersen
-
Malcolm
-
Patrick Shanahan
-
Paul Groves
-
Per Jessen
-
Werner Flamme