https://github.com/formerandroider/coredns-rreflector
https://github.com/formerandroider/coredns-rreflector
coredns rdns
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/formerandroider/coredns-rreflector
- Owner: formerandroider
- Created: 2019-11-30T01:46:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T05:28:59.000Z (over 6 years ago)
- Last Synced: 2024-03-31T20:38:18.926Z (over 2 years ago)
- Topics: coredns, rdns
- Language: Go
- Size: 25.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rreflector
## Name
_rreflector_ - Reflects the IP (with an optional host) back for all `in-addr.arpa` and `ip6.arpa` PTR requests handled by the plugin.
## Description
_rreflector_ handles queries for `.in-addr.arpa.` and `.ip6.arpa.` and responds with a PTR record consisting of the requested sub-name, reversed, with an optional HOST appended.
## Syntax
`rreflector [HOST]`
* HOST hostname to append to IP address
## Examples
Reflect the IP back for any rDNS request for an IP in the 192.168.0.0.24 range.
```
192.168.0.0/24 {
rreflector
}
```
Reflect the IP back, appended with the `.example.com` root domain, for any rDNS request for an IP in the 192.168.0.0.24 range.
```
192.168.0.0/24 {
rreflector example.com
}
```