9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] dns question
@ 2007-11-19 23:23 ron minnich
  2007-11-20  0:59 ` Russ Cox
  2007-11-20  3:46 ` lucio
  0 siblings, 2 replies; 9+ messages in thread
From: ron minnich @ 2007-11-19 23:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-21 18:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-19 23:23 [9fans] dns question ron minnich
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

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