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

JRE 56 Reputation points
2023-10-13T08:48:05.5066667+00:00

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.
5,331 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,796 Reputation points
    2023-10-16T09:12:19.1333333+00:00

    @JRE 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.