| От | Bruno Wolff III |
|---|---|
| Тема | Re: function that resolves IP addresses |
| Дата | |
| Msg-id | 20051029161806.GA13786@wolff.to обсуждение |
| Ответ на | function that resolves IP addresses ("Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch>) |
| Ответы |
Re: function that resolves IP addresses
|
| Список | pgsql-general |
On Wed, Oct 19, 2005 at 14:36:46 +0200, Marcel Gsteiger <Marcel.Gsteiger@milprog.ch> 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. > > Any idea would much be appreciated. Note that dns lookups can be slow and that might cause some issues for you if it leaves resources needed for other queries locked while the function waits for a response.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера