IOT DNS request for BLOB storage connection

Joseph Castelnovo 0 Reputation points
2025-07-26T06:50:16.42+00:00

I am trying to figure out how an on prem IOT with private IP does the initial connection to connect to blob storage. It is behind a NAT gateway to the Internet.

I read IOT devices built to use AZURE Blob Storage have a preconfigured DNS address 168.63.129.16. The Azure private resolver What DNS resolution request is being sent from the IOT to the resolver. (something) [hostname].blob.core.windows.net:443 ssl. The Azure private resolver returns what ? A configuration message that provides hostname, connection logon information ?

I am lost on how the connection proceeds. Some SSL tunnel that connects to an AZURE Private IP configured by the Tennent. So no traffic ever has access to the Internet.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
{count} votes

1 answer

Sort by: Most helpful
  1. Manas Mohanty 8,150 Reputation points Microsoft External Staff Moderator
    2025-08-05T06:03:18.64+00:00

    Hi Joseph Castelnovo

    It seems you are trying to pass data from on-prem data with a private IP to Azure Storage.

    We normally add the IOT devices through device connection string or X-509 or symmetric keys to destined Storages

    But it won't be straight forward as you have private IPs on your Prem IOT device so you would be needing to secure your storage and IOT Hub with private endpoints.

    and setup a conditional forwarder or DNS resolver on prem-DNS server to foreword the queries to Azure DNS server to look up private Ips for respective storage and IOT Hubs

    You also need modify to outbound traffic in your NAT Gateway or Network security group or firewall to allow outbound connection to Storage and IOT Hub private IPs.

    Once DNS resolution happens on storage and IOT hub with outbound traffic allowed on your on prem NAT Gateway, you send traffic to destined storage

    Sample Diagrams from on Prem IOT to Private Azure Storage

    generated_image

    Sample Diagram on Custom DNS from Azure ML (for Explaining DNS server and conditional forwarding to Azure DNS server)

    Diagram of custom DNS hosted in Azure topology

    Reference

    Register devices in IOT hub

    Route data from IOT hub to storage

    Custom DNS for Azure ML (for understanding on prem DNS server and conditional forewarding)

    Troubleshoot connection to devices

    Hope it gives the needed clarity on routing query from devices with on prem private IP to Azure private resources.

    Thank you


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.