"{Darkavich} Steven Misrack" <[EMAIL PROTECTED]> wrote:
> Generally, the DNS servers have a 60(ish)byte limit for a DNS 
> replay  over UDP. 

512 bytes, from RFC 1035 section 4.2.1.  RFC 2671 allows the client
to advertise a larger limit but the Sun Ray resolver doesn't do that.

> They then switch to TCP to deliver a reply larger 
> than a  UDP packet. (that's why you have to allow both udp/tcp for 
> dns via a  firewall).

The server doesn't just switch to TCP, it always sends a UDP 
response to a UDP query.  The client can submit a query via TCP if 
it wants, and that's one way that a client might react if a UDP 
response was so long that the server had to truncate it.  Or if the 
truncated UDP response contained enough information to satisfy the
client then the client might just use that partial information.  
That's what the Sun Ray resolver does.  As long as the truncated
UDP response contains at least one A record the Sun Ray will use
it.

> The question I really need to understand is if the reply is larger  
> than a TCP packet (1500bytes I believe) then it will fragment. Can  
> the client deal with that, or will it ignore the rest? or will it  
> fail completely?

The server is not allowed to send a UDP response datagram larger than
512 bytes, and that should never get fragmented.  Depending on how 
long (and how similar) your server names are that should be enough to 
hold several A records, 25 or more in the best case.

OttoM.
__
ottomeister

Disclaimer: These are my opinions.  I do not speak for my employer.


> On Oct 28, 2005, at 12:19, Darin Perusich wrote:
> 
> > are you talking about DNS A records? there really is no limit if  
> > you are, see pg 259 in the oreilly dns/bind book. if you want to  
> > share multiple CNAMEs you need enable it "options 
> > {multiple-cnames  yes;};". this would have nothing to do the the 
> > client itself but  the resolver libraries.
> >
> > i associate a dns record with all of the sunray clients, forward  
> > and reverse in seperate zone, sunray.domain.com. try doing 
> > netstat - a on a sunray server where there isn't a dns entry for 
> > the clients.  the server tries to do a reverse lookup on every 
> > sunray client ip  address, it take forever!
> >
> > {Darkavich} Steven Misrack wrote:
> >
> >> What's the max number of A records the sunray client can handle?
> >> I would like to just list ALL of my servers, but figured I might 
> >>  hit  some buffer limit.
> >>
> >
> > -- Darin Perusich
> > Unix Systems Administrator
> > Cognigen Corp.
> > [EMAIL PROTECTED]
> > _______________________________________________
> > SunRay-Users mailing list
> > [email protected]
> > http://www.filibeto.org/mailman/listinfo/sunray-users
> >
> 
> _______________________________________________
> SunRay-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/sunray-users


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to