9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] DNS no workee
Date: Thu, 27 Jul 2000 23:05:00 -0400	[thread overview]
Message-ID: <200007280305.XAA06605@cse.psu.edu> (raw)

#
#  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


             reply	other threads:[~2000-07-28  3:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-28  3:05 Russ Cox [this message]
2000-07-28  7:36 ` Matt
  -- strict thread matches above, loose matches on Subject: below --
2000-07-27 20:20 Matt
2000-07-27 20:42 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200007280305.XAA06605@cse.psu.edu \
    --to=rsc@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).