two DNS server within the same domain

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Fri Nov 15 19:58:54 UTC 2002


Peter Vermeesch <pvr76 at hotmail.com> wrote:

> Hi,

> We have two locations. I try to create one single domain for these two 
> locations which are connected via a leased line.

> I would like to set up a DNS server on both sides, with their names of the 
> router, mailserver and fileserver (which are different for both locations).

> Is it possible to create two dns servers with the same domain name (same 
> zone), and if a client tries to resolve a name from the other domain, that 
> the one DNS server forwards this request to the second one?

Yes. bind-9 has a feature "views" that might select answers depending
and the address of the querier(is that teh correct spelling ?) 




> e.g. 
> Location 1:

>         domain: mydomain.local

>                 192.168.0.254   = router1
>                 192.168.0.250   = fileserver1

> Location 2:
>         domain: mydomain.local
>                 192.168.1.254   = router1
>                 192.168.1.250   = fileserver2


> If a client of location1 would like to find fileserver1... ?

> thanx,

> Peter Vermeesch


-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list