SUMMARY:One DNS server for 2 domains.

From: Dayanand Sharma (dnsharma@delhi.tcs.co.in)
Date: Mon Jul 03 2000 - 07:12:44 CDT


Thanks for all those who responded !!
Ricardo
Sugan
Dieter
Mihalis

WELL ..my machine is now resolving names for both the domains .. also in
addition to the steps written below . I had to add the second IP
 202.41.6.1 ) in my resolv.conf file on my DNS server .
BUT , now my question is :----

Can I configure my machine to act as a DNS server for 2 domains , even if i
have only ONE IP address on it ?? If yes . Please let me know how ???
____________________________________________________________________________
________________

The solution was :----
add an entry in yor /etc/named.conf.
BTW I suggest you to use bind-8.2.2-P5

zone "B.com" {
        type master;
        file "one/B.com";
};

but remember also to add the zone for the reverse lookup
for example oif your B.com has a IP net number of let say

192.168.1.0

add this

zone "0.168.192.in-addr.arpa" {
        type master;
        file "zone/192.168.0";
};
___________________________________
My Original question was :---

Is there some way I can configure my machine to act as DNS server for 2
domains . At present , it is configured as DNS server for domain , say A.com
. I want it to resolve queries for domain B.com also .

Regards,
Dayanand Sharma
------------------------------------------
Tata Consultancy Services
1st Floor, Milap Bhawan,
8, BSZ Marg, New Delhi
INDIA - 110 002
Phone : 91 11 3353691,3715540/41(ext.24)
Fax : 91 11 371 5542
------------------------------------------

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:11 CDT