Re: translate an ip
- From: "Jared Still" <jkstill@xxxxxxxxx>
- To: andrew.kerber@xxxxxxxxx
- Date: Wed, 29 Aug 2007 06:58:28 -0700
On 8/28/07, Andrew Kerber <andrew.kerber@xxxxxxxxx> wrote:
>
> Hello experts,
>
> I am trying to build a function to translate an IP address into its name,
> or vice versa. I have a mixed bag of IP addresses and DNS names, all culled
> from AUD$ history tables. What I need is a consistent format, either IP or
> DNS name, so I can consolidate the information. I am trying to use
> utl_inaddr.get_host_name. It works, but if it encounters an IP that it
> can't translate, my SQL statement fails. The same for using
> utl_inaddr.get_host_address. What I have so far is below. It compiles, but
> it doesn't catch the error. What I need is something that will either
> translate the address, or else return the original value. I would
> appreciate any help you might have to offer.
>
>
What is the nature of the failure?
IP or hostname that no longer exists?
Or something else?
--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
- Follow-Ups:
- RE: translate an ip
- From: Kerber, Andrew W.
- References:
- translate an ip
- From: Andrew Kerber
Other related posts:
- » translate an ip
- » Re: translate an ip
- » Re: translate an ip
- » RE: translate an ip
- RE: translate an ip
- From: Kerber, Andrew W.
- translate an ip
- From: Andrew Kerber