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: 2817
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: 2817
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.

Ojoshiro
Posts: 1
Joined: Tue Apr 12, 2016 8:12 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by Ojoshiro » Tue Apr 12, 2016 8:19 am

That's a very helpful answer. Not!

All nice you guys determined what the asker of the question could possibly have done wrong. Not answer the question.
Does anyone have an answer as to how to repair the damage? Or am I no required to make a new DDNS?
A usable answer comes in the form of:

1) Go there..
2) Click that...
3) Change ... to ...
4) Click that...
...
N) Done.

SirBols
Posts: 1
Joined: Mon Jun 27, 2016 12:50 pm

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by SirBols » Mon Jun 27, 2016 2:54 pm

Hi People,

In order to this issue, I would like to know how can I re-use a DNS hostname that it was used in our labs testing you amazing solution and where the server was deleted. No copy. That is my case.

Is There any other way to recover it?
I know that we can use another name but we would like to keep a coherent corporate name.

Regards,

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: 2817
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.

mognem
Posts: 1
Joined: Sat May 12, 2018 8:54 am

Re: Restore Dynamic DNS Hostname after restoring VPN Config

Post by mognem » Sat May 12, 2018 9:01 am

is it possible to check when DDNS expires?

thisjun
Posts: 2817
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