# Multiple targets for a single DNS record | Cycle.io

Canonical URL: https://cycle.io/community/threads/6a9a6ea2118115badb3876b3/multiple-targets-for-a-single-dns-record

## Multiple targets for a single DNS record

[feature-request](https://cycle.io/community/categories/feature-request)

Hi, we are using non-hosted zones with multiple records to load balance between VMs.

![image](https://cycle.io/community/_cdn/image-7-1139x183-webp.webp)

It seems a bit wrong to have multiple identical records, one can have TLS enabled and one can have it disabled, but this is incorrect, as both will likely have TLS, as the LB seems to enable TLS even if only one is enabled.

A suggestion that would be more logical for this, would be to have a single record, and then allow multiple targets instead. This way we only add a single @ record, enable TLS, and point it to app-1 and app-2, etc.

-   Jake Warner...
    
    Hi Niels,
    
    We actually introduced this functionality about a month ago, but only for HTTP routing.
    
    In your DNS record, if you click Advanced at the bottom, you’ll see an option called Traffic Splitting. You can add variants there. :)
    
    Keep in mind the default route always has a weight of 100 and cannot be disabled. But if you added another route, and gave it a weight of 100, it would receive 50% of the traffic. (Two routes of equal 100 weight)
    
    Does this solve what you’re looking to do?
    
-   Niels Schmidt...
    
    Hi all,  
    If anyone else needs a solution then this is what worked for us, building upon what Jake mentioned above.
    
    We have a zone with a single record pointing to a deployment+container name that does not exist (and must never exist) and then adding all of our target VMs as traffic-splits.
    
      
    This means the following for us:
    
    -   It simplifies our scripts as we do this across 1k+ zones
    -   We can control how much traffic goes to each app-server using the weights
    -   We can also disable an app-server by setting the weight to 0
    
      
    
    Some screenshot of how we configured it on a record in a zone:
    
    ![image](https://cycle.io/community/_cdn/image-12-1150x592-webp.webp)
    
    ![image](https://cycle.io/community/_cdn/image-13-1132x893-webp.webp)
    
      
    
-   Jake Warner...
    
    Thanks for the added context Niels!
    

#### Join the conversation

Sign in with your Cycle account to reply to this thread.

Sign in

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
