in reply to Nameserver exit problem

A really wild guess: Signal handling had some issues with non-POSIX systems. See the section about signals in chapter 6 of the camel book. Maybe you can avoid the error with something like this:
$SIG{INT}= 'DEFAULT'; exit;
Is the error still there when you remove the cleanup code from your signal handler?

Could you try out a minimal script like

$SIG{INT}= 'handler'; sub handler { print "Got ctrl-Cd\n"; exit(0); } while (1) { sleep 1; }
If this shows the problematic behaviour, perl or your OS is the culprit. Otherwise you might search the source of Net::DNS::Nameserver whether it defines signal handlers.

Replies are listed 'Best First'.
Re^2: Nameserver exit problem
by ikegami (Patriarch) on Jul 21, 2008 at 03:17 UTC

    FWIW, your snippet worked with me without issues in WinXP with 5.6.0, 5.6.1, 5.8.0, 5.8.8 and 5.10.0.