Does .Net Respect DNS TTL Values

流过昼夜 提交于 2021-02-08 14:43:57

问题


I'm having a hard time finding information about whether or not .Net (C# specifically if it matters) respects the TTL values for DNS entries. I believe it does not based on the information I found here. I noticed in other places that Java also does not respect DNS TTL values (Any way to make Java honor the DNS Caching Timeout (TTL)?). Am I right that the only way to control how long a DNS lookup is cached is by using the ServicePointManager.DnsRefreshTimeout property? If this is a case does anyone have information on why this is the case? Seems like a non-obvious choice for programming languages.

来源:https://stackoverflow.com/questions/17454925/does-net-respect-dns-ttl-values

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!