Close, but not quite. D-K is the law where someone who's really good at one thing (like writing software) thinks that this means they're super-smart and therefore must be an expert at everything else.
I'm afraid that is also not correct. Dunning-Kruger is defined as people with low ability in a domain overestimating their own ability in that domain – it does not require someone to be really good in another domain.