9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] DNS no workee
@ 2000-07-27 20:20 Matt
  2000-07-27 20:42 ` Boyd Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Matt @ 2000-07-27 20:20 UTC (permalink / raw)
  To: 9fans

ok i got the thing up and working but i can't get dns names resolved

TIA you gurus you

my current lib/ndb/local is :

#
#  files comprising the database, use as many as you like, see ndb(6)
#
database=
 file=/lib/ndb/local
 file=/lib/ndb/common
 
ipnet=lucid-net ip=195.182.167.0 ipmask=255.255.255.240
 dns=dns0.proweb.co.uk
 ipgw=195.182.167.1
 auth=donk
 cpu=donk

dom=dns0.proweb.co.uk ip=195.182.164.1

ip=195.182.167.2  sys=lorry
 dom=lorry.lucid.proweb.net

ip=195.182.167.7 sys=donk ether=0020afbd3304
 proto=il
 dom=donk.lucid.proweb.net





^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [9fans] DNS no workee
@ 2000-07-28  3:05 Russ Cox
  2000-07-28  7:36 ` Matt
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2000-07-28  3:05 UTC (permalink / raw)
  To: 9fans

#
#  files comprising the database, use as many as you like, see ndb(6)
#
database=
 file=/lib/ndb/local
 file=/lib/ndb/common
 
ipnet=lucid-net ip=195.182.167.0 ipmask=255.255.255.240
 dns=dns0.proweb.co.uk
 ipgw=195.182.167.1
 auth=donk
 cpu=donk

dom=dns0.proweb.co.uk ip=195.182.164.1

ip=195.182.167.2  sys=lorry
 dom=lorry.lucid.proweb.net

ip=195.182.167.7 sys=donk ether=0020afbd3304
 proto=il
 dom=donk.lucid.proweb.net

First problem is that it starts walking the 
IP hierarchy at the default netmask.  I _think_
195 is a class c, so you'd want to add

ipnet=big-net ip=195.182.167.0 ipmask=255.255.255.0 ipsubmask=255.255.255.240

which directs it to walk down to the 255.255.255.240
subnetwork.  If it's a class b you'd need
ip=192.182.0.0 ipmask=255.255.0.0 instead.

That might be enough to get you working.
If not, I would try giving your dns server
an arbitrary sys= name, and using that 
in the dns= line -- what you have might 
be okay, I don't remember what happens
with dom= and lookups.

Russ


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

end of thread, other threads:[~2000-07-28  7:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-27 20:20 [9fans] DNS no workee Matt
2000-07-27 20:42 ` Boyd Roberts
2000-07-28  3:05 Russ Cox
2000-07-28  7:36 ` Matt

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