master and slave for same zone on with different IP addresses
asim khan
asim.khan at kcl.ac.uk
Thu Jul 15 13:12:13 UTC 2004
Stephane Bortzmeyer wrote:
>On Thu, Jul 15, 2004 at 04:03:26AM -0700,
> asim khan <asim.khan at kcl.ac.uk> wrote
> a message of 21 lines which said:
>
>
>
>>I set up a virtual interface hme0:2 for the slave nameserver with
>>hostname prospero.umds.ac.uk for zone umds.ac.uk on a solaris 5.9 ultra5,
>>also running as the master nameserver with hostname lime.umds.ac.ukfor
>>the zone umds.ac.uk on a diffrent IP address on the real interface
>>hme0
>>
>>
>
>That is a strange idea. Why two servers on the same machine, you lose
>all redundancy.
>
>
>
Yes, I agree but I it meant changing many dozens of other workstations
settings to search for the master nameserver IP/hostname,ie
macduff.umds.ac.uk
when currently they are configured to search for the IP/hostaname of
the slave,ie prospero.umds.ac.uk
Anyway I set up a test zone with a test master name server the virtual
interface has the IP address and hostname of the of the secondary
nameserver.
There are now two different IP addresses with two different hostnames
for nameserving the same zone on one machine.
Using the command dig @prospero.umds.ac.uk www.kcl.ac.uk there was no
>>response with a timeout error..?
>>
>>
>
>It works for me:
>
>
>
I was testing with both on the same server when I got the error above so
reverted back to the
master and slave zones are on different servers.
>% dig @prospero.umds.ac.uk www.kcl.ac.uk
>
>; <<>> DiG 8.3 <<>> @prospero.umds.ac.uk www.kcl.ac.uk
>; (1 server found)
>;; res options: init recurs defnam dnsrch
>;; got answer:
>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17019
>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 4
>;; QUERY SECTION:
>;; www.kcl.ac.uk, type = A, class = IN
>
>;; ANSWER SECTION:
>www.kcl.ac.uk. 5M IN CNAME acacia.cc.kcl.ac.uk.
>acacia.cc.kcl.ac.uk. 10M IN A 137.73.2.2
>
>;; AUTHORITY SECTION:
>kcl.ac.uk. 1D IN NS iguana.kcl.ac.uk.
>kcl.ac.uk. 1D IN NS axolotl.kcl.ac.uk.
>kcl.ac.uk. 1D IN NS ns3.ja.net.
>
>;; ADDITIONAL SECTION:
>ns3.ja.net. 1d22h49m39s IN A 193.63.106.103
>ns3.ja.net. 22h49m39s IN AAAA 2001:630:0:46::67
>iguana.kcl.ac.uk. 1D IN A 137.73.2.5
>axolotl.kcl.ac.uk. 1D IN A 137.73.2.8
>
>;; Total query time: 19 msec
>;; FROM: kiwi.generic-nic.net to SERVER: 159.92.16.12
>;; WHEN: Thu Jul 15 13:37:29 2004
>;; MSG SIZE sent: 31 rcvd: 214
>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Asim Khan
Information Services & Systems
King's College London
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the bind-users
mailing list