Briefly doing DNS queries in Perl

As a companion to PythonDNSQueries , here is the sameprogram to query the SBL in perl, using the CPAN Net::DNS package.

#!/usr/bin/perl -wuse strict;use Net::DNS;my $sstr = ".sbl.spamhaus.org";my $res = Net::DNS::Resolver->new;foreach my $ip (@ARGV) {	$ip = join('.', reverse(split(/\./

廣告時間=當被遺忘的遇上

安仔是 「觸映份子」 的朋友,影片 《看不.看見》 的編劇及主角。
2005年他的新製作

書名: 當被遺忘的遇上
作者: 鄺頌安

銷售地點:05年07月20日起,於香港書展及各大書店有售
定價:HK$35.00

故事簡介:富商

20050730網摘 – 今年書展我無去

網絡發展

IE7 Beta 不得人 (Developer) 心?

Firefox


甜美生活

我的世界=Dry

How spammers seem to be coping with greylisting

I have a machine (my Debian Woody machine) that has far less aggressiveantispam defenses than anything else (as a result of an old andincapable mailer that is the Debian Woody default). As a result, I getto see an interesting view of some current spammer methods, more or lesslive and unfiltered.

One of the interesting things is that when email addresses on thismachine get spammed, they usually get several copies of the samemessage, all from the same origin address and the same machine.

My


病了

在公司一不小心「攝親」,昨晚頻打噴嚏,臨睡前已吃藥「打底」,但今天還是惡化了,現在頭好痛,鼻又塞,喉嚨不舒服。

其實自己也不算是易病的人,不過久不久總會來一次。在求學時期,這個「久不久」往往是在考試時,


Doing DNS queries in Python

Every now and then, there comes a time when you need to make DNSqueries more complicated than gethostbyname and gethostbyaddr . Orat least, that's what happens to me.

When this happens, my best Python tool is the dnspython module , a pure Python modulefor doing all sorts of DNS manipulation. But dnspython is alittle bit obscure to use, so here's a sample program.

This program looks up IP addresses on the command line that are in the SBL and reports the URLs to their SBL


黎明前的黑暗

……概之,王小波所持之以對抗文革的逃離邏輯,其實本身正正與文革的邏輯隱然唱和。王二們的勝利,只能回到文革去尋找。



13000字,以為寫完了嗎?還差一點,必須回到劉再復式的美學主體去再批判一輪。但幾乎是要

american boy 的分段方式(以簡體碼觀看)

〈偵探小說疏忽的細節〉 夏宇

有人喜歡咳嗽有人更喜歡在音樂會裡
咳嗽尤其是協奏曲尤其是第2章節有人則忍住
(有人贊成壓抑)至於噴嚏,她說:
每當進入一個新的空間在最接近大門的
一張椅子上坐下來首先壓縮了椅墊和
椅墊

Spam Storm, July 26th 2005

There's a spam storm blowing strong this week and it's irritating me,because it's pretty much all coming from compromised zombiemachines. Again. Zombies are clearly the number one general spamproblem, and it's probably only going to get worse as more and more ofthe world gets more and more broadband.

The biggest indicator I have of the storm is simple: since 6am onSunday, we've had 233,000 SMTP connections. As mentioned recently,