0

我有 ubuntu 12.04 LTS。使用 dnsmasq 2.59

我正在运行一个显示不满足要求错误的命令。dnsmasq 版本需要为 2.63 或更高版本。

我怎么才能得到它。

我尝试了 apt-get install dnsamsq。但它没有用。

4

1 回答 1

0

我通过从源代码构建 dnsmasq 2.63 来做到这一点。

文档:http ://www.thekelleys.org.uk/dnsmasq/doc.html

下载:http ://www.thekelleys.org.uk/dnsmasq/

  1. 获取压缩包:

    wget http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.63.tar.gz

  2. 提取它:

    tar -xvf dnsmasq-2.63.tar.gz

  3. 构建并安装代码:

    cd dnsmasq-2.63/ sudo make install

  4. 重启 dnsmasq 服务:

    sudo service dnsmasq stop sudo service dnsmasq start

  5. 检查版本:

    dnsmasq --version Dnsmasq version 2.63rc6 Copyright (c) 2000-2012 Simon Kelley

于 2014-09-22T18:19:37.587 回答