DNS Access Denied add anyway

I encountered this on Picard along with network name issues. I found this first which talked about the hosts file having 127.0.0.1 being commented out, mine had the same "issue" but so does Janeway. I uncommented the lines and rebooted but it did not resolve the issue, I left these uncommented then ran Test-ComputerSecureChannel -Repair from this post and it seems to have resolved the issue.

I was then able to restart the Network Location Awareness service and get back the proper network name.