[ntpwg] NTP daemons and DNS (question)

Marco Davids <Marco.Davids@sidn.nl> Wed, 24 July 2019 17:40 UTC

Return-Path: <Marco.Davids@sidn.nl>
X-Original-To: ntpwg@ietfa.amsl.com
Delivered-To: ntpwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C95912031D for <ntpwg@ietfa.amsl.com>; Wed, 24 Jul 2019 10:40:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sidn.nl
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 JEzeN5QsgyUg for <ntpwg@ietfa.amsl.com>; Wed, 24 Jul 2019 10:40:14 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80043.outbound.protection.outlook.com [40.107.8.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 45CFB120112 for <ntpwg@ietf.org>; Wed, 24 Jul 2019 10:40:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fWIUD8fiaNcJskDScJ+E75DnYknrPzhRZYD/EMqHElxy3Znc9jb5rI2MYsli616B0+Rx45WzlVvIgQbjEegSQEiWqOHLK6hTq0UT8eia1TPBrQibWFtcnqUlXbkC0WmW/2ibbgs4jenTuDOfrxebhW5wc6Zytbt+xS/pj8rWUra5cDOhvVOppLqLJjJRWQ2Sah70jX/dV/jIWMJWnrXS1p1WxWDm/cKS5CJCE1ZFIW2fkxepd5VnYsSZmeOsvI1UIenfP0w1H50W8bzsim8M7BLkbbSD9NRWBM0pWFODz4TsLiibK/wqfmOmddPtLCujAc+CMz7x1GrhcaagfnmeZQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ClUBsYRhPQTK33Z+pFaoH8M4qsyGgK3nQkHn/d921AM=; b=KNfaMItl++kI4Qt5huljmdgNO7MCvLL0/p5MJKfflBjUKjEqEA5Fh/q7OxoS0pWkC+jGyqccVIafSwlviUk9d+q/ArxKPEcslAMMsQlYGzNSA+S6eke18eV4eGCTCxJurlypKAZ3tBPaHOnja4WpR1UgtYv0NFJjPGeC2+1p9DuS5QxVwQ8ctWkc1iUR5+hIX0RM/S6L24kL1xsLTCI32LMSj425uExeGkwK9BsnnSJDag/y2/DKFKg8u5wo+sqX02GNiAvMivnCiE4oRMcl3ArSVPw494Jbuj1OqLMxSIKPxmanJiX7Wm3G/Pzfl5VwzS6+zZhVzq8IPPllNmIUjA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=sidn.nl;dmarc=pass action=none header.from=sidn.nl;dkim=pass header.d=sidn.nl;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sidn.nl; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ClUBsYRhPQTK33Z+pFaoH8M4qsyGgK3nQkHn/d921AM=; b=UyAgwURcyTJyHjconX91tl6RDoHrqxGFzobtmg/o5olg4j7WY9hX4/tut55gwqwZYbv2gQZmmSeDDYBWIDAdhTpblIKChbFK7Gvkvwbz9+1uyhzAe6RIVTAInqNZMELLbZ/WEPm+ehMzPpw3gfqeoE/B9jWWkprWC7I5j0fiV9k=
Received: from AM5P194MB0114.EURP194.PROD.OUTLOOK.COM (10.175.13.16) by AM5P194MB0052.EURP194.PROD.OUTLOOK.COM (10.175.14.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Wed, 24 Jul 2019 17:40:12 +0000
Received: from AM5P194MB0114.EURP194.PROD.OUTLOOK.COM ([fe80::21b5:4b97:f478:99d9]) by AM5P194MB0114.EURP194.PROD.OUTLOOK.COM ([fe80::21b5:4b97:f478:99d9%9]) with mapi id 15.20.2094.013; Wed, 24 Jul 2019 17:40:12 +0000
From: Marco Davids <Marco.Davids@sidn.nl>
To: "ntpwg@ietf.org" <ntpwg@ietf.org>
Thread-Topic: NTP daemons and DNS (question)
Thread-Index: AQHVQkbYLtNOOwcMCki0vDixgGF3Dg==
Date: Wed, 24 Jul 2019 17:40:11 +0000
Message-ID: <7b85c980-7bf0-837f-0f69-dd1c7c0a6b61@sidn.nl>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
openpgp: preference=signencrypt
x-originating-ip: [31.133.137.176]
x-clientproxiedby: QB1PR01CA0034.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:2d::47) To AM5P194MB0114.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:82::16)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Marco.Davids@sidn.nl;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2282d572-696b-45fb-8a3f-08d7105dfa97
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:AM5P194MB0052;
x-ms-traffictypediagnostic: AM5P194MB0052:
x-microsoft-antispam-prvs: <AM5P194MB00529574C4ACC97539F2905297C60@AM5P194MB0052.EURP194.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 0108A997B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39840400004)(136003)(396003)(376002)(346002)(189003)(199004)(66066001)(65956001)(65806001)(6916009)(66476007)(31696002)(7736002)(81166006)(305945005)(65826007)(66946007)(52116002)(486006)(66556008)(5660300002)(64756008)(2906002)(2501003)(2616005)(476003)(81156014)(14454004)(86362001)(8936002)(26005)(186003)(6436002)(68736007)(5640700003)(256004)(64126003)(6116002)(53936002)(3846002)(316002)(1730700003)(6506007)(25786009)(44832011)(36756003)(66446008)(8676002)(99286004)(2351001)(71200400001)(71190400001)(6486002)(6512007)(4744005)(508600001)(31686004)(386003)(58126008)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5P194MB0052; H:AM5P194MB0114.EURP194.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: sidn.nl does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: zGBhr7fUq5yaXcc/H/+00VxOw6PAqNJd9/OG8q0YCX+fv+rX3X59ius8hcvsdCwAZa87YnI36HLh7COfMBNcjkydNg1eirB4WrkWKMjYn7TAHJurPL0zAh9r2VH7ITLNHsDkxvjk1/pb/gzkSJUpBK8I6A9N/icvOndEcAUIONSrZ5UWWmAnSCQJc5qosGP3myOCax8k6uik3SXuZbIfR+bZyvZ9fi8IbTrofFSjFoLCEaqEB0R3gXCve3AaMjaapbZqFYAFu4cI8733aTMqkRniiqG8hywZ59zsFgKl62q63NJqQE1saXhhGMy/C6iItzEn2GOpvWaj/AbqIEeZRxbvE4x39Tx+i1CXCJJIsDY5pzPIK9KqTLj6EQquIZGUOolY+XvudkWXZzKBI6VlO3V/RvLMG3+PfDOmyA9WZPE=
Content-Type: text/plain; charset="utf-8"
Content-ID: <1C3C611C96893640A09FCCC8930326C3@EURP194.PROD.OUTLOOK.COM>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: sidn.nl
X-MS-Exchange-CrossTenant-Network-Message-Id: 2282d572-696b-45fb-8a3f-08d7105dfa97
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2019 17:40:11.9922 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ab4d3626-c1c5-4a75-ab85-427f1a644a7d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Marco.Davids@SIDN.nl
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5P194MB0052
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntpwg/PLD6Me8xTWpfH8dQim9jgGWn1b4>
Subject: [ntpwg] NTP daemons and DNS (question)
X-BeenThere: ntpwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NTPWG list <ntpwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntpwg>, <mailto:ntpwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntpwg/>
List-Post: <mailto:ntpwg@ietf.org>
List-Help: <mailto:ntpwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntpwg>, <mailto:ntpwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jul 2019 17:40:16 -0000

Hi,

I'm trying to understand how various NTP daemons handle DNS.

Will they perform a DNS lookup each time they are about to poll a
server?

Or do they lookup and store the IP address of an NTP server in ntp.conf
once when they start and keep using that forever?

Or something in between perhaps?

I tried to figure this out with TCPdump, but my findings where not
conclusive enough.

Thanks.

-- 
Marco