From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Mon, 24 Jun 2013 09:09:51 +0000 From: Ilmari Vacklin Message-ID: <6df078c3-da6d-4267-b6b5-41d653d3201e@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [9fans] VMware: Can't use DNS because cs fails? Topicbox-Message-UUID: 67b6629e-ead8-11e9-9d60-3106f5b1d025 Hi all, After setting up networking with ip/ipconfig ndb/dns -r DHCP does its magic and I have working IP and TCP. However, I can't resolve= DNS addresses: term% ip/ping google.com ip/ping: couldn't dial icmp!google.com!1: cs: temporary problem: dns: dns = failure Pinging an IP works: term% ip/ping 8.8.4.4 sending 32 64 byte messages 1000 ms apart to icmp!8.8.4.4!1 0: rtt 1025351 =B5s, avg rtt 1025351 =B5s, ttl =3D 128 1: rtt 25669 =B5s, avg rtt 525510 =B5s, ttl =3D 128 2: rtt 29573 =B5s, avg rtt 360197 =B5s, ttl =3D 128 ndb/dnsquery gives me this error: term% ndb/dnsquery > www.google.com !dns: dns failure Looking in /net/ndb, my network looks like this: ip=3D127.0.0.1 ipmask=3D/104 ipgw=3D:: sys=3Dgnot sys=3Dgnot dom=3Dgnot.localdomain dns=3D192.168.220.2 I don't know if that's correct. Debugging further, it turns out I can query my DNS server directly: term% ndb/dnsdebug @192.168.220.2 www.google.com 31846.1: sending to 192.168.220.2/192.168.220.2 www.google.com ip 31846: rcvd OK from 192.168.220.2 ( recurse can_recurse) [...snip...] I put cs into debug mode with `echo debug > /net/cs` and look in `/sys/log/= cs`. I see the following: term% cat /sys/log/cs gnot Jun 24 13:48:16 debug 1 gnot Jun 24 13:48:16 Rwrite tag 2 count 6 11 gnot Jun 24 13:48:16 Tclunk tag 2 fid 232 gnot Jun 24 13:48:16 Rclunk tag 2 7 gnot Jun 24 13:48:29 Twalk tag 2 fid 124 newfid 225 nwname 1 0:cs=20 gnot Jun 24 13:48:29 Rwalk tag 2 nwqid 1 0:(0000000000000001 25 ) 22 gnot Jun 24 13:48:29 Topen tag 2 fid 225 mode 2 gnot Jun 24 13:48:29 Ropen tag 2 qid (0000000000000001 25 ) iounit 0 24 gnot Jun 24 13:48:29 Twrite tag 2 fid 225 offset 0 count 14 'www.google.co= m' gnot Jun 24 13:48:29 write www.google.com gnot Jun 24 13:48:29 Rerror tag 2 ename cs: can't translate service 36 gnot Jun 24 13:48:29 Tclunk tag 2 fid 225 gnot Jun 24 13:48:29 Rclunk tag 2 7 gnot Jun 24 13:50:19 Twalk tag 2 fid 124 newfid 229 nwname 1 0:cs=20 gnot Jun 24 13:50:19 Rwalk tag 2 nwqid 1 0:(0000000000000001 26 ) 22 gnot Jun 24 13:50:19 Topen tag 2 fid 229 mode 2 gnot Jun 24 13:50:19 Ropen tag 2 qid (0000000000000001 26 ) iounit 0 24 gnot Jun 24 13:50:19 Twrite tag 2 fid 229 offset 0 count 20 '!sys=3Dgoogle= .com ip=3D*' gnot Jun 24 13:50:19 Rerror tag 2 ename cs: no match 21 gnot Jun 24 13:50:19 Tclunk tag 2 fid 229 gnot Jun 24 13:50:19 Rclunk tag 2 7 gnot Jun 24 13:50:19 Twalk tag 2 fid 124 newfid 229 nwname 1 0:cs=20 gnot Jun 24 13:50:19 Rwalk tag 2 nwqid 1 0:(0000000000000001 27 ) 22 gnot Jun 24 13:50:19 Topen tag 2 fid 229 mode 2 gnot Jun 24 13:50:19 Ropen tag 2 qid (0000000000000001 27 ) iounit 0 24 gnot Jun 24 13:50:19 Twrite tag 2 fid 229 offset 0 count 20 '!dom=3Dgoogle= .com ip=3D*' gnot Jun 24 13:50:19 slave 294 gnot Jun 24 13:50:19 Rerror tag 2 ename cs: no match 21 gnot Jun 24 13:50:19 slave death 294 gnot Jun 24 13:50:19 Tclunk tag 2 fid 229 gnot Jun 24 13:50:19 Rclunk tag 2 7 gnot Jun 24 13:50:19 Twalk tag 2 fid 124 newfid 229 nwname 1 0:cs=20 gnot Jun 24 13:50:19 Rwalk tag 2 nwqid 1 0:(0000000000000001 28 ) 22 gnot Jun 24 13:50:19 Topen tag 2 fid 229 mode 2 gnot Jun 24 13:50:19 Ropen tag 2 qid (0000000000000001 28 ) iounit 0 24 gnot Jun 24 13:50:19 Twrite tag 2 fid 229 offset 0 count 22 '!sys=3Dgoogle= .com ipv6=3D*' gnot Jun 24 13:50:19 Rerror tag 2 ename cs: no match 21 gnot Jun 24 13:50:19 Tclunk tag 2 fid 229 gnot Jun 24 13:50:19 Rclunk tag 2 7 gnot Jun 24 13:50:19 Twalk tag 2 fid 124 newfid 229 nwname 1 0:cs=20 gnot Jun 24 13:50:19 Rwalk tag 2 nwqid 1 0:(0000000000000001 29 ) 22 gnot Jun 24 13:50:19 Topen tag 2 fid 229 mode 2 gnot Jun 24 13:50:19 Ropen tag 2 qid (0000000000000001 29 ) iounit 0 24 gnot Jun 24 13:50:19 Twrite tag 2 fid 229 offset 0 count 22 '!dom=3Dgoogle= .com ipv6=3D*' gnot Jun 24 13:50:19 slave 295 gnot Jun 24 13:50:19 Rerror tag 2 ename cs: no match 21 gnot Jun 24 13:50:19 slave death 295 gnot Jun 24 13:50:19 Tclunk tag 2 fid 229 gnot Jun 24 13:50:19 Rclunk tag 2 7 gnot Jun 24 13:50:19 Twalk tag 2 fid 124 newfid 229 nwname 1 0:cs=20 gnot Jun 24 13:50:19 Rwalk tag 2 nwqid 1 0:(0000000000000001 30 ) 22 gnot Jun 24 13:50:19 Topen tag 2 fid 229 mode 2 gnot Jun 24 13:50:19 Ropen tag 2 qid (0000000000000001 30 ) iounit 0 24 gnot Jun 24 13:50:19 Twrite tag 2 fid 229 offset 0 count 17 'icmp!google.c= om!1' gnot Jun 24 13:50:19 write icmp!google.com!1 gnot Jun 24 13:50:19 slave 296 gnot Jun 24 13:50:19 Rerror tag 2 ename cs: temporary problem: dns: dns fa= ilure 48 gnot Jun 24 13:50:19 slave death 296 gnot Jun 24 13:50:19 Tclunk tag 2 fid 229 gnot Jun 24 13:50:19 Rclunk tag 2 7 gnot Jun 24 13:50:26 Twalk tag 1 fid 124 newfid 234 nwname 1 0:cs=20 gnot Jun 24 13:50:26 Rwalk tag 1 nwqid 1 0:(0000000000000001 31 ) 22 gnot Jun 24 13:50:26 Topen tag 1 fid 234 mode 2 gnot Jun 24 13:50:26 Ropen tag 1 qid (0000000000000001 31 ) iounit 0 24 gnot Jun 24 13:50:26 Twrite tag 1 fid 234 offset 0 count 8 'udp!*!68' gnot Jun 24 13:50:26 write udp!*!68 gnot Jun 24 13:50:26 Rwrite tag 1 count 8 11 gnot Jun 24 13:50:26 Tread tag 1 fid 234 offset 0 count 255 gnot Jun 24 13:50:26 Rread tag 1 count 17 '/net/udp/clone 68' 28 gnot Jun 24 13:50:26 Tclunk tag 1 fid 234 gnot Jun 24 13:50:26 Rclunk tag 1 7 gnot Jun 24 13:50:59 Twalk tag 2 fid 124 newfid 236 nwname 1 0:dns=20 gnot Jun 24 13:50:59 Rerror tag 2 ename cs: file does not exist 32 gnot Jun 24 13:51:01 Twalk tag 2 fid 124 newfid 236 nwname 1 0:dns=20 gnot Jun 24 13:51:01 Rerror tag 2 ename cs: file does not exist 32 gnot Jun 24 13:51:36 Twalk tag 2 fid 124 newfid 229 nwname 1 0:cs=20 gnot Jun 24 13:51:36 Rwalk tag 2 nwqid 1 0:(0000000000000001 34 ) 22 gnot Jun 24 13:51:36 Topen tag 2 fid 229 mode 2 gnot Jun 24 13:51:36 Ropen tag 2 qid (0000000000000001 34 ) iounit 0 24 gnot Jun 24 13:51:36 Twrite tag 2 fid 229 offset 0 count 14 'icmp!8.8.4.4!= 1' gnot Jun 24 13:51:36 write icmp!8.8.4.4!1 gnot Jun 24 13:51:36 Rwrite tag 2 count 14 11 gnot Jun 24 13:51:36 Tread tag 2 fid 229 offset 0 count 5118 gnot Jun 24 13:51:36 Rread tag 2 count 25 '/net/icmp/clone 8.8.4.4!1' 36 gnot Jun 24 13:51:36 Tread tag 2 fid 229 offset 25 count 5092 gnot Jun 24 13:51:36 Rread tag 2 count 0 11 gnot Jun 24 13:51:36 Tclunk tag 2 fid 229 gnot Jun 24 13:51:36 Rclunk tag 2 7 gnot Jun 24 13:54:01 Twalk tag 3 fid 124 newfid 229 nwname 1 0:dns=20 gnot Jun 24 13:54:01 Rerror tag 3 ename cs: file does not exist 32 Unfortunately I don't know how to read this, so I'm stumped. Any clues what= might be going on? I get the same behaviour with both the NAT and Bridged = modes in VMware.