Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Connectivity > age_net
validate_fqdn/1
Description
validate_fqdn/1 is an Erlang function exported by "age_net" module.
This function validates an input string for correctly formed fully qualified domain name (FQDN).
References
None
Parameters
Name
Type
Input
string()
Input string with domain name.
Result
Value or Type
boolean()
Returns true if the FQDN is correctly formed.
Code Sample
> age_net:validate_fqdn("binetix.net").
true
> age_net:validate_fqdn("binetix.net.1").
false