Linux Challenge 2 - Lab

Hi,

I just solved Linux Challenge 2 - Labs but I’m not really convinced that I used the “right” approach to the first issue of troubleshooting yum/dnf network issues. I added the following entry to the /etc/resolv.conf file: nameserver 8.8.8.8.

It worked, but it just feels very amateur-ish (which of course I am). I’m curious how other people solved this and if you have any alternative suggestions.

Thank you!

Why do you think your solution is amateurish? Adding a nameserver to /etc/resolv.conf is exactly what is required.

1 Like

I suppose due to lack of experience and perspective. In a corporate environment, I would think it’d be better to setup an internal resolver perhaps? But I’m glad I’m at least on the right track :slight_smile:

You are right, ,most likely in a corporate environment there would be an internal DNS server or Active Directory Domain Services. But still the configuration would be to give the IP address of the internal server. So the configuration is the same other than the IP address being different.

Understood, I’ll keep this in mind. Thank you!