[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: Adding a custom header to posted messages?
Matthias Andree <matthias.andree@xxxxxx> writes:
> Lloyd Zusman <ljz@xxxxxxxxxx> 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.
God bless you.
leafnode-list mailing list