标签: google-domain-api

使用Google Domains和Cloudflare时转发电子邮件

我最近通过Google Domains获得了域名.我已经设置了一些配置,让它通过Cloudflare指向OpenShift应用程序.Cloudflare要求我设置他们的DNS服务器,这是我在Google Domain中所做的.

在Cloudflare,我创建了两条CNAME记录(没有别的).一个是从我的一个别名mydomain.comsome.url.at.openfshit.com,另一种是从wwwmydomain.com.

但是,在Gmail域中,我还使用我的域名设置了一封电子邮件,该电子邮件将被转发到私人电子邮箱.但是,我在测试时没有收到任何电子邮件.

我想知道我是否可以正确转发我的电子邮件.是否在Cloudflare创建MX记录?如果是,用什么配置?

PS:我已经使用此处提供的说明设置了MX记录,但我得到:

完全无法传送给下列收件人:

 contact@mydomain.com
Run Code Online (Sandbox Code Playgroud)

永久性失败的技术细节:Google试图传递您的消息,但服务器拒绝接收域chartvibes.com aspmx.l.google.com. [2607:f8b0:4001:c20::1b].

其他服务器返回的错误是:

550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1  https://support.google.com/mail/answer/6596 p123si522326ioe.111 - gsmtp
Run Code Online (Sandbox Code Playgroud)

email dns forwarding cloudflare google-domain-api

14
推荐指数
2
解决办法
6194
查看次数

如何配置Google Domains + Heroku wa Naked Domain

我在使用Heroku和Google Domains的网络浏览器中加载了域名.现在,域名加载了www:http:// www.XXX .com.

如果我输入没有WWW的网址,例如http:// XXX .com,我在Chrome中收到以下错误:"找不到XXX.com的服务器DNS地址"

我需要做什么才能发生以下情况:

  1. 加载 - http:// mydomain.com
  2. http:// www.mydomain.com重定向到http:// mydomain.com

谢谢

dns ruby-on-rails heroku ruby-on-rails-4 google-domain-api

14
推荐指数
2
解决办法
4152
查看次数

如何使用谷歌域设置https的根域重定向

使用Google Domains,我已经设置了一个合成记录来重定向foo.com - > www.foo.com.就像在这个例子中一样:

https://support.google.com/domains/answer/6346300?hl=en

但是,它似乎不适用于https://foo.com.

如何配置它以便子域转发也适用于https?

为了给它更多的上下文,我将我的自定义域映射到一个heroku应用程序,所以我为www.foo.com设置了一个CNAME记录,并希望https://foo.com映射到https: //www.foo.com

dns heroku google-domain-api

10
推荐指数
1
解决办法
1501
查看次数

在aws s3上托管静态网站时使用谷歌域名

我在AWS/S3上与其他域名注册商建立了许多静态站点; 但是,谷歌域名给了我一些问题.
我采取的步骤:
-on S3/AWS:

  1. 创建了bucket domainname.org
  2. 通过添加index.html启用静态网站托管
  3. 将index.html和相关文档上传到存储桶
  4. 创建存储桶www.domainname.org以重定向到存储桶domainname.org
  5. 为domainname.org创建了桶策略,如下所示:

    {"Version":"2012-10-17","Statement":[{"Sid":"AddPerm","Effect":"Allow","Principal":" ","Action":["s3: GetObject"],"资源":["arn:aws:s3 ::: domainname.org/ "]}]}

在谷歌域名方面

  1. 创建名称为www的CNAME记录,数据条目等于存储桶的端点"rightsrequest.org.s3-website-us-west-2.amazonaws.com"
  2. 将TTL设置为60,这样我就可以看到变化.

我可以在该端点看到该站点,但它没有按预期重定向/映射到domainmae.org.通常,这种设置对其他注册商来说已经足够了

我错过了什么?在使用谷歌域名时如何在S3/AWS上正确设置静态站点托管?

谢谢您的帮助 !

dns amazon-s3 static-site google-domain-api

7
推荐指数
1
解决办法
970
查看次数

使用在 Google Domains 上注册的域指向 Amazon S3 静态网站

我已经在 AWS/S3 上与其他域注册商建立了许多静态站点;然而,谷歌域给了我一些问题。我采取的步骤:

在 S3/AWS 上:

  1. 已创建存储桶 domainname.org
  2. 通过添加 index.html 启用静态网站托管
  3. 上传 index.html 和相关文档到存储桶
  4. 创建存储桶 www.domainname.org 以重定向到存储桶 domainname.org 为 domainname.org 创建的存储桶策略如下:

    { "Version": "2012-10-17", "Statement": [ { "Sid": "AddPerm", "Effect": "Allow", "Principal": "", "Action": [ "s3: GetObject" ], "Resource": [ "arn:aws:s3:::domainname.org/" ] } ] }

在谷歌域方面

  1. 创建名称为 www 且数据条目等于存储桶端点“bucketname.com.s3-website-us-west-2.amazonaws.com”的 CNAME 记录
  2. 将 TTL 设置为 60,以便我可以看到更改。
  3. 我可以在该端点看到该站点,但它没有按预期重定向/映射到 domainmae.org。通常,这种设置对于其他注册商就足够了

我错过了什么?您如何在使用 google 域时在 S3/AWS 上正确设置静态站点托管?

感谢您的帮助 !

amazon-s3 amazon-web-services google-domain-api google-domains

6
推荐指数
0
解决办法
3810
查看次数

如何让 google 域 DynamicDNS 为 Raspberry pi3 更新 ipv4 而不是 ipv6

我正在尝试在我的 Raspberry Pi3 上设置个人 Web 服务器,我从 Google Domains 购买了域名,以便我可以使用动态 DNS 让 google 可以更新我的 Raspberry-Pi Web 服务器的 IP 地址(因为我的 ISP 提供动态 IP)。

在我的 Raspberry Pi 上,我使用 crontab 进行定期更新,方法是使用 google 推荐的 wget 命令。这是我用来完成 DNS 更新的“语法”(按照 google 的建议): wget https://username:password@domains.google.com/nic/update?hostname=subdomain.yourdomain.com

问题! Google 沟通良好并更新了我的 IP,但它显示了我的 Raspberry Pi 的 IPv6 而不是 IPv4 地址。

问题:我应该对我的 Pi 进行哪些更改,以便 google 使用我的公共 IPv4 地址而不是 IPv6 进行自我更新。请注意,我是初学者,因此请提供我可以轻松遵循的步骤

十分感谢你!

dns webserver raspberry-pi google-domain-api

6
推荐指数
1
解决办法
2427
查看次数

限制登录到 AWS 联合身份池的企业 Google 域

我正在使用带有 aws-amplify ( https://aws.github.io/aws-amplify/media/authentication_guide#enabling-federated-identities )的联合身份池,我想将域的范围限制为我的 google 域组织(例如 johndoe@foobar.com)。

似乎没有办法将其锁定在 Google API 控制台或 AWS Cognito 身份池设置上,只是暗示可以将 hd 参数附加到 google 请求以按域对其进行限制(这仍然会需要修改 aws-amplify 核心包),它仍然不安全,因为任何人都可以在没有高清的情况下发出相同的请求并获得对 cognito 的访问权限。

我的问题是:有没有办法限制 google oauth 密钥只允许 @foobar.com 电子邮件地址,或者使用 aws cognito 实现相同的限制?

amazon-web-services google-oauth google-domain-api amazon-cognito aws-amplify

6
推荐指数
1
解决办法
2146
查看次数

用于检索谷歌+域名配置文件的Golang程序返回403 Forbidden

你可以帮我解决下面的问题.

我只是编写一个简单的代码来检索我的谷歌+域用户配置文件.1.我正在使用域名为spaceandhow.com的谷歌+域帐户

  1. 我已提供https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority中列出的所有权限

  2. 该帐户已启用Google+ API和Google+域Api.

这是我写的功能.

func (p *GoogleAUTH) sendGoogleAuthReq(){

    fmt.Println("GoogleAUTH package: Enter sendGoogleAuthReq")


    data, err := ioutil.ReadFile("D:\\Cygwin\\home\\praprasa\\pragna2.json")
    if err != nil {
        fmt.Printf("ReadFile error: %s", err)
    }


    conf, err := google.JWTConfigFromJSON(data, "https://www.googleapis.com/auth/plus.me")
    if err != nil {
        fmt.Println("json error")

    }

    client := conf.Client(oauth2.NoContext)

    resp, err := client.Get("https://www.googleapis.com/plusDomains/v1/people/me")
    if err != nil {
        fmt.Printf("GoogleAUTH package: request execution failed: %s", err)
        return
    }
    defer resp.Body.Close()

    fmt.Println("GoogleAUTH package: response Status:", resp.Status)
    fmt.Println("GoogleAUTH package: response Headers:", resp.Header)

    body, err := ioutil.ReadAll(resp.Body) …
Run Code Online (Sandbox Code Playgroud)

download go user-profile http-status-code-403 google-domain-api

5
推荐指数
1
解决办法
238
查看次数

使用屏蔽将自定义域重定向到特定的 Firebase 托管应用程序 URL 路由

我有一个使用 firebase 托管托管的 SPA。我目前有一个连接到该应用程序的自定义域。

即 mycustomedomain.com 将用户引导至 myapp.firebaseapp.com

。但是我现在想要实现的是将多个自定义域重定向到特定的应用程序 url 路由。同时保留网址栏中的地址作为原始的customedomain ie

mycustomdomainB.com --> myapp.firebaseapp.com/routeB
mycustomdomainC.com --> myapp.firebaseapp.com/routeC
mycustomdomainD.com --> myapp.firebaseapp.com/routeD
mycustomdomainE.com --> myapp.firebaseapp.com/routeE
Run Code Online (Sandbox Code Playgroud)

这可以通过 firebase 托管实现吗?如果是这样怎么办?我可以通过域名提供商(谷歌域名)使用永久重定向来实现此目的吗?

firebase google-domain-api firebase-hosting

5
推荐指数
0
解决办法
510
查看次数

将子域映射到Google App Engine项目中的服务

我有一个包含以下yaml文件的Google App Engine项目

handlers:
- url: /web/.*
  script: web_server.app

- url: /api/.*
  script: rest_server.app
Run Code Online (Sandbox Code Playgroud)

如何确保我拥有的域的子域由rest_server.app脚本提供服务.

示例:如果我拥有example.com

我希望example.com得到服务web_server.app,并api.example.com为之服务rest_server.app

是否可以使用Google App Engine执行此操作.

例:

handlers:
- url: example.com/.*
  script: web_server.app
- url: api.example.com/.*
  script: rest_server.app
Run Code Online (Sandbox Code Playgroud)

subdomain google-app-engine google-domain-api

4
推荐指数
1
解决办法
2100
查看次数

Google+ API - 在Google+上插入/更新状态

我对Google API有疑问.我的目标是从服务器向我们的Google+公司页面发布状态.所以它必须是服务器端,完全.

我从Google文档中看到了数百页,但我根本不理解.

当我尝试执行"plusDomains.activities.insert"操作(通过API Explorer)时,我收到错误:

{
 "error": {
  "errors": [
   {
    "domain": "plusDomains",
    "reason": "forbiddenScope",
    "message": "Access to the Google+ Domains API is not allowed as the user has consented to incompatible scopes. See: https://developers.google.com/+/domains/authentication/."
   }
  ],
  "code": 403,
  "message": "Access to the Google+ Domains API is not allowed as the user has consented to incompatible scopes. See: https://developers.google.com/+/domains/authentication/."
 }
}
Run Code Online (Sandbox Code Playgroud)

这个错误的原因是什么?我必须使用哪些用户?在开发者控制台中,我有3个用户和1个完整管理员(我的G-Apps帐户).我应该设置什么作为客户端ID和谷歌凭证对象?

非常感谢任何建议.

php google-plus google-domain-api

2
推荐指数
1
解决办法
1192
查看次数