How to connect Azure Function App to On-prem DNS Server?

nabi04 56 Reputation points

I am creating a .NET application that validates domain from an on-prem DNS server. I would like to know how can I integrate my Azure function app to perform nslookup on the on-prem DNS server. Is there a way without using virtual networks or powershell script?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,352 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 69,331 Reputation points

    @nabi04 Thanks for reaching out.

    One way to achieve this is to use Azure ExpressRoute or VPN Gateway to create a secure, private connection between your on-premises network and your Azure virtual network. Once the connection is established, you can configure your Azure function app to use the on-premises DNS server as the DNS resolver.

    For more details on different Azure function networking option, you can refer to this document.

    0 comments No comments