openDKIM and DKIM-Result: permerror (no key)

Hello Ive some Problems with openDKIM and DKIM-Result: permerror (no key).

AT first, i have test this. all was ok, but if i config dkim and activate it, he delets the nameserver and virtualmin, says in check configuration this as error. so ive deactivate dkim and reconfigurte bind. all works. but at moment i have activite dkim. and configure it with new key. i have wait 12 hours for the sedcond test. but dkim fails... permerror (no key)

in config the kay is present. and in virtualmin domains config also.... But its not working.

I cant reinstall the server to make all from scratsch, because we host some webpages for an community... and on the server runs an ts server...

Is there an other way to fix the situation?

If yes. what did you need from me...



Assigned: ยป Unassigned

That's unusual, because the setting up of DKIM shouldn't effect DNS nameservers at all.

Is it the nameservers in /etc/resolv.conf that are being incorrectly updated?

Make backup of the / those config files before, and compare them afterwards.

Please post output result here.

So i have reinstall the server. but more errors still before.

I putt my screenshots after this.... I need help by the configuraten of the server viawebmin.. i think here is all confused

Pictures from some cconfigurations and tests

please cann anybody help me.. to configureat my system...

I think. ive found the errors. i look at /var/named config for domains. and i found my old plesk config files for virtual hosts. the new one is in my post otherthere in google drive...

here is the old plesk one.


zone "" {
type master;
file "";
allow-transfer {;
zone "" {
type master;
file "";
allow-transfer {;
acl common-allow-transfer {

config of one of my domains

$TTL 86400

2018091202 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
10800 ) ; Minimum IN NS IN NS IN A IN A IN A IN A IN A IN A IN A IN A IN A IN A IN CNAME IN CNAME IN MX 10 IN TXT "o=-" IN TXT "v=DKIM1; p=KEY;" IN TXT "v=DMARC1; p=none" IN TXT "v=spf1 +a +mx -all"

So i think virtualmin has problems with semi virtual root servers. and creating of virtual domains and there nameserver entrys.

i will test tomorrow the changes of the config files and will see, if it work.

For markus.. i found also on/for that ip /domain: These machines are also used by They seem to be managed by a third party: 2a03:4000:0:1::e1e1 2a03:4000:2:24b::c7c7 2a03:4001:0:106::3f44

don't know or that should be right?

other nameserver ip as out of your print for resolv ( is the one out of soa versus in yours


thanks, but i dont know, that i must change at all.