Tk Library Source Code

View Ticket
Login
Ticket UUID: 564674
Title: dns::resolve time out
Type: Bug Version: None
Submitter: gwlester Created on: 2002-06-05 02:08:59
Subsystem: None Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-07-07 05:55:40
Resolution: Rejected Closed By: patthoyts
    Closed on: 2002-07-06 22:55:40
Description:
On a Windows NT system running behind a fireware the dns::resolve always times out.

E.g.
> tclsh
% nslookup www.uno.edu dns.myisp.net
Server:  dns.myisp.net
Address:  xx.xx.xx.xx

Non-authoritative answer:
Name:    internet-service.ucc.uno.edu
Address:  137.30.1.92
Aliases:  www.uno.edu

% package require dns; # Have to do this twice due to another bug
% dns::configure -nameserver dns.myisp.net
% dns::resolve www.uno.edu
couldn't open socket: connection refused
%
User Comments: patthoyts added on 2002-07-07 05:55:40:
Logged In: YES 
user_id=202636

This isn't a programming problem so I'll close this. At some
point we should enhace the code to use UDP if available but
I don't need this so I don't imagine I'll find the time.

andreas_kupries added on 2002-06-06 02:40:52:
Logged In: YES 
user_id=75003

This is a TCP versus UDP problem. While DNS/tcp is not 
blocked by the firewall (as initially suspected) it is the DNS 
server itself in this particular configuration which is UDP only, 
and thus not usable with this module.

On a different machine dns::resolve worked as expected.