Add ip validation to nameserver