@mahmut ozdemir
This statement
is only part of the story.
To be honest, it seems to be the case that there is very likely something happening in your own network config.
In both traces from the Ankara data center server (45.10.151.253, AS218391), there is a "drop" after the second hop.
The first trace (via 156.146.52.26 / CDN77 / Istanbul ) is completely dropped for hops 3 to 4
and afterwards.
The second trace (via 79.127.211.90 / CDN77 / Frankfurt ) also drops for hops 3 to 4 and afterwards,
with connection resumption afterwards (with delays).
If you would ask me, then something simply happens on the "local network" - network congestion, router issues, bad network config etc.
This statement
actually confirms that something - probably - is happening on the local network.
After all, editing /etc/hosts is (more or less) a cheat code : it tells the server to skip resolving domain names and instantly go to a specific IP.
Moreover, if you do not have the "* * *" in traceroute output when you add IPs to /etc/hosts, then your traffic is not blocked or dropped .........
........... and if you do have "* * *" in traces when /etc/hosts is not containing those IPs, then it simply is the case that your probes
are not blocked
.......... and in that case, the probes are simply not resolved : they time out (and are dropped afterwards, after time out).
This issue is - almost every time - related to something on the local network.
By the way, you cannot base your results on one or a couple of traces ....... you should do that multiple times in order to get an unbiased result.
It might help to do the (multiple) traces again with another resolver.
So, you would have 4 (traceroute) tests : (1) old setup + /etc/hosts/ not edited + old resolver, (2) old setup + /etc/hosts edited + old resolver, (3) old setup + /etc/hosts/ not edited + new resolver, (4) old setup + /etc/hosts edited + new resolver.
I really have to emphasize that, if all of these tests return the same results as before, there probably is something wrong with the network setup .... or you have inherited a number of IPs that are considered to be bad (which should not be the case in your situation, if I am not mistaken).
Kind regards...