If you prefer, I think Avahi is able to publish other TLDs, but I played around with it just now and couldn’t get it to work. If you have any luck, let me know what worked for you and I’ll try to add support :)
This is what I tried, but it fails with Failed to add address: Not supported:
<span style="color:#323232;"># Set domain-name=lan and enable-wide-area=no
</span><span style="color:#323232;">nano /etc/avahi/avahi-daemon.conf
</span><span style="color:#323232;">sudo avahi-daemon --reload
</span><span style="color:#323232;">sudo avahi-publish-address -R example.lan 192.168.1.123
</span>