function that resolves IP addresses - Mailing list pgsql-general

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.

Regards
--Marcel

pgsql-general by date:

Previous
From: Tim Nelson
Date:
Subject: getting around---division by zero on numeric
Next
From: "Jonas Forsman"
Date:
Subject: Re: Wrong charset?