write basic API libx to list fly.io hostnames, add new ones, and check whether DNS configured