问题描述
对于我正在开发的软件,我需要有一个Google App Engine用于urlFetch请求的外部IP地址列表。获得完整的清单证明是困难的。
For software I am developing, I need to have a list of external IP addresses that Google App Engine uses for urlFetch requests. Getting a complete list is proving difficult.
详见是使用...的输出。
The accepted wisdom as detailed on SO is to use the output from...
dig -t txt _netblocks.google.com
dig -t txt _netblocks.google.com
......但不幸的是这个清单不完整。例如,我的urlFetch请求目前来自未列出的地址:
...but unfortunately this list is incomplete. For example, my urlFetch requests currently emerge from unlisted addresses:
- 基于美国的应用程序:8.35.201.x
- 基于EU的应用程序:8.35.200.x
有没有办法获得主动更新的外部IP地址列表由urlFetch使用?
Is there any way to get an actively updated list of external IP addresses used by urlFetch?
推荐答案
官方建议是。请注意,由于该页面上列出的所有原因,依赖静态IP地址是不好的。
The official advice is https://developers.google.com/appengine/kb/general#static-ip. Note that relying on Static IP addresses is bad, for all the reasons listed on that page.
这篇关于Google App Engine - 不在_netblocks.google.com中的urlFetch地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!