Re: easy to remember addresses and /etc/hosts and DNS

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 26 April 2019 11:36 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B8AA1200DB for <ipv6@ietfa.amsl.com>; Fri, 26 Apr 2019 04:36:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.632
X-Spam-Level:
X-Spam-Status: No, score=-2.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 0Nlde7O--WqM for <ipv6@ietfa.amsl.com>; Fri, 26 Apr 2019 04:36:39 -0700 (PDT)
Received: from cirse-smtp-out.extra.cea.fr (cirse-smtp-out.extra.cea.fr [132.167.192.148]) (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 CBE20120059 for <ipv6@ietf.org>; Fri, 26 Apr 2019 04:36:38 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3QBaa85004272; Fri, 26 Apr 2019 13:36:36 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 11B1E2044D0; Fri, 26 Apr 2019 13:36:36 +0200 (CEST)
Received: from muguet2-smtp-out.intra.cea.fr (muguet2-smtp-out.intra.cea.fr [132.166.192.13]) by pisaure.intra.cea.fr (Postfix) with ESMTP id F342E202629; Fri, 26 Apr 2019 13:36:35 +0200 (CEST)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet2-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3QBaZVU022733; Fri, 26 Apr 2019 13:36:35 +0200
Subject: Re: easy to remember addresses and /etc/hosts and DNS
To: Mark Smith <markzzzsmith@gmail.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com>, 6man WG <ipv6@ietf.org>
References: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com> <CAJE_bqd9frqX5-yeVPj8MYXpZ4737HqK1gmfD9cQV3A-Ea5HrQ@mail.gmail.com> <6bd5db47-408a-727e-5c13-f34a3465f986@si6networks.com> <CAJE_bqfTLqRbLp4fLu2ASZuZ+4G5c2G+RXkO92kXfLgPTqBnng@mail.gmail.com> <EEF00EA7-2AAF-403F-99AD-1D53ED18E8B3@cisco.com> <CAJE_bqe8OXPWRDvXEY66gZHiBgv37OV67YB27WoEtq_VmBqieQ@mail.gmail.com> <3F852B26-FD19-445D-A8E9-94BCBB9BE7C1@gmail.com> <455C3D20-E71B-4DF4-837E-081964E3328A@gmail.com> <19275484-3fa5-7c4e-3624-b861ddea6e2f@gmail.com> <2B1FBA08-3DDB-4287-B2B4-11324334B7FC@employees.org> <5b3f148a-3f61-66ea-716a-9f29cb4de346@gmail.com> <m1hJazF-0000ILC@stereo.hq.phicoh.net> <b6cb92ac-859e-cf8a-d4cf-1115ff7a8241@gmail.com> <b810937b-8989-1c61-89b8-2b8ee176587a@gmail.com> <CAO42Z2z+SYZnf2TztPVW3h6mZFj6B8BKqDsa=vcsLJ1gmz6gpQ@mail.gmail.com> <7131ea21-1a0c-ebe7-d08b-50747f8c4229@gmail.com> <CAO42Z2yuh3jtU6YJMoyCOruZozyyEgTxeeBpot2jqMW5S=zWfw@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <6c84b452-ff6b-373d-2efb-9f4e337f0a5d@gmail.com>
Date: Fri, 26 Apr 2019 13:36:35 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAO42Z2yuh3jtU6YJMoyCOruZozyyEgTxeeBpot2jqMW5S=zWfw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/IMMbUnkoN857DJTEJ_rqfJzOygA>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Apr 2019 11:36:42 -0000


Le 26/04/2019 à 12:05, Mark Smith a écrit :
> On Fri, 26 Apr 2019 at 19:54, Alexandre Petrescu
> <alexandre.petrescu@gmail.com> wrote:
>>
>>
>>
>> Le 26/04/2019 à 11:46, Mark Smith a écrit :
>>> On Fri, 26 Apr 2019 at 19:28, Alexandre Petrescu
>>> <alexandre.petrescu@gmail.com> wrote:
>>>>
>>>>
>>>>
>>>> Le 26/04/2019 à 06:31, Brian E Carpenter a écrit :
>>>>>
>>>>>
>>>>> Regards Brian Carpenter
>>>>>
>>>>> On 25-Apr-19 21:48, Philip Homburg wrote: ...
>>>>>> The main example you gave is somebody typing IPv6 literals while
>>>>>> sitting in a car.
>>>>>
>>>>> Indeed, we said from the very beginning (I mean 1994) that users
>>>>> should never be required to type in IPv6 addresses.
>>>>>
>>>>> Is this so hard to avoid?
>>>>
>>>> It may be easy to avoid typing IPv6 addresse when DNS was available.
>>>>
>>>> But think about three cars in a covoy; the convoy is disconnected from
>>>> the IPv6 Internet, yet fully connected on IPv6 between all computers in
>>>> the convoy.  Which of the cars should host the DNS server?
>>>>
>>>
>>> All of them.
>>
>> Mark,
>>
>> Thank you very much for the suggestion.  I will consider it.
>>
>> I would like to ask you: is multicast DNS (mDNS) working on a single
>> subnet only?  Or does it work across subnets?
>>
> 
> I'm not an expert in mDNS or related, have just read enough to know
> what problem they're solving and (very) roughly how it works.
> 
> DNS Service Discovery is intended to convey that information across subnets:
> 
> http://www.dns-sd.org/

I suppose DNS Service Discovery works ok on IPv6, and over multiple 
subnets, and that it relies on the proper use of IPv6 multicast routing 
protocols.  I never tried IPv6 multicast routing protocols on links 
involving OCB (a kind of stripped ad-hoc WiFi at 5.9GHz).

I suppose the use of DNS resolver address in RA is also an option in 
this space.  I have tried this DNS-in-RA and it works ok.

Whether DNS-in-RA, DNS-SD and mDNS should be used in cars, and how, can 
be a subject of debate.  There is a Problem Statement draft in the 
IPWAVE WG that lists in section "DNS Naming Service" some considered 
problems.

Until these things get fixed (how to use DNS in car convoy?) I need the 
manual configuration of easy to remember link-local addresses

When DNS works in car convoys, I expect other inconvenients using 
name-to-address mappings compared to IP address literals.

I might need to update the DNS servers' files with new IPv6 Link-Local 
address to name mappings, whenever a faulty interface is replaced, or 
when USB interface keys are moved, or when 1Gb Ethernet cards are 
migrated to 10Gb Ethernet.

If I am to update files, why not updating rather the computer startup 
scripts (not DNS)?  These computer startup scripts are present in all 
computers, including embedded, as unencumbered and open source.

Second,

If I use DNS names I must remember a name like:
front-Lead-First (means the IP address on the front bumper of the
                   Follower, in the subnet between Lead and First
                   Follower)
rear-Lead-First
front-First-Second
rear-First-Second
etc.
These names are too long to type.  So I would abbreviate them to:
flf
rlf
ffs
rfs
etc.

These flf, rlf, etc are no less cryptic than a literal like fe80:1::1 is.

The short IP address literals are loved and understood by more people.

>> (because the numerous computers in these three cars are not all on a
>> single subnet; they are all interconnected with IP, but there are
>> multiple subnets with routers in between).
>>
> 
> There may be other options that better suit or can be better made to
> suit what you're trying to do, such as the work done in the Homenet or
> the ANIMA Working Groups.
> 
> Autonomic networking (the focus of ANIMA WG), sounds like it might be
> working on solutions to your problem domain.
> 
> "Autonomic networking refers to the self-managing characteristics
> (configuration, protection, healing, and optimization) of distributed
> network elements, adapting to unpredictable changes while hiding
> intrinsic complexity from operators and users."

Yes, they should be considered.

I will make this suggestion in the IPWAVE WG for the Problem Statement 
draft.

Alex

> 
> 
> Regards,
> Mark.
> 
>> Alex
>>
>>>
>>> http://www.multicastdns.org/
>>>
>>> Multicast DNS
>>> https://www.ietf.org/rfc/rfc6762.txt
>>>
>>> There's also a good book on it:
>>>
>>> ""Zero Configuration Networking: The Definitive Guide
>>> https://www.amazon.com/gp/product/0596101007
>>>
>>>
>>> A number of implementations:
>>>
>>> https://www.avahi.org/ - Linux
>>>
>>> https://developer.apple.com/bonjour/ - Apple, Windows
>>>
>>> And if you want to know what inspired it,
>>>
>>> "Requirements for a Protocol to Replace the AppleTalk Name Binding
>>> Protocol (NBP)"
>>> https://tools.ietf.org/html/rfc6760
>>>
>>> This is why you need to explain your problem, not just what you think
>>> is the solution. You'll get much quicker answers.
>>>
>>> <snip>
>>>
>