 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    There is no documentation for this package.
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package core registers the server and all plugins we support. | Package core registers the server and all plugins we support. | 
| 
          
            dnsserver
            
            
          
           Package dnsserver implements all the interfaces from Caddy, so that CoreDNS can be a servertype plugin. | Package dnsserver implements all the interfaces from Caddy, so that CoreDNS can be a servertype plugin. | 
| Package coremain contains the functions for starting CoreDNS. | Package coremain contains the functions for starting CoreDNS. | 
| Package pb is a generated protocol buffer package. | Package pb is a generated protocol buffer package. | 
| Package plugin provides some types and functions common among plugin. | Package plugin provides some types and functions common among plugin. | 
| 
          
            auto
            
            
          
           Package auto implements an on-the-fly loading file backend. | Package auto implements an on-the-fly loading file backend. | 
| 
          
            autopath
            
            
          
           Package autopath implements autopathing. | Package autopath implements autopathing. | 
| 
          
            bind
            
            
          
           Package bind allows binding to a specific interface instead of bind to all of them. | Package bind allows binding to a specific interface instead of bind to all of them. | 
| 
          
            cache
            
            
          
           Package cache implements a cache. | Package cache implements a cache. | 
| 
          
            cache/freq
            
            
          
           Package freq keeps track of last X seen events. | Package freq keeps track of last X seen events. | 
| 
          
            chaos
            
            
          
           Package chaos implements a plugin that answer to 'CH version.bind TXT' type queries. | Package chaos implements a plugin that answer to 'CH version.bind TXT' type queries. | 
| 
          
            deprecated
            
            
          
           Package deprecated is used when we deprecated plugin. | Package deprecated is used when we deprecated plugin. | 
| 
          
            dnssec
            
            
          
           Package dnssec implements a plugin that signs responses on-the-fly using NSEC black lies. | Package dnssec implements a plugin that signs responses on-the-fly using NSEC black lies. | 
| 
          
            dnstap/taprw
            
            
          
           Package taprw takes a query and intercepts the response. | Package taprw takes a query and intercepts the response. | 
| 
          
            erratic
            
            
          
           Package erratic implements a plugin that returns erratic answers (delayed, dropped). | Package erratic implements a plugin that returns erratic answers (delayed, dropped). | 
| 
          
            errors
            
            
          
           Package errors implements an HTTP error handling plugin. | Package errors implements an HTTP error handling plugin. | 
| 
          
            etcd
            
            
          
           Package etcd provides the etcd version 3 backend plugin. | Package etcd provides the etcd version 3 backend plugin. | 
| 
          
            etcd/msg
            
            
          
           Package msg defines the Service structure which is used for service discovery. | Package msg defines the Service structure which is used for service discovery. | 
| 
          
            federation
            
            
          
           Package federation implements kubernetes federation. | Package federation implements kubernetes federation. | 
| 
          
            file
            
            
          
           Package file implements a file backend. | Package file implements a file backend. | 
| 
          
            file/tree
            
            
          
           Package tree implements Left-Leaning Red Black trees as described by Robert Sedgewick. | Package tree implements Left-Leaning Red Black trees as described by Robert Sedgewick. | 
| 
          
            forward
            
            
          
           Package forward implements a forwarding proxy. | Package forward implements a forwarding proxy. | 
| 
          
            health
            
            
          
           Package health implements an HTTP handler that responds to health checks. | Package health implements an HTTP handler that responds to health checks. | 
| 
          
            kubernetes
            
            
          
           Package kubernetes provides the kubernetes backend. | Package kubernetes provides the kubernetes backend. | 
| 
          
            loadbalance
            
            
          
           Package loadbalance is plugin for rewriting responses to do "load balancing" Package loadbalance shuffles A, AAAA and MX records. | Package loadbalance is plugin for rewriting responses to do "load balancing" Package loadbalance shuffles A, AAAA and MX records. | 
| 
          
            log
            
            
          
           Package log implements basic but useful request (access) logging plugin. | Package log implements basic but useful request (access) logging plugin. | 
| 
          
            metadata
            
            
          
           Package metadata provides an API that allows plugins to add metadata to the context. | Package metadata provides an API that allows plugins to add metadata to the context. | 
| 
          
            metrics
            
            
          
           Package metrics implement a handler and plugin that provides Prometheus metrics. | Package metrics implement a handler and plugin that provides Prometheus metrics. | 
| 
          
            metrics/test
            
            
          
           Package test will scrape a target and you can inspect the variables. | Package test will scrape a target and you can inspect the variables. | 
| 
          
            nsid
            
            
          
           Package nsid implements NSID protocol | Package nsid implements NSID protocol | 
| 
          
            pkg/cache
            
            
          
           Package cache implements a cache. | Package cache implements a cache. | 
| 
          
            pkg/dnstest
            
            
          
           Package dnstest allows for easy testing of DNS client against a test server. | Package dnstest allows for easy testing of DNS client against a test server. | 
| 
          
            pkg/dnsutil
            
            
          
           Package dnsutil contains DNS related helper functions. | Package dnsutil contains DNS related helper functions. | 
| 
          
            pkg/edns
            
            
          
           Package edns provides function useful for adding/inspecting OPT records to/in messages. | Package edns provides function useful for adding/inspecting OPT records to/in messages. | 
| 
          
            pkg/fall
            
            
          
           Package fall handles the fallthrough logic used in plugins that support it. | Package fall handles the fallthrough logic used in plugins that support it. | 
| 
          
            pkg/fuzz
            
            
          
           Package fuzz contains functions that enable fuzzing of plugins. | Package fuzz contains functions that enable fuzzing of plugins. | 
| 
          
            pkg/log
            
            
          
           Package log implements a small wrapper around the std lib log package. | Package log implements a small wrapper around the std lib log package. | 
| 
          
            pkg/nonwriter
            
            
          
           Package nonwriter implements a dns.ResponseWriter that never writes, but captures the dns.Msg being written. | Package nonwriter implements a dns.ResponseWriter that never writes, but captures the dns.Msg being written. | 
| 
          
            pkg/parse
            
            
          
           Package parse contains functions that can be used in the setup code for plugins. | Package parse contains functions that can be used in the setup code for plugins. | 
| 
          
            pkg/singleflight
            
            
          
           Package singleflight provides a duplicate function call suppression mechanism. | Package singleflight provides a duplicate function call suppression mechanism. | 
| 
          
            pkg/uniq
            
            
          
           Package uniq keeps track of "thing" that are either "todo" or "done". | Package uniq keeps track of "thing" that are either "todo" or "done". | 
| 
          
            pkg/up
            
            
          
           Package up is used to run a function for some duration. | Package up is used to run a function for some duration. | 
| 
          
            pkg/upstream
            
            
          
           Package upstream abstracts a upstream lookups so that plugins can handle them in an unified way. | Package upstream abstracts a upstream lookups so that plugins can handle them in an unified way. | 
| 
          
            pprof
            
            
          
           Package pprof implement a debug endpoint for getting profiles using the go pprof tooling. | Package pprof implement a debug endpoint for getting profiles using the go pprof tooling. | 
| 
          
            proxy
            
            
          
           Package proxy is plugin that proxies requests. | Package proxy is plugin that proxies requests. | 
| 
          
            rewrite
            
            
          
           Package rewrite is plugin for rewriting requests internally to something different. | Package rewrite is plugin for rewriting requests internally to something different. | 
| 
          
            route53
            
            
          
           Package route53 implements a plugin that returns resource records from AWS route53 | Package route53 implements a plugin that returns resource records from AWS route53 | 
| 
          
            secondary
            
            
          
           Package secondary implements a secondary plugin. | Package secondary implements a secondary plugin. | 
| 
          
            test
            
            
          
           Package test contains helper functions for writing plugin tests. | Package test contains helper functions for writing plugin tests. | 
| 
          
            trace
            
            
          
           Package trace implements OpenTracing-based tracing | Package trace implements OpenTracing-based tracing | 
| 
          
            whoami
            
            
          
           Package whoami implements a plugin that returns details about the resolving querying it. | Package whoami implements a plugin that returns details about the resolving querying it. | 
| Package request abstracts a client's request so that all plugins will handle them in an unified way. | Package request abstracts a client's request so that all plugins will handle them in an unified way. | 
| Package test contains function and types useful for writing tests | Package test contains function and types useful for writing tests | 
 Click to show internal directories. 
   Click to hide internal directories. 
