libdns: Workaround for bracketed numerical addresses.