Eun / coredns-ipecho

ipecho is an coredns plugin, it answers ip subdomain queries with the ip itself.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipecho

Actions Status go-report

ipecho is an coredns plugin, it parses the IP out of a subdomain and echos it back as an record.

Example

A IN 127.0.0.1.example.com. -> A: 127.0.0.1
AAAA IN ::1.example.com. -> AAAA: ::1

Syntax

ipecho {
    domain example1.com
    domain example2.com
    ttl 2629800
}
  • domain adds the domain that should be handled
  • ttl defines the ttl that should be used in the response
  • debug enables debug logging

About

ipecho is an coredns plugin, it answers ip subdomain queries with the ip itself.

License:MIT License


Languages

Language:Go 100.0%