This is a launchd item for Mac OS X and Mac OS X Server.
For more information about launchd, the
"System wide and per-user daemon/agent manager", see the launchd
man page, or the wikipedia page: http://en.wikipedia.org/wiki/Launchd
This launchd item uses the following flags:
--keep-in-foreground - this is crucial for use with launchd
--log-queries - this is optional and you can remove it
--log-facility=/var/log/dnsmasq.log - again optional instead of system.log
To use this launchd item for dnsmasq:
If you don't already have a folder /Library/LaunchDaemons, then create one:
sudo mkdir /Library/LaunchDaemons
sudo chown root:admin /Library/LaunchDaemons
sudo chmod 775 /Library/LaunchDaemons
Copy uk.org.thekelleys.dnsmasq.plist there and then set ownership/permissions:
sudo cp uk.org.thekelleys.dnsmasq.plist /Library/LaunchDaemons/
sudo chown root:admin /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
sudo chmod 644 /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
Optionally, edit your dnsmasq configuration file to your liking.
To start the launchd job, which starts dnsmaq, reboot or use the command:
sudo launchctl load /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
To stop the launchd job, which stops dnsmasq, use the command:
sudo launchctl unload /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
If you want to permanently stop the launchd job, so it doesn't start the job even after a reboot, use the following command:
sudo launchctl unload -w /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
If you make a change to the configuration file, you should relaunch dnsmasq;
to do this unload and then load again:
sudo launchctl unload /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
sudo launchctl load /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
没有合适的资源?快使用搜索试试~ 我知道了~
C-dnsmasq-2.71.tar.gz
需积分: 5 0 下载量 5 浏览量
2023-02-14
14:04:14
上传
评论
收藏 626KB GZ 举报
温馨提示
共128个文件
c:30个
readme:12个
po:10个
Dnsmasq为小型网络提供网络基础设施:DNS,DHCP,路由器通告和网络引导。它被设计为轻量级且占用空间小,适用于资源受限的路由器和防火墙。它还被广泛用于智能手机和便携式热点的共享,并支持虚拟化框架中的虚拟网络。支持的平台包括Linux(带有glibc和uclibc),Android,* BSD和Mac OS X. Dnsmasq包含在大多数Linux发行版以及FreeBSD,OpenBSD和NetBSD的端口系统中。Dnsmasq提供完整的IPv6支持。
资源推荐
资源详情
资源评论
收起资源包目录
C-dnsmasq-2.71.tar.gz (128个子文件)
dhcp_release.1 1KB
dhcp_lease_time.1 851B
README-2.47 476B
dnsmasq-2.68-try-all-ns 1KB
dnsmasq.8 118KB
dnsmasq.8 97KB
dnsmasq.8 72KB
CHANGELOG.archive 103KB
bloat-o-meter 4KB
option.c 118KB
rfc2131.c 76KB
forward.c 63KB
rfc3315.c 62KB
dnssec.c 59KB
rfc1035.c 59KB
dnsmasq.c 45KB
cache.c 41KB
network.c 40KB
dhcp.c 31KB
lease.c 28KB
dhcp-common.c 25KB
radv.c 23KB
dhcp6.c 22KB
auth.c 21KB
helper.c 21KB
tftp.c 20KB
dbus.c 16KB
bpf.c 12KB
log.c 12KB
util.c 12KB
netlink.c 11KB
dhcp_release.c 8KB
ipset.c 6KB
slaac.c 6KB
dhcp_lease_time.c 6KB
domain.c 5KB
blockdata.c 4KB
conntrack.c 3KB
outpacket.c 2KB
CHANGELOG 72KB
dnsmasq.conf 475B
trust-anchors.conf 301B
COPYING 18KB
COPYING-v3 34KB
create_package 3KB
README.create_package 1KB
dhcp.css 755B
DBus-interface 5KB
dbus_activation 2KB
dhclient-enter-hooks 711B
DNSmasq 294B
dnsmasq-portforward 2KB
rc.dnsmasq-suse 2KB
dnsmasq.conf.example 25KB
FAQ 24KB
get-version 975B
.gitignore 230B
dnsmasq.leasedir.diff.gz 435B
doinst.sh.gz 302B
rc.dnsmasq.gz 265B
dnsmasq.h 44KB
config.h 11KB
dns-protocol.h 4KB
dhcp-protocol.h 3KB
dhcp6-protocol.h 2KB
ip6addr.h 1KB
radv-protocol.h 1KB
setup.html 12KB
doc.html 5KB
favicon.ico 1KB
install-man 165B
install-mo 175B
macscript 951B
Makefile 6KB
Makefile 113B
Android.mk 722B
Android.mk 76B
lease.access.patch 16KB
dnsmasq2-loc-rfc1876.patch 15KB
dnsmasq-2.35-try-all-ns.patch 2KB
dnsmasq.patch 2KB
dnsmasq-SuSE.patch 743B
dnsmasq-2.47_no_nxdomain_until_end.patch 679B
pkg-wrapper 766B
dnslist.pl 26KB
dynamic-dnsmasq.pl 7KB
StartupParameters.plist 429B
uk.org.thekelleys.dnsmasq.plist 412B
icon.png 3KB
fr.po 55KB
pl.po 54KB
es.po 53KB
de.po 53KB
ro.po 46KB
id.po 46KB
no.po 45KB
fi.po 33KB
pt_BR.po 33KB
it.po 33KB
portforward 1KB
共 128 条
- 1
- 2
资源评论
李小白20200202
- 粉丝: 3987
- 资源: 70
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功