.localhost TLD currently not replying

Hello !

I wanted to use .localhost TLD, however code seems to be "do not propagate to DNS"

It seems RFC 6761 has a special section for .localhost TLD, which basically say to answer with IP loopback (ie 127.0.0.1)

My understanding is that replacing server=/localhost/ with address=/.localhost/127.0.0.1 would do the trick.

Would you want a PR on this (I'll need to work out how to test it too :wink: )?

Thanks a lot for any answer :slight_smile: