From: Steve Simon <steve@quintile.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] sshnet and the go dns resolver
Date: Wed, 24 Feb 2021 01:05:13 +0000 [thread overview]
Message-ID: <29AA9038-B4E7-47CD-98BF-059BE9A05AF1@quintile.net> (raw)
In-Reply-To: <2B6B7294-863E-40DE-96A6-BDE503887FD6@corpus-callosum.com>
thanks all for the suggestions.
digging through the source of sshnet.c and the go net library i think i understand.
the plan9 runtime library assumes, and insists the string returned from /net/cs contains a valid ip address.
the code in sshnet which serves a /net/cs does a local ndb lookup, and if that fails, returns the dns name it was given. i guess this is to allow name resolution to be tried at the remote host.
i shall experiment a bit more.
-Steve
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T774469ff9f943e45-M892fd19deed0c0a02dd942a8
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
prev parent reply other threads:[~2021-02-24 1:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-23 21:34 Steve Simon
2021-02-23 22:23 ` Fazlul Shahriar
2021-02-23 23:23 ` Jeff Sickel
2021-02-24 1:05 ` Steve Simon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29AA9038-B4E7-47CD-98BF-059BE9A05AF1@quintile.net \
--to=steve@quintile.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).