MCPcopy
hub / github.com/nextdns/nextdns

github.com/nextdns/nextdns @v1.47.3 sqlite

repository ↗ · DeepWiki ↗ · release v1.47.3 ↗
1,402 symbols 3,895 edges 192 files 302 documented · 22%
README

NextDNS CLI Client

NextDNS CLI is a command-line tool that allows you to use NextDNS's DNS-over-HTTPS (DoH) service with advanced capabilities. Although the most advanced features will only work with NextDNS, this program can work as a client for any DoH provider or a mix of NextDNS + another DNS (split horizon).

This CLI is mostly aimed at routers and UNIX based systems, but it is also a great client for Windows and macOS, especially for people who prefer a fully open-source client and don't mind the lack of a GUI.

See the wiki for installation and usage instructions.

Extension points exported contracts — how you extend this code

ResourceBody (Interface)
A ResourceBody is a DNS resource record minus the header. [14 implementers]
internal/dnsmessage/message.go
Service (Interface)
(no doc) [15 implementers]
host/service/service.go
HostResolver (Interface)
(no doc) [8 implementers]
proxy/proxy.go
Source (Interface)
(no doc) [8 implementers]
discovery/resolver.go
Router (Interface)
(no doc) [8 implementers]
router/router.go
Provider (Interface)
Provider is a type responsible for producing a list of Endpoint. [3 implementers]
resolver/endpoint/endpoint.go
Logger (Interface)
(no doc) [4 implementers]
host/log.go
Resolver (Interface)
Resolver is an interface to a type that send q to a resolver using a specific transport. [2 implementers]
resolver/resolver.go

Core symbols most depended-on inside this repo

Errorf
called by 219
host/log.go
Command
called by 71
ctl/server.go
String
called by 63
host/service/config.go
Close
called by 55
ctl/client.go
Close
called by 53
ctl/internal/winio/file.go
Run
called by 52
host/service/internal/run_unix.go
pack
called by 44
internal/dnsmessage/message.go
GoString
called by 36
internal/dnsmessage/message.go

Shape

Method 641
Function 545
Struct 168
TypeAlias 27
Interface 18
FuncType 3

Languages

Go100%

Modules by API surface

internal/dnsmessage/message.go219 symbols
ctl/internal/winio/zsyscall_windows.go40 symbols
host/service/config.go37 symbols
ctl/internal/winio/pipe.go33 symbols
ctl/internal/winio/file.go29 symbols
ctl/internal/winio/pipe_test.go27 symbols
resolver/endpoint/endpoint.go26 symbols
discovery/dns.go23 symbols
resolver/endpoint/manager_test.go21 symbols
resolver/endpoint/manager.go20 symbols
internal/resolved/resolved_linux.go19 symbols
ctl/internal/winio/backup.go19 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/denisbrodbeck/machineidv1.0.1 · 1×
github.com/dustin/go-humanizev1.0.1 · 1×
github.com/godbus/dbus/v5v5.2.2 · 1×
github.com/hashicorp/golang-lru/v2v2.0.7 · 1×
golang.org/x/netv0.53.0 · 1×
golang.org/x/sysv0.43.0 · 1×

For agents

$ claude mcp add nextdns \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact