# Upstream DNS\_ERROR

**URL:** <https://discuss.konghq.com/t/upstream-dns-error/1417>\
**Category:** General\
**Created:** [July 9, 2018, 4:19pm UTC](https://discuss.konghq.com/t/upstream-dns-error/1417 "2018-07-09T16:19:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre-Louis\_Gottfro](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/pierre-louis_gottfro/32/413_2.png) [@Pierre-Louis\_Gottfro](https://discuss.konghq.com/u/Pierre-Louis_Gottfro)\
**Post date:** [July 9, 2018, 4:19pm UTC](https://discuss.konghq.com/t/upstream-dns-error/1417/1 "2018-07-09T16:19:42Z")

</div>

Hey guys,

I’m having DNS resolution issues when setting up a new upstream for my API. Here is the health endpoint return value for the upstream:

```auto
/ # curl -i localhost:8001/upstreams/ffad1073-40ed-4a2d-885d-2ef1d4c17bd9/health
HTTP/1.1 200 OK
Date: Mon, 09 Jul 2018 16:15:45 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.13.1

{"total":1,"data":[{"created_at":1531151765344,"health":"DNS_ERROR","id":"10ec2ad6-6e6f-42ef-b55d-3a006b177fa5","upstream_id":"ffad1073-40ed-4a2d-885d-2ef1d4c17bd9","target":"tusd.roseau:1080","weight":100}],"node_id":"67168b57-28c5-40ff-84dc-f2693711d232"}

```

Along with a curl request to the configured DNS which works as expected:

```auto
/ # curl -i tusd.roseau:1080
HTTP/1.1 200 OK
Date: Mon, 09 Jul 2018 16:15:52 GMT
Content-Length: 729
Content-Type: text/plain; charset=utf-8

```

So i’m not sure why Kong is not able to resolve the DNS when using Upstream. It works well if i’m configuring the API to directly point to [http://tusd.roseau:1080](http://tusd.roseau:1080) instead of my upstream.

Any ideas?  
I’m using kong 0.13.1

---

<div class="post-metadata">

**Author:** ![surenraju](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@surenraju](https://discuss.konghq.com/u/surenraju)\
**Post date:** [December 13, 2022, 8:37am UTC](https://discuss.konghq.com/t/upstream-dns-error/1417/2 "2022-12-13T08:37:48Z")

</div>

Hi @Pierre-Louis_Gottfro, Is there any chance this issue is resolved for you? Just curious if you found a solution. Thank you.
