~ubuntu-branches/ubuntu/gutsy/samba/gutsy-updates

« back to all changes in this revision

Viewing changes to docs/htmldocs/Samba3-HOWTO/DNSDHCP.html

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2006-11-28 20:14:37 UTC
  • mfrom: (0.10.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128201437-a6x4lzlhempazocp
Tags: 3.0.23d-1ubuntu1
* Merge from debian unstable.
* Drop python2.4-samba, replace with python-samba. Added Conflicts/Replaces
  on python2.4-samba
* Drop track-connection-dos.patch, ubuntu-winbind-panic.patch, 
  ubuntu-fix-ldap.patch, ubuntu-setlocale.patch, ubuntu-setlocale-fixes.patch
* Remaining Ubuntu changes:
  - Revert Debian's installation of mount.cifs and umount.cifs as suid
  - Comment out the default [homes] shares and add more verbose comments to
    explain what they do and how they work (closes: launchpad.net/27608)
  - Add a "valid users = %S" stanza to the commented-out [homes] section, to
    show users how to restrict access to \\server\username to only username.
  - Change the (commented-out) "printer admin" example to use "@lpadmin"
    instead of "@ntadmin", since the lpadmin group is used for spool admin.
  - Alter the panic-action script to encourage users to report their
    bugs in Ubuntu packages to Ubuntu, rather than reporting to Debian.
    Modify text to more closely match the Debian script
  - Munge our init script to deal with the fact that our implementation
    (or lack thereof) of log_daemon_msg and log_progress_msg differs
    from Debian's implementation of the same (Ubuntu #19691)
  - Kept ubuntu-auxsrc.patch: some auxilliary sources (undocumented in 
    previous changelogs)
  - Set default workgroup to MSHOME

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�46.�DNS and DHCP Configuration Guide</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="The Official Samba-3 HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part�VI.�Reference Section"><link rel="prev" href="ch45.html" title="Chapter�45.�Samba Support"><link rel="next" href="gpl.html" title="Appendix�A.�GNU General Public License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�46.�DNS and DHCP Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch45.html">Prev</a>�</td><th width="60%" align="center">Part�VI.�Reference Section</th><td width="20%" align="right">�<a accesskey="n" href="gpl.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="DNSDHCP"></a>Chapter�46.�DNS and DHCP Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2658476">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2658655">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2658746">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658476"></a>Features and Benefits</h2></div></div></div><p>
2
 
<a class="indexterm" name="id2658484"></a>
3
 
<a class="indexterm" name="id2658494"></a>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�47.�DNS and DHCP Configuration Guide</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"><link rel="start" href="index.html" title="The Official Samba-3 HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part�VI.�Reference Section"><link rel="prev" href="ch46.html" title="Chapter�46.�Samba Support"><link rel="next" href="gpl.html" title="Appendix�A.�GNU General Public License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�47.�DNS and DHCP Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch46.html">Prev</a>�</td><th width="60%" align="center">Part�VI.�Reference Section</th><td width="20%" align="right">�<a accesskey="n" href="gpl.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="DNSDHCP"></a>Chapter�47.�DNS and DHCP Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2694832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2695011">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2695102">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2694832"></a>Features and Benefits</h2></div></div></div><p>
 
2
<a class="indexterm" name="id2694840"></a>
 
3
<a class="indexterm" name="id2694850"></a>
4
4
There are few subjects in the UNIX world that might raise as much contention as
5
5
Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP).
6
6
Not all opinions held for or against particular implementations of DNS and DHCP
10
10
and freedom. Microsoft Windows users in particular expect to be able to plug their
11
11
notebook computer into a network port and have things &#8220;<span class="quote">just work.</span>&#8221;
12
12
</p><p>
13
 
<a class="indexterm" name="id2658521"></a>
 
13
<a class="indexterm" name="id2694877"></a>
14
14
UNIX administrators have a point. Many of the normative practices in the Microsoft
15
15
Windows world at best border on bad practice from a security perspective.
16
16
Microsoft Windows networking protocols allow workstations to arbitrarily register
17
17
themselves on a network. Windows 2000 Active Directory registers entries in the DNS namespace
18
18
that are equally perplexing to UNIX administrators. Welcome to the new world!
19
19
</p><p>
20
 
<a class="indexterm" name="id2658537"></a>
21
 
<a class="indexterm" name="id2658546"></a>
22
 
<a class="indexterm" name="id2658555"></a>
 
20
<a class="indexterm" name="id2694894"></a>
 
21
<a class="indexterm" name="id2694903"></a>
 
22
<a class="indexterm" name="id2694912"></a>
23
23
The purpose of this chapter is to demonstrate the configuration of the Internet
24
24
Software Consortium (ISC) DNS and DHCP servers to provide dynamic services that are
25
25
compatible with their equivalents in the Microsoft Windows 2000 Server products.
27
27
This chapter provides no more than a working example of configuration files for both DNS and DHCP servers. The
28
28
examples used match configuration examples used elsewhere in this document.
29
29
</p><p>
30
 
<a class="indexterm" name="id2658579"></a>
31
 
<a class="indexterm" name="id2658585"></a>
32
 
<a class="indexterm" name="id2658592"></a>
 
30
<a class="indexterm" name="id2694935"></a>
 
31
<a class="indexterm" name="id2694942"></a>
 
32
<a class="indexterm" name="id2694948"></a>
33
33
This chapter explicitly does not provide a tutorial, nor does it pretend to be a reference guide on DNS and
34
34
DHCP, as this is well beyond the scope and intent of this document as a whole. Anyone who wants more detailed
35
35
reference materials on DNS or DHCP should visit the ISC Web site at <a href="http://www.isc.org" target="_top"> http://www.isc.org</a>.  Those wanting a written text might also be interested
36
36
in the O'Reilly publications on DNS, see the <a href="http://www.oreilly.com/catalog/dns/index.htm" target="_top">O'Reilly</a> web site, and the <a href="http://www.bind9.net/books-dhcp" target="_top">BIND9.NET</a> web site for details.
37
37
The books are:
38
 
</p><div class="orderedlist"><ol type="1"><li><p>DNS and BIND, By Cricket Liu, Paul Albitz, ISBN: 1-56592-010-4</p></li><li><p>DNS &amp; Bind Cookbook, By Cricket Liu, ISBN: 0-596-00410-9</p></li><li><p>The DHCP Handbook (2nd Edition), By: Ralph Droms, Ted Lemon, ISBN 0-672-32327-3</p></li></ol></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658655"></a>Example Configuration</h2></div></div></div><p>
39
 
<a class="indexterm" name="id2658663"></a>
40
 
<a class="indexterm" name="id2658670"></a>
 
38
</p><div class="orderedlist"><ol type="1"><li><p>DNS and BIND, By Cricket Liu, Paul Albitz, ISBN: 1-56592-010-4</p></li><li><p>DNS &amp; Bind Cookbook, By Cricket Liu, ISBN: 0-596-00410-9</p></li><li><p>The DHCP Handbook (2nd Edition), By: Ralph Droms, Ted Lemon, ISBN 0-672-32327-3</p></li></ol></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695011"></a>Example Configuration</h2></div></div></div><p>
 
39
<a class="indexterm" name="id2695019"></a>
 
40
<a class="indexterm" name="id2695026"></a>
41
41
The DNS is to the Internet what water is to life. Nearly all information resources (host names) are resolved
42
42
to their Internet protocol (IP) addresses through DNS.  Windows networking tried hard to avoid the
43
 
complexities of DNS, but alas, DNS won.  <a class="indexterm" name="id2658680"></a> The alternative to
 
43
complexities of DNS, but alas, DNS won.  <a class="indexterm" name="id2695037"></a> The alternative to
44
44
DNS, the Windows Internet Name Service (WINS)  an artifact of NetBIOS networking over the TCP/IP
45
45
protocols  has demonstrated scalability problems as well as a flat, nonhierarchical namespace that
46
46
became unmanageable as the size and complexity of information technology networks grew.
47
47
</p><p>
48
 
<a class="indexterm" name="id2658702"></a>
49
 
<a class="indexterm" name="id2658708"></a>
 
48
<a class="indexterm" name="id2695058"></a>
 
49
<a class="indexterm" name="id2695064"></a>
50
50
WINS is a Microsoft implementation of the RFC1001/1002 NetBIOS Name Service (NBNS).
51
51
It allows NetBIOS clients (like Microsoft Windows machines) to register an arbitrary
52
52
machine name that the administrator or user has chosen together with the IP
66
66
</p><p>
67
67
The following configurations demonstrate a simple, insecure dynamic DNS server and
68
68
a simple DHCP server that matches the DNS configuration.
69
 
</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2658746"></a>Dynamic DNS</h3></div></div></div><p>
70
 
        <a class="indexterm" name="id2658754"></a>
 
69
</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2695102"></a>Dynamic DNS</h3></div></div></div><p>
 
70
        <a class="indexterm" name="id2695110"></a>
71
71
        The example DNS configuration is for a private network in the IP address
72
72
        space for network 192.168.1.0/24. The private class network address space
73
73
        is set forth in RFC1918.
74
74
        </p><p>
75
 
        <a class="indexterm" name="id2658769"></a>
 
75
        <a class="indexterm" name="id2695125"></a>
76
76
        It is assumed that this network will be situated behind a secure firewall.
77
77
        The files that follow work with ISC BIND version 9. BIND is the Berkeley
78
78
        Internet Name Daemon.
223
223
2                       PTR     marvel.quenya.org.
224
224
</pre><p>
225
225
        </p><p>
226
 
<a class="indexterm" name="id2658913"></a>
227
 
<a class="indexterm" name="id2658920"></a>
 
226
<a class="indexterm" name="id2695277"></a>
 
227
<a class="indexterm" name="id2695284"></a>
228
228
        The configuration files shown here were copied from a fully working system. All dynamically registered
229
229
        entries have been removed. In addition to these files, BIND version 9 will
230
230
        create for each of the dynamic registration files a file that has a 
260
260
        In this example, IP addresses between 192.168.1.1 and 192.168.1.59 are
261
261
        reserved for fixed-address (commonly called <code class="constant">hard-wired</code>) IP addresses. The
262
262
        addresses between 192.168.1.60 and 192.168.1.254 are allocated for dynamic use.
263
 
        </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch45.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="gpl.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�45.�Samba Support�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Appendix�A.�GNU General Public License</td></tr></table></div></body></html>
 
263
        </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch46.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="gpl.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�46.�Samba Support�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Appendix�A.�GNU General Public License</td></tr></table></div></body></html>