Re: function that resolves IP addresses - Mailing list pgsql-general

From A. Kretschmer
Subject Re: function that resolves IP addresses
Date
Msg-id 20051019130915.GB12829@webserv.wug-glas.de
Whole thread Raw
In response to function that resolves IP addresses  ("Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch>)
List pgsql-general
am  19.10.2005, um 14:36:46 +0200 mailte Marcel Gsteiger folgendes:
> Hi all
>
> Does anybody know how I could create a database function that accepts
> an INET parameter and reverse-lookups the hostname via DNS PTR lookup?
> Something like the dnsname command line utility in the djbdns package. I
> need this function for analyzing firewall logs stored in the database
> with ulogd.
>
> Any idea would much be appreciated.

You can write such a function with a language like plperl or plsh.


Regards, Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: function that resolves IP addresses
Next
From: Richard Huxton
Date:
Subject: Re: psql runs out of memory