Skip to content

Runs CoreDNS as a nip.io-like wildcard DNS

Notifications You must be signed in to change notification settings

zj452008181/docker-coredns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

coredns server

Runs CoreDNS as a nip.io-like wildcard DNS.

Quick Start

# Run using docker-compose
docker-compose up

# Run using docker
docker run --name coredns -d \
  -v $(pwd)/zones:/etc/coredns/zones:ro \
  -v $(pwd)/Corefile:/etc/coredns/Corefile:ro \
  -p 53:53/udp -p 53:53 \
  coredns/coredns:1.8.4 -conf /etc/coredns/Corefile

Queries

# 10.0.0.1
nslookup 10.0.0.1.nip.io 127.0.0.1

# 192.168.1.250
nslookup 192-168-1-250.nip.io 127.0.0.1

# 10.8.0.1
nslookup app.10.8.0.1.nip.io 127.0.0.1

# 116.203.255.68
nslookup app-116-203-255-68.nip.io 127.0.0.1

# 10.0.0.1
nslookup customer1.app.10.0.0.1.nip.io 127.0.0.1

# 127.0.0.1
nslookup customer2-app-127-0-0-1.nip.io 127.0.0.1
nslookup magic.127.0.0.1.nip.io 127.0.0.1
nslookup magic-127-0-0-1.nip.io 127.0.0.1

About

Runs CoreDNS as a nip.io-like wildcard DNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Io 100.0%