64 lines
3.5 KiB
HTML
64 lines
3.5 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="Author" content="JC Pollman">
|
|
<meta name="GENERATOR" content="Mozilla/4.61 [en] (X11; I; Linux 2.2.10 i686) [Netscape]">
|
|
<title>db.124.html</title>
|
|
</head>
|
|
<body>
|
|
<b>FILE db.124.168.192:</b> This file does the opposite of db.kulai:
|
|
give it an ip address and it returns the computer name. I use ***** to
|
|
seperate the file listing from the rest of this article, so do not copy
|
|
them into your file.<b> Bold</b> items are explaned below - bold is not
|
|
part of the regular file. Here is what mine looks like:
|
|
<br>**************************************************************
|
|
<br><tt><b>@</b> IN SOA
|
|
<b>master.kulai.org.</b>
|
|
<b>jpollman.kulai.org.</b> (</tt>
|
|
<br><tt>
|
|
1;</tt>
|
|
<br><tt>
|
|
10800;</tt>
|
|
<br><tt>
|
|
3600;</tt>
|
|
<br><tt>
|
|
604800;</tt>
|
|
<br><tt>
|
|
86400 );</tt>
|
|
<p><tt> <b>IN NS</b>
|
|
master.kulai.org.</tt>
|
|
<br><tt>10 <b>IN PTR</b> master.kulai.org.</tt>
|
|
<br><tt>10 IN PTR www.kulai.org</tt>
|
|
<br><tt>10 IN PTR mail.kulai.org.</tt>
|
|
<br><tt>10 IN PTR news.kulai.org.</tt>
|
|
<br><tt>11 IN PTR fserver.kulai.org.</tt>
|
|
<br><tt>1 IN PTR jc.kulai.kulai.org.</tt>
|
|
<br><tt>20 IN PTR phillip.kulai.org.</tt>
|
|
<p>**************************************************************
|
|
<br><b>NOTE:</b> The biggest problem in creating these files is missing
|
|
a period where one is required. The period says: this is the end of the
|
|
name. Without the period, the domain name will be tacked on, so master.kulai.org
|
|
will become: master.kulai.org.kulai.org In other words, the period
|
|
is the difference between absolute and relative names.
|
|
<p>This file is basically the same concept as the db.kulai file:
|
|
<br><b>@ </b> This is shorthand for the base domain name. Note: the
|
|
@ must appear on the top line and with NO spaces before it.
|
|
<br><b>master.kulai.org.</b> This is the server's name.
|
|
<br><b>jpollman.kulai.org.</b> This is actually an email address
|
|
with the @ replaced by a period. If there is a problem, this person will
|
|
be notified via email.
|
|
<br><b>All those numbers:</b> These are the default times. If you want
|
|
to change them, read the books - the defaults work just fine for home use.
|
|
<br><b>IN NS</b> this line tells named that master.kulai.org is the <b>n</b>ame
|
|
<b>s</b>erver.
|
|
Note: the first part of the line is blank, so named will add kulai.org
|
|
there (no period).
|
|
<br>The numbers on the left (10,11,1,20) are the last digits of the ip
|
|
address, e.g. name will expand 10 to: 192.168.124.10.
|
|
<p>Notice that we use <b>IN PRT</b> instead of<b> IN A</b> in this file.
|
|
<br>
|
|
<br>
|
|
</body>
|
|
</html>
|