Automatic creation of CNAME records

Quite a while ago I saw a website that allowed any old folk to automatically register a CNAME record on their domain. Say, examplesite.123.xyz could be auto-generated to point to another site using the service at 123.xyz.

I’ve since lost track of that website, and have wanted to create my own. Would this sort of practise of creating CNAME records be possible on Cloudflare? Is there another method of doing so that wouldn’t need a new record every time? Is there a maximum limit to records?

Thank you in advance.

Anyone?

You can create CNAMEs anywhere. The trick is to get the server at the target to respond to requests for sub.123.xyz. Most won’t.

As for automation, you can do this with Cloudflare’s API:

https://api.cloudflare.com/#dns-records-for-a-zone-create-dns-record

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.