My network doesn't see my machine's hostname

Just what it says… After installing Fedora 43 (KDE-Plasma version) I went into a terminal and changed my host-name to “mymachinename,” but nothing on my network recognizes that name. I can ping my machine’s IP address, no problem, but when I try to ping mymachinename I get “ping: cannot resolve mymachinename: Unknown host”

How do I get Fedora 43 to announce itself to the network? My old Windows machine could be found using its PC name, no problem. But for some reason the Fedora machine simply will not do it.

Thanks for any help you can give.

sudo tee /etc/systemd/resolved.conf << EOF > /dev/null
[Resolve]
LLMNR=yes
EOF
sudo systemctl restart systemd-resolved.service

What have setup in hostnamctl?
What is the output of hostnamctl?

Does it take some time for it to happen after activating LLMNR in the resolved service? I did this, restarted the service, and after about 5 minutes it still won’t ping mymachinename.

Do I maybe need to restart my router?

EDIT: I checked the status of the systemd.resolved.service and it does show “Started systemd.resolved.service – Network Name Resolution” in there… So it definitely noticed the contents of that file… It just doesn’t seem to be broadcasting it… Or nothing on my network has yet recognized that broadcast, at least. It’s now been about 10-12 minutes.

Thanks,

honstnamctl shows “mymachinename” next to “Static hostname”. It also shows “My Machine Name” next to “Pretty hostname”. Exactly as expected. Thanks.

Be sure to allow LLMNR traffic in the client’s firewall.
As an alternative, you can try using local DNS.
Specify your router as the only DNS for the client machine.
Also check the list of DHCP leases on the router.
Updating the hostname may require to restart the router.