function that resolves IP addresses

From: "Marcel Gsteiger" <Marcel(dot)Gsteiger(at)milprog(dot)ch>
To: <pgsql-general(at)postgresql(dot)org>
Subject: function that resolves IP addresses
Date: 2005-10-19 12:36:46
Message-ID: s3565a0b.007@milprog1.milprog.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Patrick FICHE 2005-10-19 12:56:51 Re: getting around---division by zero on numeric
Previous Message Merlin Moncure 2005-10-19 12:31:34 Re: [GENERAL] Oracle buys Innobase