Dynamic DNS Key problems

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
quattrolinux
Posts: 22
Joined: Sun Dec 27, 2015 1:32 am

Dynamic DNS Key problems

Post by quattrolinux » Sat Dec 06, 2025 2:59 am

Greetings,
I am noticing that sometimes server regenerates DNS Key and registers new generic host name on my IP address without being asked to do so.
Can anyone familiar with the code explain why it happens and how to avoid it? I have a suspision it may be related to LocalHostname line but not sure.
Compiled latest development edition - same behaviour.
Please advise.

solo
Posts: 1774
Joined: Sun Feb 14, 2021 10:31 am

Re: Dynamic DNS Key problems

Post by solo » Sun Dec 07, 2025 1:51 am


quattrolinux
Posts: 22
Joined: Sun Dec 27, 2015 1:32 am

Re: Dynamic DNS Key problems

Post by quattrolinux » Sun Dec 07, 2025 2:46 am

Thank you, this link confirms my observations. However I don't like server generating new key every time host name changes. I am running in a test environment where host name is new every time the test is launched and would like to disable the feature. That is why I was calling for code experts.

I would like to avoid polluting softether DNS database with bogus entries.

solo
Posts: 1774
Joined: Sun Feb 14, 2021 10:31 am

Re: Dynamic DNS Key problems

Post by solo » Sun Dec 07, 2025 9:34 am

Sure, in the config change it to 'true'.

Code: Select all

	declare DDnsClient
	{
		bool Disabled false

quattrolinux
Posts: 22
Joined: Sun Dec 27, 2015 1:32 am

Re: Dynamic DNS Key problems

Post by quattrolinux » Mon Dec 08, 2025 1:14 am

I don't want to disable DDnsClient. I would like to eliminate host name change check during my tests. Where it is in the code?

solo
Posts: 1774
Joined: Sun Feb 14, 2021 10:31 am

Re: Dynamic DNS Key problems

Post by solo » Mon Dec 08, 2025 4:26 am

in DDNS.c file

Post Reply