coredns_omada

package module
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

coredns-omada-plugin

coredns_omada is a CoreDNS plugin which resolves local DNS addresses for clients on TP-Link Omada SDN networks. It uses the omada API to periodically get a list of client addresses.

Features

  • DHCP client resolution
  • DHCP reservation resolution
  • Device resolution (gateway, switch, access point, etc)
  • Reverse DNS
  • Wildcard records
  • Multiple site support

Docs

Pre-built docker images

Docker container images are now being published to the GitHub Container Registry under the following name: ghcr.io/dougbw/coredns_omada

Version chart

Omada Controller version Reccomended coredns_omada version
5.12.x v1.5.0 or newer
5.9.x v1.4.2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ARecord added in v1.7.0

type ARecord struct {
	// contains filtered or unexported fields
}

type DnsRecords added in v1.7.0

type DnsRecords struct {
	ARecords   map[string]ARecord
	PtrRecords map[string]PtrRecord
}

type Omada

type Omada struct {
	Next plugin.Handler
	Fall fall.F
	// contains filtered or unexported fields
}

Omada is the core struct of the omada plugin.

func NewOmada

func NewOmada(ctx context.Context, url string, u string, p string) (*Omada, error)

func (*Omada) Name

func (o *Omada) Name() string

func (*Omada) ServeDNS

func (o *Omada) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)

ServeDNS implements the plugin.Handler interface.

type PtrRecord added in v1.7.0

type PtrRecord struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址