LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-14-2005, 07:45 PM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
DNS, authority zone


I have a question regarding Redhat 9.0 linux BIND (DNS Server).

I've bind installed on my linux system. i know that if i want to be an authority server for a zone (Ex: mydomain.com), then i have to create one separate
zone file (mydomain.com zone) for the domain.

but what if i want to be an authority server for another domain (subdomain.mydomain.com) which is a sub domain of the previous domain?
what should i do? do i need to create another zone file called subdomain.mydomain.com for this subdomain?

or can i create only one zone to make this 2 domain work?


Thanks,
 
Old 01-18-2005, 05:24 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
No, u do not need to create *another* zone file for this. In your named.conf, you will have something like:

zone "mydomain.net" {
type master;
notify yes;
file "/etc/bind/db.mydomain";
};

That's all you need (for that part) for your named.conf if you own 1 domain. Now, you want to make a subdomain like "crap.mydomain.net". Then in your db.mydomain (or however you named it) you add the appropriate info in there (A records, blah blah). The SOA is still going to be the same.

-twantrd
 
Old 01-18-2005, 07:15 PM   #3
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Could u give an example for the subdomain?

Thanks,
 
Old 01-18-2005, 09:19 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
There are many examples on how to do this on the net. Google it. Once you have an idea, paste what you have and I'll correct it if it needs to be fixed.

-twantrd
 
  


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
DNS/BIND domain 'authority' tisource Linux - Software 7 07-15-2004 06:16 AM
Need help with DNS zone file please:-) TippyToes Linux - Networking 5 04-28-2004 05:32 PM
port# authority using dns or other? charon's coin Linux - Networking 3 09-14-2003 09:01 AM
DNS: zone transfers from everywhere markus1982 Linux - Networking 0 08-24-2003 05:43 AM
Get Zone files from DNS? mig Linux - General 0 02-28-2002 03:03 AM


All times are GMT -5. The time now is 06:30 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