Restore Dynamic DNS Hostname after restoring VPN Config

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
ArcticEngineer
Posts: 2
Joined: Thu Oct 08, 2015 9:01 pm

Restore Dynamic DNS Hostname after restoring VPN Config

Post by ArcticEngineer » Thu Oct 08, 2015 9:11 pm

I recently needed to completely re-install my server. Before doing so, I made sure to backup my softether configuration files to an external drive.

After re-installing my OS, I installed SoftEther again and then restored my configuration file which restored all my settings except for the Dynamic DNS Hostname. However, the Dynamic DNS Hostname was not restored. I compared the byte key and it is correct. Even the restored issued certificate is referencing my old dns hostname, and all the other settings were restored as well. I tried to manually set the hostname back to what it was, and even though the byte key is correct, I received the typical dreaded error: "The specified Dynamic DNS hostname is already used. Please change the hostname."

Is there a step I am missing here?

thisjun
Posts: 2369
Joined: Mon Feb 24, 2014 11:03 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by thisjun » Thu Oct 22, 2015 6:43 am

Did you rewrite the configuration while the VPN service is running, didn't you?

ArcticEngineer
Posts: 2
Joined: Thu Oct 08, 2015 9:01 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by ArcticEngineer » Thu Oct 22, 2015 7:58 am

thisjun wrote:
> Did you rewrite the configuration while the VPN service is running, didn't
> you?
No, I made sure I had stopped the VPN server service first prior to overwriting the config file.

thisjun
Posts: 2369
Joined: Mon Feb 24, 2014 11:03 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by thisjun » Mon Nov 02, 2015 7:02 am

Did you overwrite "string LocalHostname"?
If you overwrite it, DDNS name is changed.

boubou
Posts: 9
Joined: Tue Dec 08, 2015 2:57 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by boubou » Sat Jul 02, 2016 10:47 pm

Same here, I reinstalled my SoftEtherVPN server but I cant recover my DDNS Hostname...
How can I recover it ?

Thanks!

raafat
Posts: 213
Joined: Fri Jul 03, 2015 2:21 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by raafat » Tue Jul 05, 2016 7:59 pm

Hi thee, i think you are out of luck in recovering th DDNS that is you were using. You have three options,

first : you can look at the source code of SE, specifically at the code that implements DDNS service. If you can do it i am sure you can get around to recover your previous DDNS.

second : wait until the record of the DDNS that is you were using expires, of course, that record will not be kept in SE project database forever

Third : keep working on your problem (:


Good luck (:

thisjun
Posts: 2369
Joined: Mon Feb 24, 2014 11:03 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by thisjun » Fri Jul 22, 2016 1:25 am

>first : you can look at the source code of SE, specifically at the code that implements DDNS service. If you can >do it i am sure you can get around to recover your previous DDNS.

This solution depends on whether you have previous DDNS key.
If you have previous DDNS key, you can recover previous domain name.
Please overwrite DDNS key on VPN server configuration.

>second : wait until the record of the DDNS that is you were using expires, of course, that record will not be >kept in SE project database forever

Currently, DDNS entry isn't expired.

thisjun
Posts: 2369
Joined: Mon Feb 24, 2014 11:03 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by thisjun » Fri Jun 01, 2018 4:26 am

Currently, DDNS entry isn't expired.

stparkides
Posts: 2
Joined: Mon Feb 18, 2019 6:01 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by stparkides » Mon Feb 18, 2019 6:53 pm

I ran into the same/similar problem.
Somehow, the softether vpn server lost ddns entry, but changed to the default random name of vpn##########.softehter.net
The actual name I configured now refers to the previous IP address, and I cannot change/access it.
I have several configuration files backed up since 2 years ago, and all of them have the same "byte Key" value as the current.

stparkides
Posts: 2
Joined: Mon Feb 18, 2019 6:01 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by stparkides » Mon Feb 18, 2019 6:59 pm

Never mind. It turned out to be a wrong key. Got the correct one.

MikeL
Posts: 7
Joined: Fri Jan 05, 2018 11:51 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by MikeL » Mon Feb 18, 2019 10:05 pm

I had a recent issue with DDNS that I have not been able to sort out.
I was working with a DNS name that I had picked instead of the generated one. Everything was working fine and that name was configured on all of my clients. Then a little over a week ago the IP address of my VPN Server changed and the DDNS field as shown in the server Manager switched back to its generated form and my clients were no longer able to connect. I created another name and set that up on the clients and it is now working again.

Like you I couldn't reuse the old name because it said it was already in use. If I do a DNS query on the original name it is still in the DNS database but is still associated with the old IP address.

Does DDNS only work with the original generated name or is it supposed work with the user supplied strings too?

thisjun
Posts: 2369
Joined: Mon Feb 24, 2014 11:03 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by thisjun » Thu Apr 25, 2019 2:07 am

If you have previous DDNS key, you can recover previous domain name.
Please overwrite DDNS key on VPN server configuration.

nazar_ko
Posts: 1
Joined: Mon Apr 29, 2019 7:12 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by nazar_ko » Mon Apr 29, 2019 7:36 pm

hi, I have the same issue.

recently I installed SoftEther VPN server on a virtual machine and registered a dynamic DNS domain.
Accidentally the virtual machine has been lost. Expectantly, the domain name kept busy and I have no idea how to restore it.

Actually there is about six month (or more) already has left and the mentioned domain is still busy. I'm able to ping it and see an IP from my local ISP. So I'm 99% sure the SoftEther domain database remember my old IP and able to ping any other client whoever is currently owner of that dynamic IP.

I'm afraid the SoftEther won't release the dynamic domain while anybody is using that IP. Am I wrong? If there is any other double check if there is an FoftEther software is running?

What is the real timeout to release the domain?

Is there any other way to try restore the my favorite domain?

Thanks

add: I haven't kept the DNS key unfortunately

sky59
Posts: 125
Joined: Tue Sep 11, 2018 5:58 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by sky59 » Wed May 01, 2019 8:22 am

Keeping the same dns after reinstall you have to change name of computer to the old string!

Post Reply