Wednesday, August 28, 2024

Re: opensmtpd-filter-rspamd service thinks localhost is localhost.town?

On 2024-08-28, Jag Talon <jag@aangat.lahat.computer> wrote:
> Omar pointed out that this issue should've been patched with this
> commit:
>
> https://codeberg.org/OpenBSD/src/commit/373da8abb60949de81b32d3c8eaecdaabf17bdaa

That's in libc. Go does use that in some cases but not all, and it's
rather complicated to figure out which resolver will be used in any
particular case (unless forced):

https://pkg.go.dev/net#LookupHost
https://github.com/golang/go/blob/master/src/net/conf.go#L19

By setting environment variables you can force one or the other to
identify where the problem lies.

No comments:

Post a Comment