Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aa65535 committed Sep 12, 2016
1 parent e490a01 commit bcc4b34
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,29 @@ DNS-Forwarder for OpenWrt

[![Download][B]][2]

Forwarding DNS queries on TCP transport. For more information see the [Wiki][0].
简介
---

[0]: https://github.com/aa65535/openwrt-chinadns/wiki/Use-DNS-Forwarder
本项目是 [DNS-Forwarder][1] 在 OpenWrt 上的移植

编译
---

- 从 OpenWrt 的 [SDK][S] 编译

```bash
# 以 ar71xx 平台为例
tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
cd OpenWrt-SDK-ar71xx-*
# 获取 Makefile
git clone https://github.com/aa65535/openwrt-dns-forwarder.git package/dns-forwarder
# 选择要编译的包 Network -> ChinaDNS
make menuconfig
# 开始编译
make package/dns-forwarder/compile V=99
```

[1]: https://github.com/aa65535/hev-dns-forwarder
[2]: https://github.com/aa65535/openwrt-dns-forwarder/releases/latest
[B]: https://img.shields.io/badge/Download-v1.0.2-blue.svg
[B]: https://img.shields.io/badge/Download-v1.1.0-blue.svg
[S]: https://wiki.openwrt.org/doc/howto/obtain.firmware.sdk

0 comments on commit bcc4b34

Please sign in to comment.