Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 12:48:37 -0800 (PST)
From:      tstromberg@rtci.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/10627: whois.c points to old nic.ddn.mil address which no longer exists
Message-ID:  <19990316204837.D5B6D1516B@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10627
>Category:       bin
>Synopsis:       whois.c points to old nic.ddn.mil address which no longer exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 12:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Stromberg
>Release:        3.1-RELEASE
>Organization:
Research Triangle Consultants, Inc.
>Environment:
FreeBSD under.suspicion.org 3.1-STABLE FreeBSD 3.1-STABLE #0: Fri Mar 12 20:52:50 EST 1999     root@under.suspicion.org:/usr/src/sys/compile/COUNTER_INTELLIGENCE  i386

>Description:
whois.c (/usr/bin/whois) has an old #define for the DDN NIC
        (nic.ddn.mil). This host has been replaced by nic.nic.mil.


>How-To-Repeat:
try and use whois -d ...

[ventrex@under] whois> whois -d disa.mil                            
whois: nic.ddn.mil: Unknown host


>Fix:
--- whois.c     Tue Mar 16 15:35:48 1999
+++ whois.fixed.c       Tue Mar 16 15:35:58 1999
@@ -57,7 +57,7 @@
 #include <unistd.h>
 
 #define        NICHOST         "whois.internic.net"
-#define        DNICHOST        "nic.ddn.mil"
+#define        DNICHOST        "nic.nic.mil"
 #define        ANICHOST        "whois.arin.net"
 #define        RNICHOST        "whois.ripe.net"
 #define        PNICHOST        "whois.apnic.net"



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990316204837.D5B6D1516B>