Re: function that resolves IP addresses

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: function that resolves IP addresses
Дата
Msg-id 4356456E.1060103@archonet.com
обсуждение исходный текст
Ответ на function that resolves IP addresses  ("Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch>)
Список pgsql-general
Marcel Gsteiger wrote:
> 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.

You can write "unsafe" functions in any of the pl...u languages and also
pl/sh and "C". Should be simple enough in whatever language you're most
familiar with.

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: function that resolves IP addresses
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: function that resolves IP addresses