Skip to content

Commit e2a5bfd

Browse files
committed
Update README - add localCacheDuration to example
1 parent 0ff9926 commit e2a5bfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ Then add it to Corefile:
6868
netbox {
6969
token <YOU-NETBOX-API-TOKEN>
7070
url <https://netbox.example.org>
71+
localCacheDuration <The duration to keep each entry locally before querying netbox again. Use go `time.Duration` notation>
7172
}
7273
}
7374
```
7475

76+
The config parameters are mandatory.
7577
## Developing locally
7678

7779
You can test the plugin functionallity with CoreDNS by adding the following to

0 commit comments

Comments
 (0)