[Pdns-users] Sub-domains and zones

Daniel Miller dmiller at amfes.com
Fri Jun 18 04:16:07 UTC 2021


I've tried (and failed) to implement this previously - I'd like to try again. I haven't found an explicit example for this in the pdns documentation - possibly because this is a "straight" DNS question and *shouldn't* be implementation specific...but I'm admitting ignorance all around.

I understand how to define a "basic" zone (at least, they work...). And, I've been able to register domains with various services and access those domains via the public internet. What I don't know how to do - because I still don't fully understand DNS resolution - is how to declare/publish a sub-domain.

Given a published zone of ".myzone.com" - I want to have a list of hosts like:

a.sub.myzone.com
b.sub.myzone.com
c.sub.myzone.com

Nothing special. I can implement this by explicitly declaring each host in my parent zone - and this works. But I want to manage the subdomain separately. So besides creating a zone ".sub.myzone.com" and adding the host records - what other "glue" is required?

Do I need to explicitly publish ".sub.myzone.com" with my registrar?

Do I place NS records for ".sub.myzone.com" in the parent zone?

Do I place NS records for ".sub.myzone.com" in the sub-zone?

Do I need to explicitly declare a forward-zone for ".sub.myzone.com" in addition to the parent zone?

Any help would be appreciated - and I think the docs could benefit from this explicit example.

--
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20210618/b9c8add8/attachment.htm>


More information about the Pdns-users mailing list