Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0003bd0c2e0cb9d1ce22ab97cfb087faa38ad7ae
Ticket: 1962217fffffffffffffffffffffffffffffffff
dns resolver problem
User & Date: nobody on 2008-05-12 07:06:36
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I have a problem to resolv reverse DNS in tcl interpreter compiled with treads in my server socket code. If host is available i reverse DNS zone it is ok but if host is not available tcl returns last position from /etc/hosts file.
    This situation is only on tcl compiled with threads. I check 8.5.2, 8.4.15, 8.4.18
    
    No threaded interpreter:
    logger: Opening SMTP connection from 172.16.17.222
    
    Threaded interpreter:
    logger: Opening SMTP connection from osiolek
    
    Last position from my /etc/hosts
    172.16.55.11 osiolek
    
    fconfigure returns bad hostname 
    
    Sample code:
    if {[catch {set RemoteName [lindex [fconfigure $channel -peername] 1]} err]} {
            logger "Can't read client name"
            after 0 "close $channel"
            return
        }
    
    Linux distributions: SLES 9, SLES 10, Ubuntu
    
    [email protected]
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "49. Threading"
  11. title changed to: "dns resolver problem"
  12. type changed to: "Bug"