From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=new2025; t=1756042622; bh=eBp4jul7t/CMd/pNEEBHst9hP5O+Xjo9k/DqBYCWEBk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding:Message-ID:Date:From: Reply-To:Subject:To:Cc:In-Reply-To:References:Resent-Date: Resent-From:Resent-To:Resent-Cc:User-Agent:Content-Type: Content-Transfer-Encoding; b=Db1ciULzVR/J/PmZ0ppuAsUvaDm0ftqrHtTJU2PNV/nt2iWb1/EfPB20ShsZuxjaz jUmxX8cVEFeYtubptc1yVYuoSiAlWFnUVso1MwwRlunvm/Z/wk+4V/u1MNtfjpcdac c7+CiGVzWtFrysrlHT460aMvok++zWhFjIM3NAcM7Ur3UvJmKS4TIIg4Xmaue512qR D9JHiTsB121+yjCEZoMLCgwl5d9fn1mYcjajlwXdpWGsCaBTdDyN0woTxlIaPAcJMf iAVX1Q4HraiywIkXcYlpGmu57BAbCX4A0XZone03SJjm1Fwluh51zvr1ptztvvzIwl b0Skp+0bPCsPA== Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 1F81B3127F7C for ; Sun, 24 Aug 2025 13:37:02 +0000 (UTC) Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-3364e945ce7so21211541fa.1 for ; Sun, 24 Aug 2025 06:37:02 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVbyC0bw4jAG61yhnSEu3OUM85oXSRaLUp39sXMWGDvEoy+jnwINU0qAQ5WiCGiFVCKVIAA@vger.gnuweeb.org X-Gm-Message-State: AOJu0YxJiZYPFI/k6FLScPMEJXUaiSOX9tPJp9TqA8xMb1SMCw0C/Ygv aqQ4n+gwb2NgKYjUSz3QQ+Qa2GUPlii02gaQBRtZlBhN7OefOjderEsoNnwSkBYLw8ZOgoHNHEi CCfEhwyceAzqIB61T0AYa4Mf0ENBjHxo= X-Google-Smtp-Source: AGHT+IGR/5Wu7XBeO8MrA8Wkr7GvS2SdCLm43L4ben9eg8Zfa27/swFLLV7UUmgcohWGtyQA45MKptE0BMVvoGuvx80= X-Received: by 2002:a05:651c:31d5:b0:32a:79d4:c900 with SMTP id 38308e7fff4ca-33650fdaa00mr30258231fa.33.1756042621471; Sun, 24 Aug 2025 06:37:01 -0700 (PDT) MIME-Version: 1.0 References: <20250814044658.252579-3-reyuki@gnuweeb.org> <20250816160303.GA144043-ammarfaizi2@gnuweeb.org> <20250822195242.GA3236201-ammarfaizi2@gnuweeb.org> <20250823022847.GC3508499-ammarfaizi2@gnuweeb.org> In-Reply-To: <20250823022847.GC3508499-ammarfaizi2@gnuweeb.org> From: Ahmad Gani Date: Sun, 24 Aug 2025 20:36:24 +0700 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXwF4ewwdMfVkI6HKo2Uvq3pnckcDCUq4xIIdQFlSVIh5lPk6aZgZ8xJS4U Message-ID: Subject: Re: [PATCH gwproxy v5 2/2] dnsparser: Add dns parser code To: Ammar Faizi Cc: Alviro Iskandar Setiawan , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: On Sat, Aug 23, 2025 at 9:28=E2=80=AFAM Ammar Faizi wrote: > Ahmad, I'll apply your patch series if your DNS resolver is already > usable from at least the epoll event loop. By the way, you can call me Gani, as that=E2=80=99s what people usually cal= l me. > Your objective now is only focus on resolving DNS via UDP port 53. Make > it usable from the epoll event loop. I've reverted the previous working DNS code and marked the raw DNS backend as experimental, with the feature disabled by default [1]. I'll avoid rebasing unless necessary to prevent frequent forced pushes to the repository. In the end, the work will likely be squashed down to just two commits: 1. Add DNS parser code 2. Add experimental raw DNS feature Next, I'll work on fixing the parser issue. Right now, it can only handle A and AAAA records, and doesn't handle CNAME records properly. [1]: - main changes: https://github.com/realyukii/gwproxy/commit/a8d495342d993cbf813e3591070a619= a55395ab8 - fix Github CI: https://github.com/realyukii/gwproxy/commit/d5e508106faa42e2e39397f2756762c= eabe5619c -- Ahmad Gani