Add Quick Start section with minimal Corefile example (#7809)

Signed-off-by: Alxmassy <alexmassy2005@gmail.com>
This commit is contained in:
Alex Massy
2026-01-13 18:52:54 +05:30
committed by GitHub
parent dd62f6e038
commit d8ff130a00

View File

@@ -84,6 +84,28 @@ docker run --rm -i -t \
The above command alone will have `coredns` binary generated.
## Quick Start
Create a minimal Corefile:
```bash
cat > Corefile <<EOF
.:53 {
forward . 8.8.8.8
log
}
EOF
```
Run CoreDNS:
```
$ ./coredns -conf Corefile
```
Test it:
```
$ dig @127.0.0.1 google.com
```
## Examples
When starting CoreDNS without any configuration, it loads the