Cloudflare supports NS records, which is what you’re looking for. Except it probably only lets you create a zone for the top level domain, so you can only delegate to other providers. AWS Route53 will let you create subdomain zones, and will let you create NS records to set up delegation.
afraid.org does allow almost everyting.
I use their free service to setup my own dns tunnelling endpoint.
Been using afraid.org for well over 10 years and use dynamic dns to have various subdomains pointing to different IP addresses/hosts I have in physically different places. It just works and I login maybe once every 3-4 years.
I'd second afraid.org, have been using them for years and they've always been great. They also support dynamic DNS so if you're on a dynamic IP address you can have the address be updated automatically when your IP address does.
More relevant to the question, I'm pretty sure you can create NS records for a subdomain as well. I was experimenting once a few years back with a DNS tunnel service and was able to get the DNS side of it configured. Never did get the service itself working but it was more of a curiosity at the time so didn't spend a massive amount of time on it.
what exactly do you mena under subdomains?
Any DNS provider will support adding NS entries for subdomains if you want to host you sub-zone somwhere, And any should allow you to use names with "." in it for "fake" subzone, like
a.subzone1 IN A x.x.x.x
a.subzone2 IN A y.y.y.y
I've hosted subdomains on namecheap for 10+ years. It's point and click if you use cpanel or just edit DNS records if you selfhost.
Maybe I'm not reading your question right?
Yeah, I use subdomains on namecheap just fine. The support wildcards too; I have an A record for *.sub, so a.sub.domain.com and b.sub.domain.com, etc. all get resolved to the same host.
You can probably create an NS record for sub.domain and have it work. I haven't tried it, but I can type it in namecheap's site and it looks like it'll accept it if I hit submit (i.e. none of the fields have red validation errors).
Route 53 does. I've got a couple there now.
Do you mean something link subdomain.domain.tld
? Because I have that set up with namecheap
Ive used cloudns for ages. They allow this
DNS points to the domain. Then you configure the subdomain on the same IP. Maybe I'm missing something, but this is how I understand subdomains.
Decent DNS providers allow you to create NS records for subdomains.
This delegates the subdomain and all of its subdomains to another DNS.
Useful for companies that want to control their own records, but might want to allow a group of developers control over app.example.com and all subdomains, without the developers having to pester the company for record updates.
Also used for acme-dns, which is a self hosted DNS designed to only deal with txt records for acme DNS challenges (ie lets encrypt).
Means you can limit the possible disaster of the DN API keys being leaked (an attacker can only generate TXT records, instead of rewriting all your DNS records)
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!