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: 2150
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: 2150
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: 205
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: 2150
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: 2150
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.

Post Reply