オペレーティングシステムのアップグレード後にdnsmasqが自動的に起動した後に停止する[閉じる]

オペレーティングシステムのアップグレード後にdnsmasqが自動的に起動した後に停止する[閉じる]

私のrPi2をWheezyからJessieにアップグレードしました。ブート後にdnsmasqが失敗することを除いて、ブートされて大丈夫です。

sudo service dnsmasq status
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: failed (Result: timeout) since Wed 2017-06-07 19:55:39 AEST; 24min ago
  Process: 1526 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=killed, signal=TERM)
  Process: 626 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
  Process: 558 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 634 (code=exited, status=0/SUCCESS)

Jun 07 19:52:22 rpiserver dnsmasq[558]: dnsmasq: syntax check OK.
Jun 07 19:52:22 rpiserver dnsmasq[634]: started, version 2.72 cachesize 150
Jun 07 19:52:22 rpiserver dnsmasq[634]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP con...detect
Jun 07 19:52:22 rpiserver dnsmasq[634]: using nameserver 180.181.127.4#53
Jun 07 19:52:22 rpiserver dnsmasq[634]: using nameserver 180.181.127.3#53
Jun 07 19:52:22 rpiserver dnsmasq[634]: using local addresses only for domain localnet.beta.net
Jun 07 19:52:22 rpiserver dnsmasq[634]: no servers found in /var/run/dnsmasq/resolv.conf, will retry
Jun 07 19:52:22 rpiserver dnsmasq[634]: read /etc/hosts - 7 addresses
Jun 07 19:54:09 rpiserver systemd[1]: dnsmasq.service start-post operation timed out. Stopping.
Jun 07 19:55:39 rpiserver systemd[1]: dnsmasq.service stopping timed out. Terminating.
Jun 07 19:55:39 rpiserver systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Jun 07 19:55:39 rpiserver systemd[1]: Unit dnsmasq.service entered failed state.

sudo dnsmasq を使用して dnsmasq を起動できます。 (背景:isc-DHCPサービスを使用しています。後でdnsmasqをインストールするときにDNSプロキシが必要でした。)

どこを見るかというアイデアはありますか?

構成は次のとおりです。

grep -E -v '(^$)|(^#)' /etc/dnsmasq.conf
domain-needed
bogus-priv
local=/localnet.beta.net/
server=180.181.12.3
server=180.181.12.4
interface=eth0
listen-address=127.0.0.1
no-dhcp-interface=
expand-hosts
domain=alpha.org

ベストアンサー1

申し訳ありません。この質問は削除できます。これはdnsmasqを実行しないためです。欲求不満とより良い解決策のアイデアとして、私はBind9をインストールしました。 isc-dhcpでdnsmasqが提供できるよりも多くのパフォーマンスを発揮し、動作しています:) ありがとうございます。

おすすめ記事