DNS-over-HTTPS


Just found out Google public DNS supports DNS-over-HTTPS. A single curl command can give you the result in json format. Very nice! Syntax: curl -s https://dns.google.com/resolve?name=xxxx curl -s https://dns.google.com/resolve?name=ap-southeast-2.aws.amazon.com | jq -r . { "Status": 3, "TC": false, "RD": true, "RA": true, "AD": false, "CD": false, "Question": [ { "name": "ap-southeast-2.aws.amazon.com.", "type": 1 } ], "Authority": … Continue reading DNS-over-HTTPS

Use AWS SES to validate ACM certificate request


In case you are not familiar with AWS abbreviation, SES stands for Simple Email Service, ACM is short for AWS Certificate Manager. These two are independent services, each can work without the other. But in some scenarios, you may need to make them work together to solve your problem. For example: The domain does not … Continue reading Use AWS SES to validate ACM certificate request

Code smartly to avoid exceed AWS request rate


Have your http calls ever been throttled by AWS? If not, congratulations! And if you are curious about what it looks like, here you go: Below is what AWS says about the EC2 request rate limits. The same principal applies to other AWS services, e.g Autoscaling group, in which I encountered the rate exceeded problem. … Continue reading Code smartly to avoid exceed AWS request rate