File tree Expand file tree Collapse file tree 4 files changed +77
-0
lines changed Expand file tree Collapse file tree 4 files changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ # See avahi-daemon.conf(5) for more information on this configuration
2+ # file!
3+ # This is specifically tailored for testing mDNS in Zephyr OS.
4+
5+ [server]
6+ host-name=zephyr
7+ domain-name=local
8+ use-ipv4=yes
9+ use-ipv6=yes
10+ allow-interfaces=eth0
11+ enable-dbus=no
12+ #browse-domains=0pointer.de, zeroconf.org
13+ #disallow-other-stacks=no
14+ #allow-point-to-point=no
15+ #cache-entries-max=4096
16+ #clients-max=4096
17+ #objects-per-client-max=1024
18+ #entries-per-entry-group-max=32
19+ ratelimit-interval-usec=1000000
20+ ratelimit-burst=1000
21+
22+ [wide-area]
23+ enable-wide-area=no
24+
25+ [publish]
26+ #disable-publishing=yes
27+ #disable-user-service-publishing=no
28+ #add-service-cookie=no
29+ #publish-addresses=yes
30+ publish-hinfo=no
31+ publish-workstation=no
32+ #publish-domain=yes
33+ #publish-dns-servers=192.168.50.1, 192.168.50.2
34+ #publish-resolv-conf-dns-servers=yes
35+ #publish-aaaa-on-ipv4=yes
36+ #publish-a-on-ipv6=no
37+
38+ [reflector]
39+ #enable-reflector=no
40+ #reflect-ipv=no
41+
42+ [rlimits]
43+ #rlimit-as=
44+ rlimit-core=0
45+ rlimit-data=4194304
46+ rlimit-fsize=0
47+ rlimit-nofile=768
48+ rlimit-stack=4194304
49+ rlimit-nproc=3
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Kill any other avahi-daemon running in the container. We want to use
4+ # our configuration.
5+ killall avahi-daemon
6+
7+ # Disable UDP checksum offloading (this forces the calculation of the checksum)
8+ ethtool --offload eth0 rx off tx off
9+
10+ avahi-daemon -f /etc/avahi-daemon.conf
Original file line number Diff line number Diff line change 1+ # Sample dnsmasq for testing DNS and DHCPv4
2+
3+ interface=eth0
4+ port=5353
5+ bind-interfaces
6+ no-resolv
7+
8+ address=/www.zephyrproject.org/192.0.2.2
9+ address=/www.zephyrproject.org/2001:db8::2
10+
11+ domain=zephyr.test
12+ dhcp-range=192.0.2.16,192.0.2.32,1h
13+ log-dhcp
14+
15+ user=root
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ dnsmasq -C /etc/dnsmasq.conf
You can’t perform that action at this time.
0 commit comments