9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] I don't understand ndb/dns
@ 2007-12-06  4:23 ron minnich
  2007-12-06  4:56 ` Federico G. Benavento
  0 siblings, 1 reply; 2+ messages in thread
From: ron minnich @ 2007-12-06  4:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

OK, we did some more work here on THNX today. wireless on the x60 is
up and working with wpa.

But we can't make heads nor tails of how to get dns to work. NAT is
fine: I can ping the dns server from the plan 9 OS running under
lguest.

here is one example. The guest is at 192.168.19.1, the tap0 device on
linux is at 192.168.192. Wireless IP is 10.10.10.144. The dns is at
10.10.10.1.

I can do the following: ndb/dnsdebug @10.10.10.1 cnn.com and get a good answer.

I can cat /net/ndb, and one entry I get is this:
dns=10.10.10.1

Also, there is no dns entry in /lib/ndb/local.

I have also restarted dns, as in ndb/dns -r.

No good. What should I look for?

thanks

ron


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

* Re: [9fans] I don't understand ndb/dns
  2007-12-06  4:23 [9fans] I don't understand ndb/dns ron minnich
@ 2007-12-06  4:56 ` Federico G. Benavento
  0 siblings, 0 replies; 2+ messages in thread
From: Federico G. Benavento @ 2007-12-06  4:56 UTC (permalink / raw)
  To: 9fans

shouldn't the dns entry be in your  inside of your net,
something like

ipnet=mynet ip=192.168.19.0 ipmask=255.255.255.0
	dns=10.10.10.1


then if your machine's ip is between 192.168.19.0 and 
255.255.255.0, it will use that dns.

if it's dhcp, then ndb/dns -r should just work.


> OK, we did some more work here on THNX today. wireless on the x60 is
> up and working with wpa.
> 
> But we can't make heads nor tails of how to get dns to work. NAT is
> fine: I can ping the dns server from the plan 9 OS running under
> lguest.
> 
> here is one example. The guest is at 192.168.19.1, the tap0 device on
> linux is at 192.168.192. Wireless IP is 10.10.10.144. The dns is at
> 10.10.10.1.
> 
> I can do the following: ndb/dnsdebug @10.10.10.1 cnn.com and get a good answer.
> 
> I can cat /net/ndb, and one entry I get is this:
> dns=10.10.10.1
> 
> Also, there is no dns entry in /lib/ndb/local.
> 
> I have also restarted dns, as in ndb/dns -r.
> 
> No good. What should I look for?
> 
> thanks
> 
> ron


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

end of thread, other threads:[~2007-12-06  4:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06  4:23 [9fans] I don't understand ndb/dns ron minnich
2007-12-06  4:56 ` Federico G. Benavento

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