[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Setting a Seconday DNS Server - Help Please



multivex RAQ wrote:
> 
> I have two RAQS and want one to act as a master and the other to
> act as a slave.
> 
> I have the following:
> 
> RAQ1 Master IP 1.1.1.1
> ----------------------------------
> Virtual Sites:
> I set up a virtual site domain.com with IP 1.1.1.1
> 
> DNS Settings
> I configure DNS parameters for domain.com as normal with IP 1.1.1.1
> I configure Server for Zone Transfer to IP 1.1.1.1 and to IP 2.2.2.2

Zone Transfer should only list the servers which will be transferring
the zone files. You don't need to specify the server the zone files are
hosted on to begin with. :)

> RAQ2 Slave IP 2.2.2.2
> ---------------------------------
> Virtual Sites
> I set up a virtual site domain.com with IP 1.1.1.1  (Exact copy of the
> virtual site in the master RAQ1)

This doesn't sound right.  You have two separate servers, each trying to
answer for the same IP address? The virtual site should only exist on
one server. If you have one IP bound to two Ethernet interfaces, you're
going to run into a world of problems.

> DNS Settings
> I configure Secondary Server DNS for domain.com with IP 1.1.1.1
> I configura Server for Zone Transfer to IP 1.1.1.1 and to IP 2.2.2.2
> 
> DNS REGISTRAR
> --------------------------
> 
> Settings for domain.com
> Primary DNS ns1.nameserver with IP 1.1.1.1
> Secondary DNS ns2.nameserever with IP 2.2.2.2
> 
> According to the theory, both servers should be mirroring each other, and
> content should be updated on both when changes happen.

Modifications to the zone files on server 1.1.1.1 should be transferred
to server 2.2.2.2, correct.

> But I am only getting the RAQ! (primary) content updated
> and not the slave

What do you mean by content?  Actual web content for the virtual site?
There is no provision within DNS to do content replication.  Are you
trying to set up some sort of auto-failover system, or round-robin DNS
load balancing or something??

> 
> What am I doing wrong?

What are the DNS update intervals (TTL, refresh, etc) set to?  Normal
default is 7 days (I think).

Also, if I'm correct and you have IP 1.1.1.1 bound to an interface on
server 2.2.2.2, when it tries to do a lookup for server 1.1.1.1 to do a
zone transfer, it sees the 1.1.1.1 IP address as being on the same
server, and doesn't ever actually contact your real 1.1.1.1 server.

-- 
Bruce Timberlake
Technology Engineer
Sun Cobalt Server Appliances
Sun Microsystems, Inc.

E: bruce.timberlake@xxxxxxx
U: http://www.sun.com/cobalt/