Hello,
I encountered a strange DNS problem at one of my sites. As far as I resolve “login.microsoftonline.com” it works a few minutes and then I received an empty DNS response.
After a little bit of research, I found out that the problem is related to the DNS Cache and the different TTLs of the recursive resolution of “login.microsoftonline.com”.
login.microsoftonline.com has a TTL of approx. 3,5h and all following resolved entries have a TTL of 5min.
If I resolve login.microsoftonline.com the first time the DNS Server caches all entrys.
1 login.microsoftonline.com CNAME login.mso.msidentity.com. 11m57s
2 login.mso.msidentity.com CNAME ak.privatelink.msidentity.com. 1m8s
3 ak.privatelink.msidentity.com CNAME www.tm.ak.prd.aadg.trafficmanager.net. 1m8s
4 www.tm.ak.prd.aadg.trafficmanager.net A 20.190.154.16 1m8s
5 www.tm.ak.prd.aadg.trafficmanager.net A 40.126.26.135 1m8s
6 www.tm.ak.prd.aadg.trafficmanager.net A 20.190.154.136 1m8s
7 www.tm.ak.prd.aadg.trafficmanager.net A 20.190.154.18 1m8s
8 www.tm.ak.prd.aadg.trafficmanager.net A 20.190.154.139 1m8s
9 www.tm.ak.prd.aadg.trafficmanager.net A 20.190.154.137 1m8s
10 www.tm.ak.prd.aadg.trafficmanager.net A 40.126.26.132 1m8s
11 www.tm.ak.prd.aadg.trafficmanager.net A 20.190.154.17 1m8s
After the TTL expired the entries will be deleted, except the entry of login.microsoftonline.com.
1 login.microsoftonline.com CNAME login.mso.msidentity.com. 10m7s
From this point, login.microsoftonline.com will get an empty response. As long as the TTL of login.microsoftonline.com is not expired.
My current DNS Configuration is
/ip dns
set allow-remote-requests=yes cache-max-ttl=15m cache-size=2048KiB max-concurrent-queries=100 max-concurrent-tcp-sessions=20 max-udp-packet-size=768 query-server-timeout=2s query-total-timeout=10s servers=1.1.1.1 use-doh-server="" verify-doh-cert=no
Is this a configuration issue or a bug?