Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!dog.ee.lbl.gov!overload.lbl.gov!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!emba-news.uvm.edu!sadye.emba.uvm.edu!wollman From: wollman@sadye.emba.uvm.edu (Garrett Wollman) Subject: Re: Q: tip and named Message-ID: <1993May10.133410.24192@uvm.edu> Sender: news@uvm.edu Organization: University of Vermont, EMBA Computer Facility References: <C6s7Mq.GF@demon.co.uk> Date: Mon, 10 May 1993 13:34:10 GMT Lines: 91 In article <C6s7Mq.GF@demon.co.uk> Tom Davies <tomd@horse.demon.co.uk> writes: > 2) I can't make head or tail of the named manual entry. I just want > to specify one host as a name server - that can't be too hard, can > it? If you aren't running a local caching nameserver, you shouldn't be looking at the named man page. Try resolv.conf(5). I would strongly recommend that you do so, however, especially since you're running SLIP. (I strongly recommend that everyone run a local nameserver, and that they /not/ run a local routing process unless they are actually routing.) For the benefit of those who are, here is my setup. Note that you won't need everything in here, and references to UVM.EDU or net 132.198 should be replaced with your own local information. Note that now the `forwarders' line specifies the name servers who should be asked for anything not in named's cache. The `sortlist' is an interesting one if you have multi-homed hosts; it specifies the order in which network numbers should be returned for such hosts. For example, if we have a host on subnets 1, 3, and 10, h_addrs[0] would be the subnet 1 address, [1] would be 3, and [2] would be 10. ------------------------------------resolv.conf domain emba.uvm.edu. ------------------------------------ ------------------------------------named.boot primary 0.0.127.in-addr.arpa. /etc/named.local cache . /etc/named.ca forwarders 132.198.1.8 132.198.1.9 sortlist 132.198.4.0 132.198.1.0 132.198.3.0 ------------------------------------ ------------------------------------named.ca ; named cache . 999999 IN NS C.NYSER.NET. 999999 IN NS TERP.UMD.EDU. 999999 IN NS AOS.BRL.MIL. 999999 in ns NS.NIC.DDN.MIL. 999999 IN NS NS.NASA.GOV. 999999 IN NS KAVA.NISC.SRI.COM. 999999 IN NS NIC.NORDU.NET. UVM.EDU. 999999 IN NS NS1.UVM.EDU. 999999 IN NS NS2.UVM.EDU. EMBA.UVM.EDU. 999999 IN NS UVM-GEN.EMBA.UVM.EDU. 999999 IN NS NEWTON.EMBA.UVM.EDU. NS1.UVM.EDU. IN A 132.198.201.10 NS2.UVM.EDU. IN A 132.198.202.10 UVM-GEN.EMBA.UVM.EDU. IN A 132.198.1.8 NEWTON.EMBA.UVM.EDU. IN A 132.198.1.9 AOS.BRL.MIL. IN A 192.5.25.82 AOS.BRL.MIL. IN A 26.3.0.29 AOS.BRL.MIL. IN A 128.63.4.82 NS.NIC.DDN.MIL. IN A 192.112.36.4 KAVA.NISC.SRI.COM. IN A 192.33.33.24 NS.NASA.GOV. IN A 128.102.16.10 NS.NASA.GOV. IN A 192.52.195.10 TERP.UMD.EDU. IN A 128.8.10.90 C.NYSER.NET. IN A 192.33.4.12 NIC.NORDU.NET. IN A 192.36.148.17 LOCALHOST. 99999999 IN A 127.0.0.1 1.0.0.127.IN-ADDR.ARPA. 99999999 IN PTR LOCALHOST. ------------------------------------ ------------------------------------named.local ; ; named stuff for loopback net. ; @ IN SOA tsornin.emba.uvm.edu. wollman.tsornin.emba.uvm.edu. ( 1 ; serial 3600 ;x refresh 300 ; retry 3600000 ; expire 3600 ) ; minimum 1 IN PTR localhost.emba.uvm.edu. ; 127.0.0.1 ------------------------------------ -GAWollman PS: Yes, I know I don't have InterNIC in here. -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance. uvm-gen!wollman | It is a bond more powerful than absence. We like people UVM disagrees. | who like Shashish. - Claude McKenzie + Florent Vollant