Add boolean validation; simplify fqdn validation.