How can I lookup host name from snap core using avahi (mDNS)?

Correct, this is only supported from edge core
$ snap refresh core --edge

Thanks @ondra and @jdstrand . We all need a holiday, a very long holiday…

And layout feature is cool, it is the one I wanted to know.
I confirmed your example worked with my RasPi3. Awesome!
Now I’m quite sure I can setup my snap to use avahi name service.

Thank you so much your effort.