lib/resolve: avoid unnecessary DS queries

3 jobs for fix-extra-ds
in 4 minutes and 18 seconds and was queued for 0 seconds