Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Giving a DNS name to Azure Load Balancer

I have created a Load Balancer with public IP. Based on the documentation, I can access the LB with the following FQDN : 'LB name'.'region'.cloudapp.azure.com

It is not working.

When you create a VM, you have option when you click on the public IP link of the machine to add DNS name, but when doing the same from the LB setting, it does not give this option. Just to choose if this IP is dynamic or static.

like image 238
Moshe Avatar asked Apr 27 '17 14:04

Moshe


People also ask

How do I set my Azure DNS name to load balancer?

one option is to create a public IP address first Home:New:Public IP address then you will get a dns yourname . ´yourlocation'. cloudapp.azure.com Same you can assign when creating the load balancer.

What is DNS name in load balancer?

Each Classic Load Balancer receives a default Domain Name System (DNS) name. This DNS name includes the name of the AWS Region in which the load balancer is created.

How can DNS be used to load balance services?

How DNS Load Balancing Works. DNS load balancing relies on the fact that most clients use the first IP address they receive for a domain. In most Linux distributions, DNS by default sends the list of IP addresses in a different order each time it responds to a new client, using the round‑robin method.


2 Answers

Just go directly to the Public IP (that's tied to the LB) settings and assign DNS name to it. It wont work if you navigate to it from within LB settings.

enter image description here

like image 61
4c74356b41 Avatar answered Sep 20 '22 05:09

4c74356b41


one option is to create a public IP address first Home:New:Public IP address then you will get a dns yourname.´yourlocation’.cloudapp.azure.com Same you can assign when creating the load balancer.

like image 42
Liju Raju Avatar answered Sep 18 '22 05:09

Liju Raju