19 Mar 2025
12:05 PM
- last edited on
21 Mar 2025
01:25 PM
by
IzabelaRokita
Hi!
We are deploying ActiveGates in AWS, and they get the less meaningful ip-1123-123-123-123- names. Is it possible to somehow control their naming, or where do they get their name from?
I tried altering the server's hostname before installing it, but it still picks the private DNS name.
Any suggestions?
19 Mar 2025 04:10 PM
Could you please check this post?
Solved: Rename dynakube-activegate-0 - Dynatrace Community
I hope it helps.
Best regards,
János
25 Mar 2025 08:23 AM
Hi!
This is not kubernetes deployments but deployments on VMs. But thank you for the suggestion!
26 Apr 2026 07:35 PM
When the ActiveGate starts it determines its name by doing a reverse lookup on the primary IP. To change the name the ActiveGate sees, update /etc/hosts locally or if you have a route53 domain configured, add an A record for the host.
For example:
ubuntu@ip-10-0-4-119:~$ getent hosts 10.0.4.119
10.0.4.119 ip-10-0-4-119.ec2.internal
ubuntu@ip-10-0-4-119:~$ echo "10.0.4.119 dynatrace-ag" | sudo tee -a /etc/hosts
10.0.4.119 dynatrace-ag
ubuntu@ip-10-0-4-119:~$ getent hosts 10.0.4.119
10.0.4.119 dynatrace-ag
This results in the correct name after AG restart.
/Lars J.
Featured Posts