this post was submitted on 30 Mar 2024
16 points (100.0% liked)

Selfhosted

45585 readers
1008 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Any suggestions for a DNS service that specifically allows subzones, also called subdomains and delegation of those subzones.

I’m currently using CloudFlare and NameCheap. It doesn’t look like NameCheap doesn’t support subzones at all, and CloudFlare only supports them at the enterprise level.

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago

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.

[–] [email protected] 6 points 1 year ago (2 children)

afraid.org does allow almost everyting.

I use their free service to setup my own dns tunnelling endpoint.

[–] [email protected] 6 points 1 year ago

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.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 3 points 1 year ago (1 children)

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?

[–] [email protected] 4 points 1 year ago

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).

[–] [email protected] 2 points 1 year ago

Route 53 does. I've got a couple there now.

[–] [email protected] 1 points 1 year ago

Do you mean something link subdomain.domain.tld? Because I have that set up with namecheap

[–] [email protected] 1 points 1 year ago

Ive used cloudns for ages. They allow this