LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-29-2007, 11:16 AM   #1
sbabcock23
Member
 
Registered: Aug 2006
Location: Mississauga, Ontario, Canada
Distribution: RHEL 5, CentOS 5
Posts: 64

Rep: Reputation: 15
Authoritative DNS for a sub domain


Here is my situation:

My dad has registered the domain a.ca and has an authoritative dns server running for that domain. So he has his sub domains and such.

I want the sub domain b.a.ca and I want to create an authoritative dns server for that sub domain. How do I configure my dad's DNS server to give me authoritative control over that specific sub domain and nothing else? Is it possible?

Thanks,
Steve
 
Old 05-30-2007, 04:35 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,446
Blog Entries: 11

Rep: Reputation: 182Reputation: 182
This sure is possible. Check out this link it's one of the best books about dns imho

http://www.zytrax.com/books/dns/
 
Old 05-30-2007, 06:21 AM   #3
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 296

Rep: Reputation: 49
Hi Steve,

all you need is a line in your dad's zone file for a.ca:

If your subdomain's name server is external to your domains:
Code:
b   IN NS name-server.example.com.
or if it's in your dad's domain:
Code:
b   IN NS name-server
or, if it's in the subdomain itself, you additionaly need a 'glue'-record, so that your subdomain's server isn't needed to resolve its own address:

Code:
name-server.b   IN A 1.2.3.4
b               IN NS name-server.b
(Of course 'name-server' being whatever you choose your name server's name to be...)

Regards

Rupert

Last edited by rupertwh; 05-30-2007 at 11:38 AM.
 
Old 06-02-2007, 12:54 PM   #4
sbabcock23
Member
 
Registered: Aug 2006
Location: Mississauga, Ontario, Canada
Distribution: RHEL 5, CentOS 5
Posts: 64

Original Poster
Rep: Reputation: 15
Rupert,

I don't exactly understand what you mean. My dad has a dns server on a seperate n/w then I do. What line of code to I have to add such that when someone goes to b.a.ca (it will hit my dads dns server first) it will then query my authoritative dns server.

Thanks
 
Old 06-03-2007, 09:23 AM   #5
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 296

Rep: Reputation: 49
Quote:
Originally Posted by sbabcock23
What line of code to I have to add such that when someone goes to b.a.ca (it will hit my dads dns server first) it will then query my authoritative dns server.
Well, one of the alternatives I showed you. Which one you use depends on the name of your dns server (the one for your subdomain, not your dad's).

So, if your name server is called "mydns.example.org", the line to add to your dad's dns zone file for a.ca is:
Code:
b   IN NS mydns.example.com.
This line tells anyone who asks that the name server for b (=b.a.ca) is mydns.example.com.

I don't know what else to tell you, because I really had already answered your question.

Rupert
 
Old 06-03-2007, 07:18 PM   #6
sbabcock23
Member
 
Registered: Aug 2006
Location: Mississauga, Ontario, Canada
Distribution: RHEL 5, CentOS 5
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks Rupert, that clarifies it, I got it working now, thanks for all your help, I appreciate it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Authoritative dns behind firewall? hazmatt20 Linux - Server 1 03-04-2007 03:09 PM
DNS Refuses to Make Authoritative Queries gizza23 Linux - Networking 6 06-27-2006 08:48 AM
What makes a DNS server authoritative. Strider22 Linux - Networking 1 11-17-2005 01:06 PM
How do I find out what are the authoritative nameservers for the domain? bwoodwar Linux - Networking 3 09-13-2005 10:18 PM
authoritative dns how to viperusn Linux - Networking 7 03-21-2004 11:49 PM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration