Date: Mon, 05 Apr 2010 13:10:37 -0500 From: Walter <walterk1@earthlink.net> To: Walt Pawley <walt@wump.org>, Questions <freebsd-questions@FreeBSD.org> Subject: Re: ftp giving url but i want the IP address Message-ID: <4BBA279D.7010102@earthlink.net> In-Reply-To: <p062408d7c7dfc9e7f39d@[10.0.0.10]> References: <4BB9FCFB.40103@earthlink.net> <p062408d7c7dfc9e7f39d@[10.0.0.10]>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/5/10 10:08 AM -0500, Walter wrote: >Walter, > >I do some similar sounding things for my gateway just to >keep the logs from filling up with attack drivel. But it's >not quite the same problem as your question, so I don't do >what I'm about to recommend - it's more complex, involving >several formats, IPv4 and IPv6. > >If, by "host-specific url" you mean the name associated with >the IP address, you should be able to get the IP address by >using the "host" command. > > "host xxxxxxx" does the trick. Thanks. But another user has suggested a ready-built package, which I'll look into before coding it to work in my program.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BBA279D.7010102>