From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] dns question
Date: Mon, 19 Nov 2007 15:23:56 -0800 [thread overview]
Message-ID: <13426df10711191523o37d48543jaaf67765604a81d5@mail.gmail.com> (raw)
I am trying to get THNX ready for IWP9 and I have a problem I don't
understand. Almost everything works on the net save dns. In fact I am
drawterm'ed into it across the net from another box, that's how I got
the text from below.
I am bringing up the Plan 9 guest and it is succeeding at DHCP. The
router/dns/DHCP box is at 192.168.18.10.
Here is my iproute
cpu% cat /net/iproute
0.0.0.0 /96 192.168.18.10 4 none -
192.168.18.0 /120 192.168.18.0 4i ifc 1
192.168.18.0 /128 192.168.18.0 4b ifc -
192.168.18.190 /128 192.168.18.190 4u ifc 1
192.168.18.255 /128 192.168.18.255 4b ifc -
127.0.0.0 /128 127.0.0.0 4b ifc -
127.0.0.1 /128 127.0.0.1 4ip ifc 0
127.255.255.255 /128 127.255.255.255 4b ifc -
255.255.255.255 /128 255.255.255.255 4b ifc 1
cpu%
and /net/ndb:
cpu% cat /net/ndb
ip=192.168.18.190 ipmask=255.255.255.0 ipgw=192.168.18.10
dns=192.168.18.10
dns=146.246.250.1
cpu%
BUT: /lib/ndb/local is this:
ipnet=lguestnet ip=192.168.19.0 netmask=255.255.255.0 ipgw=192.168.19.1
proto=tcp cpu=lguest fs=lguest auth=lguest authdom=lguestdom
dns=192.168.19.1
sys=lguest ip=192.168.19.2 dom=lguest authdom=lguest auth=lguest
The problem: no DNS. Snooping from the linux and plan 9 side shows no
packets go to 192.168.18.10 for dns requests. Is the /lib/ndb/local
misdirecting dns somehow? I hate to yank the /lib/ndb/local, however,
as it is useful when the plan 9 guest is running in NAT as opposed to
BRIDGE mode.
The cpurc is this:
ip/ipconfig ether /net/ether0
date > /env/boottime
# replace FILESERVER with the name of your file server
# here we start with kfs, your local disk file system
fileserver=kfs
# replace FACEDOM with the local domain to be used in the faces database
facedom=FACEDOM
# mount points
mntgen -s slashn && chmod 666 /srv/slashn
# name translation, cs sets /dev/sysname
ndb/cs
sysname=`{cat /dev/sysname}
ndb/dns -r
and the sysname is this:
cpu% cat /dev/sysname
192.168.18.190cpu%
I am not sure I see what's up. I can't run acid on this (one of the
issues with the lguest port still :-)
dnsdebug just sits there and appears to time out.
any help greatly appreciated.
thanks
ron
next reply other threads:[~2007-11-19 23:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 23:23 ron minnich [this message]
2007-11-20 0:59 ` Russ Cox
2007-11-20 20:47 ` ron minnich
2007-11-20 20:54 ` ron minnich
2007-11-20 21:39 ` Richard Miller
2007-11-20 21:44 ` ron minnich
2007-11-20 22:28 ` Richard Miller
2007-11-21 18:23 ` ron minnich
2007-11-20 3:46 ` lucio
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=13426df10711191523o37d48543jaaf67765604a81d5@mail.gmail.com \
--to=rminnich@gmail.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).