From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10711191523o37d48543jaaf67765604a81d5@mail.gmail.com> Date: Mon, 19 Nov 2007 15:23:56 -0800 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] dns question Topicbox-Message-UUID: 02291782-ead3-11e9-9d60-3106f5b1d025 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