PDA

View Full Version : Question about delegation of subdomains



GordonH
March 22nd, 2001, 07:46
Hello
I have been following the WZR story with interest.

How does delegation work?
I always understood that a subdomain would have to have its DNS records on the same authoratative name servers as the main domain.

Obviously this isn't the case as .uk.com sell subdomains which can be on any name servers and WZR seem to be doing the same.

There must be some authority relationship set up between the name servers, otherwise I could just go into my name servers and create myname.freewebspace.net!
How does this all work?

Gordon

Woofcat
March 22nd, 2001, 09:41
You can set up NS records for a domain to point subdomains at other nameservers...

GordonH
March 24th, 2001, 14:00
Originally posted by Woofcat
You can set up NS records for a domain to point subdomains at other nameservers...



What would the code look like?
Anyone got any ideas?

I guess it must be a case of settign up the subdomain record on the main doamin's name server with entries like:

sub.domain.com IN NS ns.hostsdns.com(127.127.127.127)

This would delegate responsibility for that subdomains records to its hosts name servers.

Right?

Gordon

keith
March 24th, 2001, 15:09
correct

sub.domain.tld IN NS ns1.domainprovider.tld
sub.domain.tld IN NS ns2.domainprovider.tld
etc...

GordonH
March 24th, 2001, 16:21
Thanks keith

I have wondered about this since Centralnic started selling subdomains of .uk.com etc.

Gordon