Add an event loop, check availability

Interactively keep generating names,  And confirm availability
using DNS query.