• dns

    From [email protected]@21:1/5 to All on Mon Aug 29 15:25:01 2022
    Hello,

    I couldn't find this in the package documentation. Can we ask the dns
    package to return either IPv4 or IPv6 addresses for a given domain?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gerald Lester@21:1/5 to [email protected] on Mon Aug 29 15:19:03 2022
    On 8/29/22 14:25, [email protected] wrote:
    Hello,

    I couldn't find this in the package documentation. Can we ask the dns
    package to return either IPv4 or IPv6 addresses for a given domain?

    Looking at the documentation page (https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/modules/dns/tcllib_dns.md)
    I don't see IPv4 vs IPv6 as option. But I only glanced at it.


    --
    +----------------------------------------------------------------------+
    | Gerald W. Lester, President, KNG Consulting LLC |
    | Email: [email protected] | +----------------------------------------------------------------------+

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Gerald Lester on Mon Aug 29 20:00:28 2022
    On 8/29/22 4:19 PM, Gerald Lester wrote:
    On 8/29/22 14:25, [email protected] wrote:
    Hello,

    I couldn't find this in the package documentation. Can we ask the dns
    package to return either IPv4 or IPv6 addresses for a given domain?

    Looking at the documentation page (https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/modules/dns/tcllib_dns.md) I don't see IPv4 vs IPv6 as option.  But I only glanced at it.



    Thanks for checking. I looked at the man page in some detail and tested
    some of the options but I too did not see anything relevant. It seems
    like this feature may depend more on how dns records are managed at
    remote servers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to [email protected] on Tue Aug 30 02:33:35 2022
    [email protected] wrote:
    On 8/29/22 4:19 PM, Gerald Lester wrote:
    On 8/29/22 14:25, [email protected] wrote:
    Hello,

    I couldn't find this in the package documentation. Can we ask the dns
    package to return either IPv4 or IPv6 addresses for a given domain?

    Looking at the documentation page
    (https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/modules/dns/tcllib_dns.md) I don't see IPv4 vs IPv6 as option.� But I only glanced at it.

    Thanks for checking. I looked at the man page in some detail and
    tested some of the options but I too did not see anything relevant.
    It seems like this feature may depend more on how dns records are
    managed at remote servers.

    True, the given domain must have a AAAA record in its DNS records, or
    else there is no associated ipv6 address.

    Then, according to the dns docs at https://core.tcl-lang.org/tcllib/doc/tcllib-1-19/embedded/www/tcllib/files/modules/dns/tcllib_dns.html
    you would ask for "-type AAAA" to obtain an ipv6 address (if one exists
    at all).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Rich on Tue Aug 30 11:42:21 2022
    On 8/29/22 10:33 PM, Rich wrote:

    True, the given domain must have a AAAA record in its DNS records, or
    else there is no associated ipv6 address.

    Then, according to the dns docs at https://core.tcl-lang.org/tcllib/doc/tcllib-1-19/embedded/www/tcllib/files/modules/dns/tcllib_dns.html
    you would ask for "-type AAAA" to obtain an ipv6 address (if one exists
    at all).

    Thanks - indeed this option does the job. Funny thing is yesterday I
    tried this exact option several times. I guess I was mistyping it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)