I did my usual weekly updates this past Saturday and since then have had an isolated problem with access to my website.
For context, I am running Fedora 36 server (no gui) with the Apache server. The local IP for the server is 192.168.0.51. For internet access I am using a dynamic IP. This configuration has been working for several years.
Each (early) morning I have a cron job on the server that access the genealogy web site to send email reminders about the days births and anniversaries.
After the update, if I use a web browser I am able to access the web server with no problem. However, the wget (which is the cron job that runs on the physical server itself) fails with the message that the web server was not found. In summary, access from an external system through a web browser works, access from the physical system itself (using wget) is now failing.
Doing some Google searches, I think (not sure) that is may be related to the nsswitch.conf as the order of the hosts has dns at the end of the list of hosts. The file also indicates that the file should not be updated manually.
My question then is if my assumption that it is related to the nsswitch.conf file how do I update the file to move dns up in the search list?
Of course, if I am totally out to lunch would appreciate knowing what else might be causing the problem.