update non-generic text

This commit is contained in:
David Arnold 2020-06-01 02:59:41 -05:00
parent 55900c99c2
commit d33482fbd2
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08
2 changed files with 9 additions and 4 deletions

View File

@ -6,7 +6,7 @@
## Description
The ldap plugin resolve A, AAAA y PTR RR from ldap backend. To reduce load on the backend, you can configure `cacheTimeout=30m`.
The ldap plugin resolves A, AAAA y PTR RR from a ldap backend. To reduce load on the backend, you can enable cache by configuring `cacheTimeout=30m`.
## Compilation

11
ldap.go
View File

@ -1,6 +1,11 @@
// Package ldap is a CoreDNS plugin that prints "ldap" to stdout on every packet received.
// Package ldap is a CoreDNS plugin that resolves A, AAAA y PTR RR from a ldap backend.
//
// It serves as an ldap CoreDNS plugin with numerous code comments.
// It serves as a backend connector for autoritative zone data.
// Ldap is often used for bare metal inventories. This use is the main use case
// for this plugin. Other use cases might eventually be supported.
// fqdn and ip4 / ip6 information is mapped from it's repsective ldap schema and
// served as DNS records over coredns. Mapping is configurable. To reduce load
// on the backend, a configurable cache is bundled.
package ldap
import (
@ -20,7 +25,7 @@ import (
// friends to log.
var log = clog.NewWithPlugin("ldap")
// Ldap is an ldap plugin to show how to write a plugin.
// Ldap is an ldap plugin to serve zone entries from a ldap backend.
type Ldap struct {
Next plugin.Handler
}