convert domain name 2 cidr format