In systemd, MDNS (avahi-daemon) stops broadcasting the network interface after the network restart. However, for the same scenario, in system init, MDNS will work perfectly normal.
Tried:
- Changed the avahi-daemon configuration file
- restart the avahi-daemon after restarting the network
- Checked the firewall (no firewall)
- Tried systemd-resolved
- Changed hostapd configuration