Froxlor icon indicating copy to clipboard operation
Froxlor copied to clipboard

PowerDNS: Do not remove the domain completely (keep ID)

Open Af0x opened this issue 2 years ago • 6 comments

Hello,

everytime the master-cron is running the id of a domain in the pdns-database is changed.

I´m not completely sure if this is a bug but if possible a domain should always keep its id.

Regards,

Af0x

Af0x avatar Oct 21 '21 11:10 Af0x

That is due to prior cleaning of the tables as froxlor does not know about id's from the pdns database

d00p avatar Oct 21 '21 11:10 d00p

Ok, and is there a way to not clean everything and update by (domain-) name for example?

Af0x avatar Oct 21 '21 12:10 Af0x

possible sure, there are always many ways. it's been quite a long time since this has been coded. Feel free to enhance

d00p avatar Oct 21 '21 12:10 d00p

the reason why this is pretty important is for example the use of DNSSEC with PowerDNS. The generated key is tied to the id and if that id changes all DNSSEC functionality is broken (and probably more).

Af0x avatar Oct 21 '21 12:10 Af0x

Do you have the possibility to test the following patch?

PowerDNS.php.patch.zip

d00p avatar Nov 22 '21 10:11 d00p

Unfortunately I moved to managing PowerDNS manually.

Af0x avatar Nov 22 '21 10:11 Af0x

Completed means the patch is merged?

Af0x avatar Feb 03 '23 15:02 Af0x

This was over 2 years ago, never received feedback as you said you now manage this manually and no other issues were reported. So in order to concentrate on current 2.0.x versions this was closed

d00p avatar Feb 03 '23 15:02 d00p