Update supervisor fails 02-08-2024

When trying to update supervisor on Dedicated rpi 4, it fails silently, checking the logs I find that it fails to do DNS lookup for ghcr.io even though from ssh terminal, I can ping ghcr.io

What is the fix??