Solve Could not resolve ‘security.debian.org’ DNS Hostname Problem

Have you ever using apt-get update for the first time in Virtual Machine and return

The troubleshooting I made for the first time was change the /etc/apt/sources.list

but what happen?

This still return same.

Fool me, The problem came from DNS hostname. The default hostname was my FQDN and my FQDN’s DNS still not yet configured.

To solve this problem, I just change the /etc/resolv.conf to public DNS or google DNS, so it will like this:

4 Replies to “Solve Could not resolve ‘security.debian.org’ DNS Hostname Problem”

  1. Great article never seen such descriptive and main to the point article πŸ™‚
    Thankyou so much

    Reply

  2. Thanks mate, that was what I read elsewhere, but you hit the spot. Sorted out my system.

    Reply

    1. Glad it help, πŸ™‚

      Reply

  3. Thank you, thank you, thank you!!!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.