This is a conatiner image of simple DNS forwarder, which works on Azure Container Instances, for Azure VNET.
As this documentation describes, it is needed to use DNS forwarder in order that client PCs which connects to the VNET via ExpressRoute / P2S VPN and so on use Azure Private DNS Zone. This is because the Private DNS Zone can be used only for name resolution query from nodes in the VNET.
This image is based on distroless and contains only dnsmasq
for forwarding DNS queries.
If you want to this on Azure Container Instances(ACI) in your Virtual Network, please take care the following points on deployment.
-
Container details in
Basics
This image is registered in GitHub Container Registry, so the following setting is needed.- Select
Docker Hub or other registry
forImage source
- Select
Public
forImage type
- Input
ghcr.io/horihiro/simple-dns-forwarder:<tagName>
asImage
and replace<tagName>
to a tag from the list - Select
Linux
forOS type
- Select
-
Ports in
Networking
-
Command override in
Advanced
Set following commands["dnsmasq", "--no-daemon", "--server", "168.63.129.16"]
After the deployment,