[leafnode-list] Re: Adding a custom header to posted messages?
Lloyd Zusman
ljz at asfast.com
Tue Sep 20 00:24:12 CEST 2005
Matthias Andree <matthias.andree at gmx.de> writes:
> Lloyd Zusman <ljz at asfast.com> writes:
>
>> Well, I discovered the info about the X-Leafnode-NNTP-Posting-Host
>> header, which at least displays the IP address. This is quite useful,
>> but I'm wondering how hard it would be to also cause it to optionally
>> do a DNS lookup and also display the domain name, if it's found. Given
>> that this can be a somewhat expensive operation, I would want it to
>> be controlled by a configuration variable.
>
> Certainly possible.
>
>> I'm willing to create a patch which adds this feature, but before I get
>> to work, I'd like to know what the rest of you think about this idea.
>
> I'd appreciate if the patch were IPv6 aware (i. e. it should use
> getnameinfo, not gethostbyaddr).
OK. I'll work on this in my spare time, and I'll use getnameinfo if it
exists ... if not, then I'll use gethostbyaddr and IPv4. I presume that
there's some sort of autoconf test I can use to determine this.
Thanks!
--
Lloyd Zusman
ljz at asfast.com
God bless you.
More information about the leafnode-list
mailing list