One DNS server for 2 domains.

2007-12-25 10:33:00

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@codeprof.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

Comments

Got something to say?

You must be logged in to post a comment.