delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/28/13:49:11

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68EB0394D8D8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1695923349;
bh=Y9ZmM1R512VGnJirS+zlvdjFRSenz2BO8ZmyiaTGy8o=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=bRj7Vps720fp8g01TalgMKphNYXyV1DaEVIqbT3qrgBV7MZ79FPkQuRtL71rGAbr2
/VaGh6wgn5Ye211GN41ToLWWauassgOFONFIH+u+4x8TUfM64n/8WiwOKC+H2f1ygB
6GepW1qIEzgBaOOcWH4ZHoxFa+d3Hy0aKtTAmbME=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D2D5388215D
X-Authority-Analysis: v=2.4 cv=Mp9BVkWe c=1 sm=1 tr=0 ts=6515bc81
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=QLJBA3oMAAAA:8
a=IkcTkHD0fZMA:10 a=7LuwclqqqvbtlTsi9h4A:9 a=QEXdDO2ut3YA:10
a=rcIUkKV_xqxCC_XXXGoP:22
Message-ID: <b04c0d95-60e2-0e4b-f1d7-eaa8f62939e0@Shaw.ca>
Date: Thu, 28 Sep 2023 11:48:48 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Subject: Re: [EXTERNAL] Re: Cygwin/Win32 utility function to convert "raw"
IPv6 address string into *.ipv6-literal.net string ?
To: cygwin AT cygwin DOT com
References: <a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT 8d485f54-9f47-42b0-bdcb-9635fbf663c3 DOT 1953b09c-03d1-4289-80f4-778eacaeb398 AT emailsignatures365 DOT codetwo DOT com>
<a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT 93e247b8-206a-49dd-b71c-9240681180cb DOT af28cea3-9945-4ab0-bb94-5ee9947bdc30 AT emailsignatures365 DOT codetwo DOT com>
<a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT e52b7f5f-5a09-4346-99f8-a6591191169c DOT 56a70ab3-2a48-435e-a1d6-57e7829aa764 AT emailsignatures365 DOT codetwo DOT com>
<AM5PR0502MB3075062AEA53351A74C19EA092C2A AT AM5PR0502MB3075 DOT eurprd05 DOT prod DOT outlook DOT com>
<DM8PR09MB70953E1499A9EE95DEA12121A5C2A AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<9bea176a-40d9-d7e0-9874-1fd625333940 AT Shaw DOT ca>
<DM8PR09MB7095FB0B995A0A5DB0C41C43A5C2A AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
Organization: Inglis
In-Reply-To: <DM8PR09MB7095FB0B995A0A5DB0C41C43A5C2A@DM8PR09MB7095.namprd09.prod.outlook.com>
X-CMAE-Envelope: MS4xfExvtyBHsOfo1nyf0q4LZbZZO+J9+qJ+u2q9WTXHJ5urNG8hLhn5iSu5O8OWrWC2CWuVLC3GxfGALop3bPvbuZPXpVKQghhs3qywHAlvLdU3lD+j1San
slU7e+xVC3RnBr30ZWeJAoit+X+Qop98zO4jy+9YwzlKJwYPF1+vMbk3WJlFOA3rxkq3eSBlr712Ew==
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 38SHnB6H030370

On 2023-09-27 17:56, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
>> $ host -t ptr \
>>	1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
>> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa domain name pointer localhost.

> I was talking about resolving the .ipv6-literal.net names via DNS.
> Such as "fe80--219-99ff-feae-73ce.ipv6-literal.net"

What do you think that output is - the PTR is resolved to "localhost."

I find *host* easier to use, script, and more tersely informative than the other 
bind DNS utilities: the bind-utils Cygwin package contains DNS utilities:

	delv
	dig
	host
	mdig
	named-rrchecker
	nslookup
	nsupdate

and the lookups support most of the same arguments and options, with different 
names and defaults: host defaults to -t A -t AAAA -t MX, but host and nslookup 
only accept a single type, while dig accepts -t ANY; delv and mdig will do deep 
dives for DNSSEC and DNS; while named-rrchecker validates DNS RR inputs.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019