问题原文
原帖链接 · Bunkai.Satori · CC BY-SA 3.0
Google Domains supports Dynamic DNS. That is great since my domain and Dynamic DNS information can come from the same provider.
For Dynamic DNS to work, I usually need the following info:
- Update URL
- Hostname
- Username
- Password
Of the four variables above, I know three. From Google, I can get Username and Password. I also know my server's hostname. However, I do not know the Update URL. In other words, I do not know to which Google server I should send the information to in order to update my IP Address.
Which Google Domains server should I notify about my IP Address change?
已采纳解答
原帖链接 · dan · CC BY-SA 3.0
According to the Dynamic DNS docs for Google Domains, under the section for their API (near the bottom), the base Update URL is:
https://domains.google.com/nic/update
The format for this URL to submit a POST request (GET is also allowed) for your Google domain is:
https://username:[email omitted]/nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4
Where your hostname would equal your Google domain, including www or other subdomain you're redirecting, and myip equaling the IP address of where to update the redirection to.
For additional information, see Google Domains: Dynamic DNS
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
