Details

Description

log4net.Util.TypeConverters.IPAddressConverter uses only DNS query to get the IP address.
But it may not convert an IP-address text properly especially on .NET 3.0.
(Try Dns.GetHostEntry("127.0.0.1") on Vista. It returns some IPv4 and IPv6 addresses.)

If you want to convert IP-address text directly, you should use IPAddress.Parse() or IPAddress.TryParse().
You can also use Dns.GetHostAddresses(). It converts IP address properly.
It would be better on .NET3. In .NET2, it seems not recognize IPv6 address.