Problem Statement: Loading the projects in Sonar homepage is taking long time after changing the DNS in our Linux server. Steps followed:
Added the new DNS details in 4 files in Linux, i.e. dhclient.conf, ifcfg-eth1, dhclient.conf and resolve.conf Expected: All / Favorite projects should load without any delay Actual: I guess, Sonar is trying to access the old DNS which is not available and then searching for the new DNS which takes time to load the project.
Is there any other location that I need to update the new DNS or what could be the reason for project loading slowness?
We are using SonarQube version “sonar-application-8.9.1.44547”
Experts, please provide the solution for this issue.
SonarQube relies on the DNS capabilities of the host/host network. There are no settings within the product that would need to be modified. I recommend you work with your network administrators to resolve the issue.
I have replaced the new DNS in /opt/sonarqube/conf/sonar.properties file.
Please find the change below, ldap.server1.url=ldap://IP Address
Also, I have updated the below files with new DNS IP in Linux Server, etc\dhcp\dhclient.conf etc\sysconfig\network-scripts\ifcfg-eth0 etc\sysconfig\network-scripts\ifcfg-eth1 /etc/resolv.conf
Please let me know where SonarQube is referring the DNS to load the project.