Re: [dns-privacy] Operating System API support for DNS security policy

Rob Sayre <sayrer@gmail.com> Wed, 21 August 2019 02:34 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 074C2120835 for <dns-privacy@ietfa.amsl.com>; Tue, 20 Aug 2019 19:34:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qhyEXKCrMqGL for <dns-privacy@ietfa.amsl.com>; Tue, 20 Aug 2019 19:34:51 -0700 (PDT)
Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07B81120144 for <dns-privacy@ietf.org>; Tue, 20 Aug 2019 19:34:51 -0700 (PDT)
Received: by mail-io1-xd41.google.com with SMTP id i22so1596210ioh.2 for <dns-privacy@ietf.org>; Tue, 20 Aug 2019 19:34:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rqmNppYRB5p15crPz7juci1QjRBGYMLQGByvhdJP6RY=; b=oMJoDhuGv5jk4aQUYzXMIxWbQi4GTH9TVT2LhGweEr15DCpqWisT29Bq41/Y6iRuL/ pT5b7Te/TCKbdRJJdqNZn7UcZl6QCaPcEaq7Cibz2AJBLbMnSpm8j7tLSNrUGuqWMy9a H4pen5vCpczRo3iS7V5wPZ5nfnABdfmNNTDJl7U3Y1LT73uBliLtVLm4qVWS2EkeUb9u Y4emBcHjUG5YgArL1vso3JCz1bq0ZPhHVqvGt38Ydjcb1GNUcHjffB5KjQrWssGwFkM8 XLykgSqJ+gaUGcdXWeJYLWI7WKNlpS04GQE+p04Dubb1qXYsbLeO65kFqmySj+4gmJm9 YdsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rqmNppYRB5p15crPz7juci1QjRBGYMLQGByvhdJP6RY=; b=I/HP2fBiBTaL911ECRaYjvjFmobyWOL46FpYgol7QOv0YAzlVAJgQRbUv10f7BuseB RNUoT/g0xCnrOiLr+T5sItLx8NP4/fJbw9OqNLwtSEbQtiuACjF1/Rx9hM6fWhZjbZlc QZ5WmS4sbWZc4ZtFEbRPQlwknwce4ojxlBBG7+U4uQ2rJFq6HaSdSVGVCVAyFaHDJLMT 5kJDF9oF+pV1sqNU9etHRSA+25++lHkHgzBPtzRQObYMpMJQykX4kO0vWXeD0x0mIX82 mMYXhA5DBnmIKciGYAYv2oaOgADWi1m5QwB/KuxWyTLlffTyBk8bO/JK9dqNla0QvoEy l35A==
X-Gm-Message-State: APjAAAU9yZV2XaKl/rzF46pNGsR70kgedft8oo1hHhXYWmvnNcg3+8Ze noRRjOFWqmYPAsOjLpMEDwFI8nCateXYUuU7/kAlk41Sb8dEQg==
X-Google-Smtp-Source: APXvYqzpGlRrtPhma+FvtqOfEM86IpNOn0qTe+/qR5hm3PHVf2GRZdU+PeyxK0eyAq+kk1tH0eUUCp56gCYjwOHPdss=
X-Received: by 2002:a5e:d618:: with SMTP id w24mr1234328iom.73.1566354889939; Tue, 20 Aug 2019 19:34:49 -0700 (PDT)
MIME-Version: 1.0
From: Rob Sayre <sayrer@gmail.com>
Date: Tue, 20 Aug 2019 19:34:38 -0700
Message-ID: <CAChr6Szutd5Z=Ern4qaGuGq+jMm3_xG57TKLfjkA-7FXWk5qWA@mail.gmail.com>
To: dns-privacy@ietf.org
Content-Type: multipart/alternative; boundary="000000000000cea18c0590976a44"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/zCwPui6EYNN2QbYiV8A0dA2dB40>
Subject: Re: [dns-privacy] Operating System API support for DNS security policy
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Aug 2019 02:34:53 -0000

> Would the following be a fair summary of the discussion?
> 1) There is some support for the idea it would be useful for APIs to allow
> an application to at least know, and perhaps influence, what DNS security
> features will be used if it makes a DNS request via the operating system.
> 2) The getaddrinfo() API in RFC3493 doesn't provide this capability.

Isn't the getaddrinfo() API defined by POSIX?

<https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html
>

"The Open Group Base Specifications Issue 7, 2018 edition
IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008)
Copyright © 2001-2018 IEEE and The Open Group"

thanks,
Rob