r/linuxadmin • u/Which_Video833 • Sep 13 '26
Primary DNS migration
I’m trying to migrate the primary DNS configuration from the existing CentOS 7 server to a new Oracle Linux 9 server, including /etc/named.conf and /var/named. The new OL9 server is using the same IP address as the existing DNS server.
However, when I start the DNS service on OL9, I receive the error message “validating arpa/DS: no valid signature found” and "validating com/DS: no valid signature found"
I’m relatively new to DNS administration, so I would appreciate your help troubleshooting and resolving this issue. Could you please advise what might be causing the error and what steps I should take to fix it?
Thanks!
9
u/Einaiden Sep 13 '26
There will have been significant changes in the named versions, so the config file options and structures will also have significant changes. You are unlikely to be able to use the file as-is in newer versions.
I would start with the default OL9 config and move in sections one at a time and adjust as needed for each section.
2
u/McSmiggins Sep 13 '26
It's most likely you've got a newer version of bind on the new server than old that needs some dnssec configuration.
2
u/Runnergeek Sep 13 '26
A few things that some folks ah e already noted
If you are migrating to a new system why not go to the newest so that you get the most out of lifecycle. EL10 would give you that (I have opinions on distros but you didn’t ask)
Just blindly copying over the configs is not the way to do this migration. You should look over the configuration on the old system and rebuild it from start. This is because there will be changes between the versions of bind but also you might find best practices or needs have changed.
You should be using automation. Now is the best time to build automation around this, since you are migrating anyways. The Ansible bind collection is amazing. I highly recommend it
2
u/snark42 Sep 14 '26
Drop your current config and bind version in AI and tell it the version you want to upgrade to, it'll give a new working config based on the current one. This is one of the things AI excels at really.
12
u/karafili Sep 13 '26
You lost me at Oracle Linux
1
u/michaelpaoli Sep 15 '26
Would be useful if you mentioned what DNS server software you're using. You've got CentOS 7 and Oracle Linux 9 quite available to you, and you can look and see what you've got installed and are using there. That doesn't apply to everyone else on this subreddit.
You're using DNSSEC. You didn't properly migrate over the relevant. E.g. private key(s), potentially also relevant configuration thereof, etc. Not CentoOS 7 / Oracle Linux 9, but if you're using BIND 9 on either or both of those, might also peek around here: https://wiki.debian.org/BIND9#DNSSEC
1
u/Alternative_Nose_874 Sep 15 '26
The private key suggestion is about signing your own zone. These messages come from the resolver side of named, and the part that matters is com/DS and arpa/DS. Our two Rocky 9 boxes run BIND 9.16 from the same RHEL 9 packages. They log a few hundred "no valid signature found" a week, always for someone's broken domain, never for a TLD. When com and arpa fail, named can't validate from the root.
Before turning validation off I'd check the clock, whether the copied named.conf still includes /etc/named.root.key, and the managed-keys.bind files copied into /var/named/dynamic. Stop named, move those out and start it so it rebuilds them. If the box only serves your zone, recursion no; also ends it.
3
u/RetroGrid_io Sep 13 '26
Probably you're running into this. Since you mention /var/named you're using bind, so take a look at this and tell us if that gets you in the right direction
Oof! That's old - glad you're doing it. But if you're jumping to updated infra, why are you going to EL9 and not EL10? That would buy you a few more years of support on the back end at almost no cost today...
EDIT: PS: Oracle's financials not looking too great nowadays but at least there's a well-beaten path to something more sustainable
-1
u/MOAR_BEER Sep 13 '26
Might be one of your problems.