RE: [EXTERNAL] Re: Cygwin/Win32 utility function to convert "raw" IPv6 address string into *.ipv6-literal.net string ?

2023-09-28 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> What do you think that output is - the PTR is resolved to "localhost."

You obviously did not get the point that I was making.  Using ip6.arpa *is* the 
standard
way to get around with "DNS-like" IPv6 addresses, as it would be "understood".  
Using
the "ipv6-literal.net" domain is not portable and would result in NXDOMAIN 
anywhere
but Windows (where the resolver seems to intercept and convert them internally).

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
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


Re: [EXTERNAL] Re: Cygwin/Win32 utility function to convert "raw" IPv6 address string into *.ipv6-literal.net string ?

2023-09-28 Thread Brian Inglis via Cygwin

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  -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


RE: [EXTERNAL] Re: Cygwin/Win32 utility function to convert "raw" IPv6 address string into *.ipv6-literal.net string ?

2023-09-27 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> $ host -t ptr

I was talking about resolving the .ipv6-literal.net names via DNS.

Such as "fe80--219-99ff-feae-73ce.ipv6-literal.net"

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
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