Date: Mon, 10 Mar 1997 15:00:03 -0800 (PST) From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs Subject: Re: bin/2812: sysinstall wont resolve addresses over PPP Message-ID: <199703102300.PAA05285@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2812; it has been noted by GNATS. From: j@uriah.heep.sax.de (J Wunsch) To: andrew@ugh.net.au (Andrew) Cc: freebsd-gnats-submit@freefall.freebsd.org Subject: Re: bin/2812: sysinstall wont resolve addresses over PPP Date: Mon, 10 Mar 1997 23:48:37 +0100 As Andrew wrote: > Just letting you know I get the same thing with 2.2-970302-GAMMA. > Presumably other people aren't experiencing the same thing as I haven't > seen any mention on the mailing lists but it still appears to be missong > the entered IP address and trying to resolve the null string. Hmm, i've just tried it with yesterday's sysinstall (in multi-user mode, but that shouldn't matter). Here's the log extract: DEBUG: Setting variable ftp to other DEBUG: variable ftp was other, now ftp:// DEBUG: variable ftp was ftp://, now ftp://127.0.0.1/usr/release/R/ftp DEBUG: hostname = `127.0.0.1' DEBUG: dir = `usr/release/R/ftp' DEBUG: port # = `21' DEBUG: Found DNS entry for 127.0.0.1 successfully. DEBUG: Setting variable ftpHost to 127.0.0.1 DEBUG: Setting variable ftpDirectory to usr/release/R/ftp DEBUG: Setting variable ftpPort to 21 So it does indeed try to resolve the IP address, but only if a nameserver is configured at all: if (variable_get(VAR_NAMESERVER)) { if ((gethostbyname(hostname) == NULL) && (inet_addr(hostname) == INADDR_NONE)) { ... ...but it works for me afterwards. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703102300.PAA05285>