Date: Sat, 10 Feb 1996 01:27:27 -0800 (PST) From: Donald Burr <d_burr@ix.netcom.com> To: Dale Benzer <ipc1@tribeca.ios.com> Cc: wes@intele.net, questions@FreeBSD.org Subject: Re: DNS and Bind on FreeBSD. Message-ID: <Pine.BSF.3.91.960210011358.14664A-101000@starfleet.gov> In-Reply-To: <Pine.BSD.3.91.960209101128.1912A-100000@tribeca.ios.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-843567471-823944447=:14664 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 9 Feb 1996, Dale Benzer wrote: > In answer to your suggestion using nslookup -- the TCP route is fine , > i.e., we can ping out anywhere, but nslookuo returns with an error 0 (no > error) message. Here's my particular The key file here is resolv.conf. Simply add the following lines to it: domain netcom.com nameserver 199.182.120.203 nameserver 199.182.120.202 The "domain netcom.com" automatically appends the string "netcom.com" to all name server requests that don't have their own domain; so for example, all you have to do is type "popclient smtp.ix" instead of "popclient smtp.ix.netcom.com"). And the two "nameserver" lines set up the addresses for Netcom's primary and secondary nameservers. This will then properly lookup the Netcom DNS servers when doing name queries. YOU DO NOT NEED TO RUN NAMED ON YOUR MACHINE. So go ahead and comment it out of inetd.conf, sysconfig, rc.local, etc. > QUESTION OF THE DAY > > Since we are using Netcom as primary and secondary DNS, where in the > above files to we put THEIR IP address and where do we put OUR LOCAL > addresses? I think we are confused by reading O'Reilly who assumes we are > acting as our own DNS. I mean I just don't understand how we can be a DNS > -- wouldn't we have to keep all the IP address for the net on our > machine? Or do we still go out and connect to a nameserver somewhere? But > that's the No, your DNS would only have to answer (i.e. hold data for) the machines in your own network. When you run a query to another machines on the outside world, your nameserver contacts one of the "root" nameservers (set up by the network authorities) who have data on the rest of the net. > QUESTION FOR THE MORROW > > We WILL be acting as our own DNS at some point...but for now, if you can > look at the files and help us place the right info in the right > places... I just think that our local host IP address needs to be in > there somewhere and I've tried all the permutations I can think of. Here are my example DNS files. These should help you set up a proper nameserver. In order to customize them to fit your site, you will need to know the following: * my domain name (yes, it is currently "fake") is: starfleet.gov * my IP address (Class C) is 192.160.60.xxx. This address is NOT fake, but is actually assigned to me by the NIC. So don't flame. * Note that some of the files (mainly, "hosts.rev", "named.local", and "named.boot") contain reversed IP addresses, for various reasons. In these, the IP address is listed BACKWARDS (so, for example, "60.160.192.IN-ADDR.ARPA" and [for the loopback] "0.0.127.IN-ADDR.ARPA"). * I have two hosts, ncc-1701-d and ds9. ncc-1701-d, being the server, is also available under the names "mail", "news", "ftp", "www", etc. * The "named.ca" file contains the a listing of all currently-active ROOT name servers. These are the name servers that are run by the official network authority, and contain data for domain names other than your own. Your name server will use this list when answering a query for a name that it doesn't know about. The command to run named is as follows: named -b /etc/namedb/named.boot It should be run out of /etc/rc.local, and NOT inetd or any other mechanism. It is a free-standing daemon. And, as always, full documentation is available in the named(8) man page, as well as in around /usr/share/doc/... Also, the UNIX SYSTEM ADMINISTRATION HANDBOOK (2nd edition) contains an *EXCELLENT* section on name server setup (it is by far the BEST UNIX admin reference book I've seen, I highly recommend it!) Hope this helps! Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. ** --0-843567471-823944447=:14664 Content-Type: APPLICATION/octet-stream; name="/namedb.tar.gz" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.3.91.960210012727.14664B@starfleet.gov> Content-Description: H4sIAAAAAAAAA+1Z23LaSBD1q/iKDk9JlRnrDsSpZInBDlUBXAinsvs2SAOo IiRKEibk67dbCARCGNvlOJus2xdgei5nevo0PS0R22c+nwpneHbyswR0uVo1 4ARI5Nxr+gFMRa7KpiqrKoCiKEb1BIyfhmhL5lHMQ4CTMAjiu/otJkJ4zwHo eUVk5z8J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this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960210011358.14664A-101000>