hostadd api accept hostname with dash in middle