9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* domain name services from unix?
@ 1995-08-24 15:14 Scott
  0 siblings, 0 replies; 4+ messages in thread
From: Scott @ 1995-08-24 15:14 UTC (permalink / raw)


forsyth@plan9.cs.york.ac.uk writes:
| the short answer to kiran's question is that he probably
| isn't running ndb/dns on the terminal.  

I kind of like the idea of importing the cpu server's /net/cs to get
the nameserver.  For one thing, that puts all the dns caching in one
place.  There is the overhead of exports, but if you've got a
distributed system isn't it worth exercising it?







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

* domain name services from unix?
@ 1995-08-24 16:30 forsyth
  0 siblings, 0 replies; 4+ messages in thread
From: forsyth @ 1995-08-24 16:30 UTC (permalink / raw)


yes, i quite agree, and that's what i usually do.
you can also import just /net/dns.
i'd assumed he might not (yet) have a CPU server,
but even so i ought to have mentioned it!


------ original message follows ------

>From cse.psu.edu!9fans-outgoing-owner Thu Aug 24 16:55:09 BST 1995
Received: by colossus.cse.psu.edu id <45565>; Thu, 24 Aug 1995 11:32:06 -0400
Received: from galapagos.cse.psu.edu ([130.203.2.12]) by colossus.cse.psu.edu with SMTP id <45691>; Thu, 24 Aug 1995 11:27:27 -0400
Received: from localhost by galapagos.cse.psu.edu with SMTP id <12709>; Thu, 24 Aug 1995 11:14:40 -0400
To:	9fans@cse.psu.edu
Subject: Re: domain name services from unix? 
In-reply-to: Your message of "Thu, 24 Aug 1995 07:02:54 EDT."
             <95Aug24.071351edt.45578@colossus.cse.psu.edu> 
Date:	Thu, 24 Aug 1995 11:14:27 -0400
From:	Scott Schwartz <schwartz@galapagos.cse.psu.edu>
Message-Id: <95Aug24.111440edt.12709@galapagos.cse.psu.edu>
Sender: owner-9fans@cse.psu.edu
Precedence: bulk
Reply-To: 9fans@cse.psu.edu

forsyth@plan9.cs.york.ac.uk writes:
| the short answer to kiran's question is that he probably
| isn't running ndb/dns on the terminal.  

I kind of like the idea of importing the cpu server's /net/cs to get
the nameserver.  For one thing, that puts all the dns caching in one
place.  There is the overhead of exports, but if you've got a
distributed system isn't it worth exercising it?








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

* domain name services from unix?
@ 1995-08-24 15:34 Kiran
  0 siblings, 0 replies; 4+ messages in thread
From: Kiran @ 1995-08-24 15:34 UTC (permalink / raw)


and more problems... when the cd arrives and i start trying to set up a
*real* plan 9 system, i wonder...

this time, its network related. i cannot (not for lack of trying), get the
system to ask another machine on the network for domain name translations.
the plan 9 system is on the network, and i can telnet to any of the other
machines on the network if i specify the ip address but i can't make
/net/cs (?) ask another machine to translate a domain name,, everything
i've tried, it comes back and says cannot translate address. the system
administrator of the company asks me where resolv.conf is...

here's my /lib/ndb/local,, what's missing or wrong?

#
#  external internet domain service
#
dom=
#	i tried adding:
#	ns=sasi.ernet.in
	ns=ns.nic.ddn.mil
	ns=kava.nisc.sri.com
	ns=aos.brl.mil
	ns=c.nyser.net
	ns=terp.umd.edu
	ns=ns.nasa.gov
	ns=nic.nordu.net
# and:
#dom=sasi.ernet.in ip=202.21.147.10
# with this, it can translate 'sasi.ernet.in' but no other name
dom=ns.nic.ddn.mil ip=192.112.36.4
dom=kava.nisc.sri.com ip=192.33.33.24
dom=aos.brl.mil ip=192.5.25.82
dom=c.nyser.net ip=192.33.4.12ÐÌ
dom=terp.umd.edu ip=128.8.10.90
dom=ns.nasa.gov ip=128.102.16.10 ip=192.52.195.10
dom=nic.nordu.net ip=192.36.148.17

# i also tried:
#dom=sasi.ernet.in soa
#	ns=202.21.147.10
# and:
#dom=sasi.ernet.in ip=202.21.147.10
#	ns=202.21.147.10
# and various other combinations,, probably useless but out of sheer
#  frustration including *.sasi.ernet.in, etc.

#
#  your PC (edit to suit)
#
sys = orthanc
	dom=orthanc.sasi.ernet.in
	ip=202.21.147.59 ether=0020af751b60
	bootfile=/386/9pcdisk
	proto=il
# i tried planting in a 'ns=202.21.147.10' here

#
#  your ip networks and subnets (edit to suit)
#
#  should anything come here? i tried:
#ipnet=sasi ip=202.21.147.0
#	ns=202.21.147.10
#	ipgw=202.21.147.10
#  and various other combinations

i didn't touch any of the tcp=, il= or udp= entries.

and i've read all the related man pages -- ndb(8), ndb(6), ipconfig(1)... i
guess that means that i *really* need help. what seemed to be right didn't
work and hence all the probably weird things i tried...

next thing, is there any way i can make mothra use a proxy server? unless
there is, i can't use it here :-?


thanx in advance,

kiran







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

* domain name services from unix?
@ 1995-08-24 11:02 forsyth
  0 siblings, 0 replies; 4+ messages in thread
From: forsyth @ 1995-08-24 11:02 UTC (permalink / raw)


the short answer to kiran's question is that he probably
isn't running ndb/dns on the terminal.  it needs to be started
in /rc/bin/termrc.  otherwise ndb/cs finds only those names
listed in the /lib/ndb files and the system doesn't (can't) use
the DNS for translation.

also, `soa' should only be used in a dom= entry
when the /lib/ndb files really are authoratitive
for the associated domain (ie, no name or resource record exists in that domain that
cannot be found in /lib/ndb).

i looked up his domain in the DNS, but it seems his site
has separate internal/external name servers.  given the entries
he showed previously, it looks as though the correct entry will be

dom=sasi.ernet.in
	ns=202.21.147.10

or alternatively

dom=sasi.ernet.in
	ns=<name server's domain name>
dom=<name server's domain name> ip=<name server's IP address>

together with the dom=/ns= entries for the root domain he previously showed,
but excluding sasi.ernet.in from that list.







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

end of thread, other threads:[~1995-08-24 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-24 15:14 domain name services from unix? Scott
  -- strict thread matches above, loose matches on Subject: below --
1995-08-24 16:30 forsyth
1995-08-24 15:34 Kiran
1995-08-24 11:02 forsyth

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