Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: Create subdomains via GuCname #408

Closed
wants to merge 1 commit into from
Closed

wip: Create subdomains via GuCname #408

wants to merge 1 commit into from

Conversation

akash1810
Copy link
Member

@akash1810 akash1810 commented Dec 15, 2023

Checking that (random) subdomains can be created via GuCname.

Once deployed, https://lambda.cdk-playground.gutools.co.uk should resolve (though will serve a certificate for cdk-playground-lambda.gutools.co.uk as this PR doesn't tweak the certificate attached to the API Gateway that's the origin for this record).

Once main is deployed, the DNS record will be removed again.

dig result, demonstrating the record was created:

dig lambda.cdk-playground.gutools.co.uk

; <<>> DiG 9.10.6 <<>> lambda.cdk-playground.gutools.co.uk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18067
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;lambda.cdk-playground.gutools.co.uk. IN	A

;; ANSWER SECTION:
lambda.cdk-playground.gutools.co.uk. 3600 IN CNAME d-8aft3t6gvc.execute-api.eu-west-1.amazonaws.com.
d-8aft3t6gvc.execute-api.eu-west-1.amazonaws.com. 60 IN	A 52.210.221.239
d-8aft3t6gvc.execute-api.eu-west-1.amazonaws.com. 60 IN	A 34.240.242.137
d-8aft3t6gvc.execute-api.eu-west-1.amazonaws.com. 60 IN	A 34.249.54.28

;; Query time: 63 msec
;; SERVER: 192.168.50.1#53(192.168.50.1)
;; WHEN: Fri Dec 15 11:18:12 GMT 2023
;; MSG SIZE  rcvd: 342

@akash1810
Copy link
Member Author

Redeploying main as this test is done now.

Also closing the PR.

@akash1810 akash1810 closed this Dec 15, 2023
@akash1810 akash1810 deleted the aa/dns branch February 6, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant