SUMMARY:One DNS server for 2 domains.

From: Dayanand Sharma (
Date: Mon Jul 03 2000 - 07:12:44 CDT

Thanks for all those who responded !!

WELL machine is now resolving names for both the domains .. also in
addition to the steps written below . I had to add the second IP ) 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 "" {
        type master;
        file "one/";

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

add this

zone "" {
        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
. I want it to resolve queries for domain also .

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

U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
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:

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