Hello @Akash Acharya ,
I hope you are doing great!
To make it short, what you are suspecting is right. In case of subnet routing, Traffic manager mostly checks the recursive DNS resolver IP and not the end user IP unless it passed on the EDNS.
You can also check if a client is ECS-supported by running either of the following DNS queries.
nslookup -q=txt o-o.myaddr.l.google.com
Below indicates that the LDNS IP is 20.48.x.x
, and the ECS-supported IP is 60.77.x.x
. Traffic Manager would use the ECS-supported IP for routing.
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
o-o.myaddr.l.google.com text =
"20.48.x.x"
o-o.myaddr.l.google.com text =
"edns0-client-subnet 60.77.x.x/24"
The same can also be checked by using dig:
dig +short TXT o-o.myaddr.l.google.com
Please let me know if this helps by accepting the answer.