From: "Steve Simon" <steve.simon@snellwilcox.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] dial meta-name resolution
Date: Thu, 4 Mar 2004 13:40:54 +0000 [thread overview]
Message-ID: <2e3e9bb59b68dcb49e5c716ff50fef5e@snellwilcox.com> (raw)
In-Reply-To: <2716f65b09cc60600584288e13d8a141@terzarima.net>
Hi,
Thanks, that gives me the IP address. Do I really have to do a
reverse DNS lookup to get the machine name?
What I'am after can be done in shell script as:
if ( ~ $addr 'net!$smtp' )
addr=`{ndb/query dom `{ndb/query sys $sysname dom} smtp}
NB: My DHCP client gives me the domain, the smtp entry comes from
/lib/ndb/local.
I was just hoping to do it in C.
-Steve
next prev parent reply other threads:[~2004-03-04 13:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 12:57 plan9fans
2004-03-04 13:06 ` Charles Forsyth
2004-03-04 13:40 ` Steve Simon [this message]
2004-03-04 15:41 ` David Presotto
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=2e3e9bb59b68dcb49e5c716ff50fef5e@snellwilcox.com \
--to=steve.simon@snellwilcox.com \
--cc=9fans@cse.psu.edu \
/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).