首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >dnsmasq - Apple Silicon M1上的服务状态问题

dnsmasq - Apple Silicon M1上的服务状态问题
EN

Stack Overflow用户
提问于 2021-03-29 14:38:56
回答 1查看 867关注 0票数 1

开始了。起作用了。但状态未知。

代码语言:javascript
运行
复制
$ brew services list
Name Status User Plist
dnsmasq unknown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

$ ping test90.local
PING test90.local (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.059 ms

$ sudo lsof -nP -iUDP | grep :53
mDNSRespo 208 _mdnsresponder 6u IPv4 0x4316bcf762302a5 0t0 UDP *:5353
mDNSRespo 208 _mdnsresponder 7u IPv6 0x4316bcf7622d70d 0t0 UDP *:5353
Commander 5611 sbaczyk 24u IPv4 0x4316bcf7475f9ed 0t0 UDP *:53671
dnsmasq 19828 nobody 4u IPv4 0x4316bcf7622f705 0t0 UDP 10.0.0.222:53
dnsmasq 19828 nobody 6u IPv4 0x4316bcf7622ffbd 0t0 UDP 127.0.0.1:53
dnsmasq 19828 nobody 8u IPv6 0x4316bcf7622d13d 0t0 UDP [fe80:10::9f5:a4eb:80c7:478a]:53
dnsmasq 19828 nobody 10u IPv6 0x4316bcf7622e87d 0t0 UDP [fe80:f::c6d6:4b39:3453:5eb0]:53
dnsmasq 19828 nobody 12u IPv6 0x4316bcf7622ee4d 0t0 UDP [fe80:e::604c:88ff:feb3:f84d]:53
dnsmasq 19828 nobody 14u IPv6 0x4316bcf7622d9f5 0t0 UDP [fe80:d::604c:88ff:feb3:f84d]:53
dnsmasq 19828 nobody 16u IPv6 0x4316bcf7616a87d 0t0 UDP [fe80️:140c:6b55:cf47:9a25]:53
dnsmasq 19828 nobody 18u IPv6 0x4316bcf76169cdd 0t0 UDP [fe80:5::1c00:62ff:fe3c:4c68]:53
dnsmasq 19828 nobody 20u IPv6 0x4316bcf7616b41d 0t0 UDP [fe80:4::1c00:62ff:fe3c:4c69]:53
dnsmasq 19828 nobody 22u IPv6 0x4316bcf7616ab65 0t0 UDP [fe80:1::1]:53
dnsmasq 19828 nobody 24u IPv6 0x4316bcf7616ae4d 0t0 UDP [::1]:53

我使用以下命令执行安装

代码语言:javascript
运行
复制
brew install dnsmasq
echo 'address=/.local/127.0.0.1' > /opt/homebrew/etc/dnsmasq.conf
sudo brew services start dnsmasq
brew services list

一些调试信息。

代码语言:javascript
运行
复制
$ brew config
HOMEBREW_VERSION: 3.0.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: ed87211daa83982a6136e14d181a1550b46a0f17
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 02df6b76b81fa4e5ca13d3c7f4336d9a93c776e1
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0 build 1200
Git: 2.24.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.3-arm64
CLT: 12.4.0.0.1.1610135815
Xcode: N/A
Rosetta 2: false

% brew doctor
Your system is ready to brew.

还有什么我需要检查的吗?如果此状态显示正确,那就更好了。

EN

回答 1

Stack Overflow用户

发布于 2021-04-07 15:32:59

这是因为您以超级用户身份运行dnsmasq。运行sudo brew services list,您将看到状态。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66849664

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档