#author("2023-02-26T13:03:16+09:00","default:honma","honma") #author("2023-02-26T13:09:27+09:00","default:honma","honma") * dnsmasqが異ネットワークから応答しないとき [#n9356180] アップデートしたらDebian環境で異ネットワークからdnsmasqが応答していない気がする... ** ステータスの確認 [#nb3cce54] $ systemctl status dnsmasq.service ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2023-02-26 11:12:39 JST; 3min 34s ago Process: 2987 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=0/SUCCESS) Process: 2994 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS) Process: 3002 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS) Main PID: 3001 (dnsmasq) Tasks: 1 (limit: 1654) Memory: 424.0K CPU: 136ms CGroup: /system.slice/dnsmasq.service mq3001 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx なにやら --local-service が怪しい ** 編集 [#m6d74c84] $ sudo nano /etc/init.d/dnsmasq 下記のように変更 #DNSMASQ_OPTS="${DNSMASQ_OPTS} --local-service" DNSMASQ_OPTS="${DNSMASQ_OPTS}" ** 再起動 [#pc87e871] $ sudo systemctl restart dnsmasq ~ #htmlinsert(amazon_pc.html);