This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5790] strange behavior of getnameinfo on multiple PTR records


------- Additional Comments From leolistas at solutti dot com dot br  2008-02-26 13:31 -------
I dont know anything about coding .... but just as curiosity, the 2 IP addresses
i listed, which contains 258 and 357 PTRs, have the following 'reply sizes':

[root@correio postfix]# dig @ns1.cultura.com.br 58.255.34.201.in-addr.arpa ptr  
;; Truncated, retrying in TCP mode.

;; Query time: 625 msec
;; SERVER: 201.34.255.2#53(201.34.255.2)
;; WHEN: Tue Feb 26 10:27:59 2008
;; MSG SIZE  rcvd: 9137


[root@correio postfix]# dig @ns1.cultura.com.br 70.255.34.201.in-addr.arpa ptr  
;; Truncated, retrying in TCP mode.

;; Query time: 542 msec
;; SERVER: 201.34.255.2#53(201.34.255.2)
;; WHEN: Tue Feb 26 10:29:57 2008
;; MSG SIZE  rcvd: 12116

if i correctly understood, buffer would have to be raised to fit these kind of
big replies, that's correct ?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5790

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]