I was playing around and wanted to use the hostname for a vpn connection i deleted. the problem is that softether still picks up the hostname as registered in the DDNS. how can i fix this?
i do not want to disable DDNS
DNS hostname change
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: DNS hostname change
If you have your old config file, you can restore a "key" and use the old hostname again. If you haven't your config file anymore, your hostname is gone.
As an alternative, you could use a other domain (or free subdomain) which link to the "cryptic" softether hostname. Just take a look at http://freedns.afraid.org/ or any domain dealer else....
As an alternative, you could use a other domain (or free subdomain) which link to the "cryptic" softether hostname. Just take a look at http://freedns.afraid.org/ or any domain dealer else....
-
- Posts: 4
- Joined: Tue Oct 07, 2014 3:59 am
Re: DNS hostname change
So, i think i have part of the config file. what exactly am i looking for to unregister the name?
Edit: i have the whole config file
Edit: i have the whole config file
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: DNS hostname change
I'm hope, my answer is correct ;)
In your old config, you will have a part like
declare DDnsClient
{
bool Disabled false
byte Key YourDDNSKEY
string LocalHostname pi
string ProxyHostName $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
}
The "bye Key" is what you are looking for. Just copy it to your new config, reload the service and your old hostname should working again.
In your old config, you will have a part like
declare DDnsClient
{
bool Disabled false
byte Key YourDDNSKEY
string LocalHostname pi
string ProxyHostName $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
}
The "bye Key" is what you are looking for. Just copy it to your new config, reload the service and your old hostname should working again.
-
- Posts: 4
- Joined: Tue Oct 07, 2014 3:59 am
Re: DNS hostname change
I think i have it now, but i would like to change my VPN server name.. how can i do that? it seems so simple it is stupid but something just isnt working out here..
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: DNS hostname change
You can change the name which is corresponding the key by GUI or 'DynamicDnsSetHostname' command of vpncmd.