Skip to content

Commit

Permalink
docs: update readme [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed Oct 13, 2021
1 parent 23399cd commit b21775a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[![Go](https://github.com/muety/caddy-remote-host/workflows/Go/badge.svg)](https://github.com/muety/caddy-remote-host/actions)
![Coding Time](https://img.shields.io/endpoint?url=https://wakapi.dev/api/compat/shields/v1/n1try/interval:any/project:caddy-remote-host&color=blue&label=coding%20time)

# caddy-remote-host

Caddy plugin to match a request's client IP against A and AAAA DNS records of a host name (analogously
to [`remote_ip`](https://caddyserver.com/docs/caddyfile/matchers#remote-ip)). Can be useful to restrict route access to
a client, that uses dynamic DNS. Uses the host machine's local DNS resolver (
uses [LookupIP](https://pkg.go.dev/net?utm_source=godoc#LookupIP) internally).
a client, that uses dynamic DNS. Uses the host machine's local DNS resolver (uses [LookupIP](https://pkg.go.dev/net?utm_source=godoc#LookupIP) internally).

## Usage

Expand All @@ -30,4 +30,4 @@ remote_host ddns.example.org

## License

Apache 2.0
Apache 2.0

0 comments on commit b21775a

Please sign in to comment.