Cemal Ünal
Aug 31, 2018 · 1 min read

Hi Rinor,

Thanks for the article. I’ve got a question and I’d be glad if you can answer it. What if I want to use the DNS for the web app instead of its IP address? For example using

fetch('http://sa-web-app-lb.svc.cluster.local/sentiment')

instead of

fetch('http://192.168.99.100:31691/sentiment')

I’ve tried it my own project but I could not achieve it. Do you have any ideas about this problem?

By the way, if I enter the running frontend docker container and curl -X GET -v -i http://backend_service:8080 it works as expected. But I cannot observe the results from the browser side and I get the Failed to load resource: net::ERR_NAME_NOT_RESOLVED error.

I appreciate your help, thanks a lot.

    Cemal Ünal

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade