Skip to content

redocksoft/coredns-config-azure-forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CoreDNS Configuration for Azure DNS Forwarding

Some use cases in Azure require DNS forwarding to the Azure DNS virtual IP 168.63.129.16.

This repository configures CoreDNS for use with this scenario and can be provided as a gitRepo volume to an ACI container using the CoreDNS image.

Note
As far as I know this is not actually usable today, as ACI does not provide the ability to assign a static private IP address to the container. See https://feedback.azure.com/forums/602224-azure-container-instances/suggestions/36989110-allow-aci-instances-to-use-a-static-ip-address-whe.

Usage

Example deployment:

az container create \
  --resource-group myResourceGroup \
  --location myLocation \
  --memory 0.5 \
  --name dns-forwarder \
  --image coredns/coredns:latest \
  --ports 53 \
  --protocol UDP \
  --ip-address Private \
  --gitrepo-url https://github.com/redocksoft/coredns-config-azure-forwarder \
  --gitrepo-mount-path /config \
  --command-line "/coredns -conf /config/Corefile"

(c) 2019 reDock Inc.

About

A simple Azure ACI-compatible CoreDNS-based DNS forwarder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published