Re: How does RoundRobin flag work?

From: Peter Steele (psteele_at_z-force.com)
Date: 07/16/04


Date: Fri, 16 Jul 2004 07:55:21 -0700

Okay, I've got it working, sort of. I created three A records for host
"test" that represent the IP addresses of three existing systems in the same
subnet (lets call them test1, test2, and test3). When I do a nslookup on
test it returns a rotated list on each request. However, if I do a ping
command, it always returns the same address unless I do a dnsflush between
each ping. I then tried opening a command prompt and entering the command

    dir \\test\c$

and it came back with the error

    You were not connected because a duplicate name exists on the network.
Go to System
    in Control Panel to change the computer name and try again.

If I reference one of the systems directly, e.g. \\test1\c$, instead of
using test, it has no problems accessing the system. As one final test, I
went to Internet Explorer and entered the URL

    file://test/c$

It said if could not find the file though, whereas

    file://test1/c$

works fine.

So, this feature isn't behaving the way I thought it would. Is this user
error or correct behavior. Can I only take advantage of the feature
programmatically?

"Roger Abell" <mvpNOSpam@asu.edu> wrote in message
news:ebmsgosaEHA.596@TK2MSFTNGP11.phx.gbl...
> A few points to keep in mind.
> Client caching can get in the way of seeing the effect of
> pseudo-roundrobin ordering. Use ipconfig /flushdns on
> the client to empty the caching resolver's cache so that it
> actually does really send the next query to the DNS server.
> When there are multiple A records for a name, and the use
> of pseudo-roundrobin ordering is enabled, then the list of
> IPs returned will start a successive IPs with each query.
> If other clients query the name in between two of your test
> trials this will cause the IP ordering to advance accordingly.
> If your test client is on the same subnet as one of the interfaces
> of the DNS server, and one of the IPs for the name queried is
> also on this subnet, and you have subnet ordering enabled in
> the DNS server settings, then this will control what you see
> returned as the IP list.
> --
> Roger Abell
> Microsoft MVP (Windows Server System: Security)
> MCSE (W2k3,W2k,Nt4) MCDBA
> "Peter Steele" <psteele@z-force.com> wrote in message
> news:%23jCVcpraEHA.3752@TK2MSFTNGP12.phx.gbl...
> > I read that the Windows DNS supports a flag called RoundRobin which lets
> you
> > perform a primitive round-robin load balancing. Can anyone explain how
to
> > set this up? When I read this I thought it would work like this:
> >
> > ping mysystem.domain.com
> > ...192.168.1.1
> >
> > ping mysystem.domain.com
> > ...192.168.1.2
> >
> > ping mysystem.domain.com
> > ...192.168.1.3
> >
> > and so on, returning a different address each time a DNS lookup has to
be
> > performed. I created multiple A records for a host and tried this though
> but
> > it always returned the first address in the list. If I do a nslookup on
> the
> > name, it returns all A addresses as a list.
> >
> > So how is this feature supposed to be used? Alternatively, if someone
can
> > suggest an alternative way to implement a simple round-robin load
> balancing
> > like this, I'd appreciate the advice.
> >
> >
> >
>
>



Relevant Pages

  • Re: Any known issues withsp2 and non-sp xp ics?
    ... Default Gateway: none ... DNS Server: 192.168.0.1 or your ISP's DNS server ... as my isp is configured to use DHCP (Dynamic Host ... After doing the above changes to the client, ...
    (microsoft.public.windowsxp.network_web)
  • having problems with dhcpd and bootp clients
    ... BOOTP from dynamic client and no dynamic leases ... uses within a much larger subnet. ... None of these clients are DHCP clients, they are only BOOTP. ... all of the host entries are: ...
    (freebsd-questions)
  • Re: Linux FreeS/WAN road warrior problem
    ... > to host you will have no difficulties. ... > road warrior client, or if it has a net hanging off of it. ... linux2 is only a single linux client without a subnet behind it. ... >> Evaluating SSL VPNs' Consider NEOTERIS, chosen as leader by top analysts! ...
    (Security-Basics)
  • Re: Any known issues withsp2 and non-sp xp ics?
    ... DNS Server: 192.168.0.1 or your ISP's DNS server ... as my isp is configured to use DHCP (Dynamic Host ... After doing the above changes to the client, ... The host computer will provide the values. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Does Microsoft DNS support GSLB?
    ... physical proximity. ... which client IP subnet ranges are found in which physical locations. ... and then the client should be directed to the host defined as ...
    (microsoft.public.windows.server.dns)