From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8777 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Would love to see reconsideration for domain and search Date: Sun, 25 Oct 2015 18:26:43 -0700 Message-ID: <20151026012642.GA5627@newbook> References: <20151023052625.GD55813@wopr.sciops.net> <20151024220215.GV8645@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1445822825 10704 80.91.229.3 (26 Oct 2015 01:27:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2015 01:27:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8790-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 26 02:27:04 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZqWYy-0004Iq-5f for gllmg-musl@m.gmane.org; Mon, 26 Oct 2015 02:27:04 +0100 Original-Received: (qmail 26032 invoked by uid 550); 26 Oct 2015 01:27:01 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 25990 invoked from network); 26 Oct 2015 01:27:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=DwaKwl4wWFAxnDHjreRQmvkmenII5a6WHoI5rwk88jU=; b=V5RMqjDI7za1bpmxSz1frKdyViuQ4r59lx39/4lg6w46+eqtyaJZHVcMTGeLs+LOf6 /zkaA1jK4VfqWZaZkVa6ckHLtlqk8YD6EPZI5Xri0irODTuUSgFXuUJpTgZky8w5fz8O ONIn2zNN8yIer1xnQj1RgbhHkhcUHOgpBO77Wg0rHAQwK1CgLPAqudY8hskXZ1WIreYQ YIpYKN+1d1AkDWStrA0FEF4Ofsdy2qa4CFDzHhHwIDMmbEEkyWGaI04wU0fIqesiDXWf BcmfPOwBq/3iL2LhJGWlj+qZN0PO9EXUNt3hjvTtVkdxDl+d4PJhn7a5GPps+9DKdpOJ 2KoQ== X-Received: by 10.66.230.195 with SMTP id ta3mr19166766pac.35.1445822808413; Sun, 25 Oct 2015 18:26:48 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20151024220215.GV8645@brightrain.aerifal.cx> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:8777 Archived-At: On Sat, Oct 24, 2015 at 06:02:15PM -0400, Rich Felker wrote: > The only place adding search support might negatively impact existing > musl users is by causing hostnames with no dots to be queried with the > (often useless and unwanted) default domain set by dhcp before > failing. My preference would probably be having musl default to > ndots=0 rather than ndots=1 so that search has to be enabled > explicitly. Are there any reasons this would be undesirable? Could you explain what this all would mean to someone who has only a general understanding of how DNS works, a home network, and a desire to set up a local DNS server? I have a couple use-cases in mind, which I think involve either the "search" or "domain" keywords in resolv.conf; I'll describe them in case they pertain. 1: the university I attended had a bunch of resources which were available as sub-domains. The way DHCP/DNS/resolv.conf was set up, local sites (for example, http://myweb.csuchico.edu/) were available using only the bare subdomain (in the same example, http://myweb/); I forget whether they used "domain" or "search" for this. This was something I appreciated. 2: On my home network (configured via DHCP, no DNS server yet), I have a network printer that advertises itself using a name in the general format of MFC0000DEADBEEF (where 0000DEADBEEF is the MAC address, stripped of separators). It uses this hostname for DHCP and avahi. However, this name is only available for avahi clients like cups; I want to be able to access it by the same name from non-avahi programs like 'ping', 'links', etcetera, since it's rather annoying to have a 'magic' name that usually works in your printing daemon, but no way to map it to an IP for any troupleshooting/configuration tools. Currently, I've got it set up so the printer has a static lease and I thus know the IP, but I want to use DNS because that's the only way all tools on all computers on the network will automatically know that MFC0000DEADBEEF is (for example) IP 192.168.255.255. It would be rather annoying to have some tools where I can use that name, and some where I need to specify "mfc0000deadbeef.local" instead. Thanks, Isaac Dunham