# How does elastic-serverless-forwarder resolve dns?

**URL:** <https://discuss.elastic.co/t/how-does-elastic-serverless-forwarder-resolve-dns/298270>\
**Category:** Elasticsearch\
**Created:** [February 25, 2022, 11:05am UTC](https://discuss.elastic.co/t/how-does-elastic-serverless-forwarder-resolve-dns/298270 "2022-02-25T11:05:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheKristoffer](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@TheKristoffer](https://discuss.elastic.co/u/TheKristoffer)\
**Post date:** [February 25, 2022, 11:05am UTC](https://discuss.elastic.co/t/how-does-elastic-serverless-forwarder-resolve-dns/298270/1 "2022-02-25T11:05:39Z")

</div>

Hello,  
I'm trying to make the elastic-serverless-forwarder lambda function use AWS Private Link as output - but I'm not sure if the lambda function will use the VPC forwarder (the default one on .2) so the dns will resolve correctly ?  
I have added the correct VPC (subnet 10.36.0.0/16) to the lambda function, in this case subnet 10.36.1.0/24, and my question is if the lambda function would use the VPC dns server on 10.36.0.2 ?

Thanks  
Regards  
Kristoffer

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 25, 2022, 11:06am UTC](https://discuss.elastic.co/t/how-does-elastic-serverless-forwarder-resolve-dns/298270/2 "2022-03-25T11:06:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
