DNS configuration problem


 
Thread Tools Search this Thread
Special Forums IP Networking DNS configuration problem
# 1  
Old 02-27-2006
DNS configuration problem

Hi all,

I am a beginner in DNS service and I face difficult when configure DNS sub domain using "bind" version 8. So I would like to ask a question about this and hope someone can answer my question.

Is it possible to configure a sub domain in which the name of this sub domain is same as a server of it's parent domain? e.g. A sub domain "sub.example.com" is configured using a zone file and there is also a "A" record, "sub" in "example.com" zone file. If so, where should I place the "sub.example.com" to IP mapping, in "sub.example.com", "example.com" OR both?

Many thanks for your help Smilie
# 2  
Old 02-28-2006
Quote:
Is it possible to configure a sub domain in which the name of this sub domain is same as a server of it's parent domain? e.g. A sub domain "sub.example.com" is configured using a zone file and there is also a "A" record, "sub" in "example.com" zone file.
Yes, you can have a sub-domain such as sub.example.com but you don't need to associate an "A" record with it.

You can add sub-domain delegations with the following type of command in the db.example.com zone file

Code:
sub    IN NS your-master-dns-servername.example.com.

Then, create a db.sub.example.com zone file which contains the names of servers in the sub.example.com sub-domain (the same as you would as if they were part of example.com).

Add your sub-domain to your conf file. Example, if you have in your named.conf
Code:
include "conf.example.com" ;

then in your conf.example.com file, you would need to list both the main zone
Code:
zone "example.com" in
        {
             type master;
             file "maps/example.com/db.example.com" ;
};

AND your sub-domains

Code:
zone "sub.example.com" in
       {
           type master;
           file "maps/example.com/db.sub.example.com" ;
};

All you are really doing is splitting it up to make it easier for you - DNS could have it all in one file with no issues.
# 3  
Old 03-03-2006
Hi RTM,

The information is really useful to me in both my knownledge and working.
I had implemented the configuration successfully in my working.

Really appreciate and thanks very much to you. Smilie

Best Regard,
Ray Lai
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Wildcard pointing to IP range in DNS configuration

Hello to all, May someone help me with this DNS configuration issue please. I have configured wildcard to different IPs like below and it works. xyz IN SOA dns.abcd. . ( 2014120901 10800 3600 604800 ... (0 Replies)
Discussion started by: Ophiuchus
0 Replies

2. Red Hat

How to configure DNS configuration for RHEL 5?

I wanted to know how to configure DNS configuration for RHEL 5. I hope, my query is clear of how to setup DNS for RHEL 5. Please revert with the reply to my query Regards (6 Replies)
Discussion started by: RHCE
6 Replies

3. UNIX for Dummies Questions & Answers

DNS mail server configuration

Hello fellow unix dudes, I have a question on DNS. Basically the error is my domain.com server can not send email to my mail.domain.com server. I have a virtual server with one IP say 192.10.11.12 and a mail server with iP 172.4.5.6 When the virutal server on ip 192.10.11.12 was setup,... (0 Replies)
Discussion started by: photon
0 Replies

4. AIX

DNS configuration on AIX 6.1

Hello All, I want to install ORACLE RAC on AIX 6.1. In the installation guide. the below two points were mentioned: Each node must have at least two network adapters or network interface cards (NICs): one for the public network interface, and one for the private network interface (the... (2 Replies)
Discussion started by: beayni33
2 Replies

5. UNIX for Dummies Questions & Answers

DNS & DHCP configuration

Hi to all. Sorry for my bad english. For pure self-educational, not professional, purposes, I am studying how to configure a server with several services operating on it. For my experiment I'm using VirtualBox 3.1.4 on a WinXP host with 3 FreeBSD guests; one acts as a DHCP + DNS server; the... (0 Replies)
Discussion started by: marboxer
0 Replies

6. Red Hat

Dns configuration error in Redhat

Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis. #service named restart Stopping named: Starting named: ---------Edited in named.conf... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

7. UNIX for Dummies Questions & Answers

DNS Configuration in Solaris 10

Hi All, I have a list of few DNS server with hostnmae and IP which I need to setup in Solaris Servers...Can any one pls tell me the steps for setting up the above in solaris 10 & 9???? (4 Replies)
Discussion started by: solaris5.10
4 Replies

8. AIX

DNS configuration help

I'm trying to configure DNS on a AIX 5.4 machine and I just can't figure it out. The IBM guide doesn't work. Smit also doesn't work. I have no idea how to make this happen. (2 Replies)
Discussion started by: madavid0
2 Replies

9. IP Networking

proxy DNS configuration

i have the DNS and the web proxy services running on one of my sun machines....the funny thing is clients use the proxy server by addressing it with its IP address only....what i need is to assign it like...proxy.amu.edu.et...... my guess is the problem is the configuration with the DNS ...but i... (2 Replies)
Discussion started by: henokia4j
2 Replies
Login or Register to Ask a Question