[Dnsmasq-discuss] Error when using nftset
Sebastian Loncar
sebastian.loncar at gmail.com
Wed Dec 14 18:48:47 UTC 2022
I got it working, now. Accidentally, I used "map" instead of "set". A
better error message would be helpful.
Correct: nft add set inet filter google { type ipv4_addr; }
On Wed, 14 Dec 2022 at 14:31, Sebastian Loncar
<sebastian.loncar at gmail.com> wrote:
>
> I receive the following error:
>
> nftset inet filter filter google Error: Could not resolve service:
> Servname not supported for ai_socktype
>
> This happens, when dnsmasq tries to add an IP entry into nft map.
> The set was created in this way:
>
> nft add map inet filter google \{ type inet_service: ipv4_addr\; \}
>
> OS: Debian 11, but picket dnsmasq, dnsmasq-base, dnsmasq-utils and
> netbase manually from debian "bookworm" (upcoming version), to get the
> v2.87 on my Raspberry Pi.
>
> Updating netbase from bookworm (which contains /etc/services) didn't help.
More information about the Dnsmasq-discuss
mailing list