|
|
@ -2,9 +2,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
This is an openwrt feed that contains definitions to include CoreDNS software into your OpenWRT build. |
|
|
|
This is an openwrt feed that contains definitions to include CoreDNS software into your OpenWRT build. |
|
|
|
|
|
|
|
|
|
|
|
## how to add the feed into your build |
|
|
|
## install from a binary |
|
|
|
|
|
|
|
|
|
|
|
> see for details: https://openwrt.org/docs/guide-developer/feeds |
|
|
|
1. download an ipk file from the releases page https://code.tokarch.uk/mainnika/openwrt-feed-coredns/releases |
|
|
|
|
|
|
|
2. put the file to the device, e.g. path `/tmp/coredns.ipk` |
|
|
|
|
|
|
|
2. use opkg to install the downloaded file, e.g. `opkg install /tmp/coredns.ipk` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## how to add the feed into your build |
|
|
|
|
|
|
|
|
|
|
|
1. open your feeds.conf.default and add the following line: |
|
|
|
1. open your feeds.conf.default and add the following line: |
|
|
|
|
|
|
|
|
|
|
@ -18,6 +22,8 @@ This is an openwrt feed that contains definitions to include CoreDNS software in |
|
|
|
|
|
|
|
|
|
|
|
`./scripts/feeds install -a -p feed_coredns` |
|
|
|
`./scripts/feeds install -a -p feed_coredns` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> see for details: https://openwrt.org/docs/guide-developer/feeds |
|
|
|
|
|
|
|
|
|
|
|
## service init |
|
|
|
## service init |
|
|
|
|
|
|
|
|
|
|
|
The package setups an init script `/etc/init.d/coredns` and uci config section: |
|
|
|
The package setups an init script `/etc/init.d/coredns` and uci config section: |
|
|
|