gethostbyaddr doing a A query

pappu72_99_at_yahoo.com
Date: 11/17/05


Date: 17 Nov 2005 06:32:35 -0800

Hello all

I am curious to know the reason for behaviour of gethostbyaddr which i
am mentioning below
I was tracing the packets using tcpdump

19:57:34.470224 IP x1.53399 > x2.domain : 161+ PTR? x3.in-addr.arpa.
(44)
19:57:34.471383 IP x2.domain > x1.53399: 161* 1/3/3 (222)
19:57:34.473371 IP x1.53400 > x1.domain : 162+ A? x3. (39)
19:57:34.474282 IP x2.domain > x1.53400: 162 1/5/5 A[|domain]

x1=server
x2 = DNS server
x3 = client

when client x3 connects to server x1, the server code does a
gethostbyaddr() with clients, x3's address. So we can understand the
PTR query.

But can anyone tell me for what reason does it immediately does a A
query ?

Thanks
Pappan



Relevant Pages

  • Re: Keeping track of variables created
    ... My client sends a remote readrequest to the server. ... The reason you need ObjectIDs is if you create several SpecialFiles ... The reason you need the specialFile variables on the client side is ...
    (comp.lang.java.help)
  • Re: max message size.
    ... The fact that your reason does not make any sense does not matter. ... If the transfer started at all, there should be some sort of log entry indicating as such, I would even expect that there would be a log entry stating that your client connected and possibly disconnected with out issuing any commands. ... attachment be 4/3s the size in transit) which would put TREMENDOUS strain on our old mail server that was using mbox to store messages. ... Combine mbox with a POP3 server that has to make a copy of the mbox file to access it that was being hit every 30 to 90 seconds, the system ended up thrashing more than it did any thing else. ...
    (comp.mail.sendmail)
  • Re: username and Password sent as clear text strings
    ... The following are the reason I was thinking of IPSEC: ... be passed to the client it is completely trivial to reverse engineer. ... This is how all web applications on the planet work today by design. ... I completed a security review of a web server, ...
    (Pen-Test)
  • Re: Export NFS share as rw but is being mounted as ro?
    ... > mailman happens for whatever absurd reason to be in /spool. ... The client is mounting it read-write, but the server is telling the ...
    (comp.unix.solaris)
  • Re: Exchange Mixed Mode ??
    ... the server unless I tell them to. ... >And this client documents and knows what she's changed ... is no reason not to ... >>>While poking around Exchange on a SBS2003 setup I ...
    (microsoft.public.windows.server.sbs)