For When You Can't Have The Real Thing
[ start | index | login ]
start > dns > Delegation Of Subdomains

Delegation Of Subdomains

Created by dave. Last edited by dave, 8 years and 183 days ago. Viewed 4,946 times. #5
[diff] [history] [edit] [rdf]
(12 October 2012)


I need to delegate part of my /24 to another name server.


This is known as the RFC-2317 solution.

Basically for each address you are delegating, you put in a CNAME to a subdomain zone. Then you put in a NS record indicating this subdomain is resolvable at a different name server (or servers). The subdomain delegated is named with the "sub" part the range of IPs in the delegation, typically the first IP, dash, last IP in the range.

Since allocations are usually done on a power-of-two boundary this makes naming easy. However power-of-two boundaries are not mandatory.

For example:

We own the arpa zone for We need to delegate through to another server.

To do this we'll create CNAMEs for these IPs to refer to PTRs in a new subdomain,

So in

# Delegate -> .99 elsewhere  NS

The other dns server creates the zone called and populates it with the PTR records:  PTR


Note that you could theoretically call the subdomain anything, eg telling you who the delegation is to, instead of identifying the range. But the RFC refers to ranges.

This is explained in section, "Solution 3", of the O'Reilly DNS & Bind 4th edition (go >>here and scroll down).

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt