我有 ubuntu 12.04 LTS。使用 dnsmasq 2.59
我正在运行一个显示不满足要求错误的命令。dnsmasq 版本需要为 2.63 或更高版本。
我怎么才能得到它。
我尝试了 apt-get install dnsamsq。但它没有用。
我有 ubuntu 12.04 LTS。使用 dnsmasq 2.59
我正在运行一个显示不满足要求错误的命令。dnsmasq 版本需要为 2.63 或更高版本。
我怎么才能得到它。
我尝试了 apt-get install dnsamsq。但它没有用。
我通过从源代码构建 dnsmasq 2.63 来做到这一点。
文档:http ://www.thekelleys.org.uk/dnsmasq/doc.html
下载:http ://www.thekelleys.org.uk/dnsmasq/
获取压缩包:
wget http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.63.tar.gz
提取它:
tar -xvf dnsmasq-2.63.tar.gz
构建并安装代码:
cd dnsmasq-2.63/
sudo make install
重启 dnsmasq 服务:
sudo service dnsmasq stop
sudo service dnsmasq start
检查版本:
dnsmasq --version
Dnsmasq version 2.63rc6 Copyright (c) 2000-2012 Simon Kelley