Retrieving IPv4 and IPv6 Addresses for your Vultr Load Balancer allows you to obtain the network addresses associated with your Load Balancer. These addresses are essential for configuring DNS settings, integrating with other services, or ensuring correct network routing. By noting these addresses, you can efficiently manage and direct traffic to your Load Balancer.
Follow this guide to retrieve IPv4 and IPv6 addresses for your Vultr Load Balancer using the Vultr Customer Portal, API, or CLI.
Send a GET
request to the List Load Balancers endpoint and note the target Load Balancer's ID.
$ curl "https://api.vultr.com/v2/load-balancers" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Get Load Balancer endpoint and note the IPv4 and IPv6 addresses for the target Load Balancer.
$ curl "https://api.vultr.com/v2/load-balancers/{load-balancer-id}" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all available instances and note the target Load Balancer's ID.
$ vultr-cli load-balancer list
Retrieve the IPv4 and IPv6 addresses for the target Load Balancer.
$ vultr-cli load-balancer get <load-balancer-id>
No comments yet.