Cms login error in kubernetes deployment

Hi, I have deployed tutor in kubernetes by disabling https. Using http link of LMS I am able to login , however unable to login to cms .
After entering credentials in sign in page, I get “studio server encountered an error” message.

lms pod logs below

ERROR

The requested URL could not be retrieved


The following error was encountered while trying to retrieve the URL: http://lms:8000/oauth2/access_token

Unable to determine IP address from host name lms

The DNS server returned:

Server Failure: The name server was unable to process this query.

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

Your cache administrator is root.



Generated Wed, 20 Apr 2022 05:35:43 GMT by ip..compute.internal (squid/3.5.20)

Awaiting inputs on this error

Regards,
Priya

Please note that the tutor deployment is done through utility pod and the error pasted above is the output of the curl command from cms pod within the utility pod