$ nslookup localhost
I got the expected answer.It got me thinking about what else I had done at the time and I realized that I had changed some of my passwords just after setting up the static IP. I didn't change the passwords associated with mysql though. Once I changed those to align with all my other root passwords it worked.
Thank you for helping me with this and ultimately finding my solution