Mailing List Archive

LVS+DNS Howto ??
Hello,

i tired to use LVS with DNS, but the only thing i get is "timeout".

Which SEND-string do i have to send to UDP-53 to get a minimum of 1 byte of
answer from my DNS-server.


thx,
Manfred
Re: LVS+DNS Howto ?? [ In reply to ]
We have never had problems with DNS+LVS. Just remember to forward both UDP and TCP port 53.

-Alex



=================
>Hello,
>
>i tired to use LVS with DNS, but the only thing i get is "timeout".
>
>Which SEND-string do i have to send to UDP-53 to get a minimum of 1
>byte of
>answer from my DNS-server.
>
>
>thx,
> Manfred
>
>
>_______________________________________________
>LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
>Send requests to lvs-users-request@LinuxVirtualServer.org
>or go to http://www.in-addr.de/mailman/listinfo/lvs-users



Alexis Panagides - Diretor - Tecnologia
INOVA International, Inc, USA
INOVA Tecnologias Ltda, Brazil
http://www.inova.com.br
Re: LVS+DNS Howto ?? [ In reply to ]
On 12 Dec 2000, Alex wrote:

> We have never had problems with DNS+LVS. Just remember to forward both UDP and TCP port 53.
>
> -Alex
>
>


That wasn't the question. The question is "What string to we need to send
to get at least a 1 byte reply from the DNS server."


I would like to know that answer as well.


David D.W. Downey
Re: LVS+DNS Howto ?? [ In reply to ]
A few things:

1) Be sure you're forwarding TCP/53 and UDP/53.

2) Be sure that you have a definition in your nameserver for the virtual
name in which it is being called through the LinuxDirector.

That is, say you're balancing DNS on an IP 192.168.16.1. If you cannot look
up 192.168.16.1 on the real-server nameserver, then some programs (like
nslookup) will make it appear like DNS load balancing isn't working when it
actually is.

So make sure 192.168.16.1 looks up to be ns.myplace.blah.

Now regarding UDP/53 and which send string... I haven't really ever
thoroughly studied the RFC on nameserver communication, but I AM *GUESSING*
that the UDP stuff is only used for updates. That is, I'm not really sure
you're going to get any sort of response from your nameserver if you send it
information over UDP. I think that UDP is only used when a master nameserver
needs to send updates to its slaves. That's the only thing that makes sense
to me as to how UDP would be used.

I'm FAIRLY sure that actual nameserver communication (like the type you'll
be loadbalancing) is chiefly TCP in its nature. That is, one CONNECTS to a
nameserver and then requests information. This sounds like a TCP operation
to me.

If you're not balancing your TCP, that would definitely explain why you're
getting timeouts.

All the best --
Ted

----- Original Message -----
From: "Manfred Trodler" <trodler@it-level-one.de>
To: <lvs-users@mx.in-addr.de>
Sent: Wednesday, December 06, 2000 3:07 PM
Subject: LVS+DNS Howto ??


> Hello,
>
> i tired to use LVS with DNS, but the only thing i get is "timeout".
>
> Which SEND-string do i have to send to UDP-53 to get a minimum of 1 byte
of
> answer from my DNS-server.
>
>
> thx,
> Manfred
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
>