By using AWS re:Post, you agree to the Terms of Use

Front-End Web & Mobile

AWS offers a broad set of tools and services to support development workflows for native iOS/Android, React Native, and JavaScript developers. Discover how easy it is to develop, deploy, and operate your app, even if you are new to AWS. And with the speed and reliability of AWS infrastructure, deliver secure apps that scale from prototype to millions of users, automatically.

Recent questions

see all
1/18

DMARC policy violation using Amazon SES

Hello, I've setup everything as in getting started articles for Amazon SES, but I still getting errors like these - The messages violates the DMARC policy of addhub.com. I'm using ...@addhub.com as FROM and mail-1.addhub.com as MAIL FROM. Both addhub.com and mail-1.addhub.com have SPF records including - amazonses.com. My DMARC record for addhub.com is - v=DMARC1; p=quarantine; rua=mailto:...@addhub.com. If you check one of the reports I provided below, it writes that second record failed, that IP doesn't belong to Amazon. Could you explain why is that and how to solve it? ``` <?xml version="1.0" encoding="UTF-8" ?> <feedback> <report_metadata> <org_name>google.com</org_name> <email>noreply-dmarc-support@google.com</email> <extra_contact_info>https://support.google.com/a/answer/2466580</extra_contact_info> <report_id>...</report_id> <date_range> <begin>...</begin> <end>...</end> </date_range> </report_metadata> <policy_published> <domain>addhub.com</domain> <adkim>r</adkim> <aspf>r</aspf> <p>quarantine</p> <sp>quarantine</sp> <pct>100</pct> </policy_published> <record> <row> <source_ip>93.188.3.35</source_ip> <count>2</count> <policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>fail</spf> </policy_evaluated> </row> <identifiers> <header_from>addhub.com</header_from> </identifiers> <auth_results> <dkim> <domain>addhub.com</domain> <result>pass</result> <selector>...</selector> </dkim> <dkim> <domain>amazonses.com</domain> <result>pass</result> <selector>...</selector> </dkim> <spf> <domain>mail-1.addhub.com</domain> <result>softfail</result> </spf> </auth_results> </record> <record> <row> <source_ip>23.251.240.4</source_ip> <count>1</count> <policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>pass</spf> </policy_evaluated> </row> <identifiers> <header_from>addhub.com</header_from> </identifiers> <auth_results> <dkim> <domain>addhub.com</domain> <result>pass</result> <selector>...</selector> </dkim> <dkim> <domain>amazonses.com</domain> <result>pass</result> <selector>...</selector> </dkim> <spf> <domain>mail-1.addhub.com</domain> <result>pass</result> </spf> </auth_results> </record> </feedback> ```
1
answers
0
votes
18
views
asked 19 hours ago

How to configure record set for a custom domain name for a multi region api gateway?

I have created a hosted zone (resource type AWS::Route53::HostedZone) in aws with a custom domain name (example - numbero.uno.com) ``` customDomain: Type: AWS::Route53::HostedZone Properties: Name: 'numero.uno.com' ``` now i'm creating an api to be deployed to two regions, by deploying stack below to two regions. when i deploy stack below in one region everything works fine , but when i deploy the same stack in a second region , i get the error message, create failed for Mycustomdomainconfig => "The domain name you provided already exists. (service: ApiGateway, ...Status Code 400... i'm trying to use same custom domain name for both api gateway endpoints deployed in two regions. can anyone see what i'm doing wrong here? ``` Resources: MyCertificate: Type: "AWS::CertificateManager::Certificate" Properties: DomainName: example.com ValidationMethod: DNS DomainValidationOptions: - DomainName: 'numero.uno.com' HostedZoneId: 'afnqrejxyi' Myrecord: Type: AWS::Route53::RecordSet Properties: Region: !Ref aws_region SetIdentifier: !Sub "endpoint-${aws_region}" HostedZoneId: 'afnqrejxyi' Name: 'numero.uno.com' Type: A AliasTarget: DNSname: !GetAtt Mycustomdomainconfig.RegionalDomainName HostedZoneId: !GetAtt Mycustomdomainconfig.RegionalHostedZoneId Mycustomdomainconfig: Type: AWS::ApiGateway::DomainName Properties: RegionalCertificationArn: !Ref MyCertificate DomainName: 'numero.uno.com' ... MyApiMapping: Type: AWS::ApiGateway::BasePathMapping Properties: DomainName: !Ref Mycustomdomainconfig RestApiId: !Ref MyApi ... MyApi: Type: AWS::Serverless::Api Properties: .... ```
0
answers
0
votes
10
views
asked 2 days ago

Popular users

see all
1/18

Learn AWS faster by following popular topics

1/4