dns-caveats.xml.ko revision e095ed6283178339b437a6f15ebcc8a08289fb0d
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="/style/manual.ko.xsl"?>
<!-- English Revision: 105989:151408 (outdated) -->
<!--
Copyright 2003-2005 The Apache Software Foundation or its licensors,
as applicable.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="dns-caveats.xml.meta">
<title>DNS�� ����ġ�� ��õ� ����</title>
<summary>
<p>�� ������ �� �������� ����� �� �ִ�. ����ġ�� ����������
������ DNS�� ���������ʵ��� �϶�. ����ġ�� ���������� �дµ�
DNS�� �ʿ��ϴٸ� ������ �ŷڼ� ���� (������ �ȵ� ���� �ִ�)
Ȥ�� ���񽺰ź� ��ݰ� (����ڰ� �ٸ� ����ڿ� ���� ������
����ä�� ���� �����Ͽ�) ���񽺵���(theft of service) ��ݿ�
�ô޸� �� �ִ�.</p>
</summary>
<section id="example">
<title>������ ����</title>
<example>
&lt;VirtualHost www.abc.dom&gt; <br />
ServerAdmin webgirl@abc.dom <br />
DocumentRoot /www/abc <br />
&lt;/VirtualHost&gt;
</example>
<p>����ġ�� ���������� �����ϱ����ؼ��� �� ����ȣ��Ʈ��
���� �ΰ��� ������ ��������� �ʿ��ϴ�. �� ������
<directive module="core">ServerName</directive>�� ������
��ٸ��� ������ �ּ� �Ѱ��� IP �ּ��̴�. �� ���� IP �ּҰ�
��⶧����, ����ġ�� DNS�� ����Ͽ� <code>www.abc.dom</code>��
�ּҸ� ã�ƾ� �Ѵ�. ������ ���������� ������ � ����������
DNS�� ����� �� ��ٸ� ����ȣ��Ʈ�� <strong>���� �� ���</strong>.
�� ����ȣ��Ʈ�� ��û�� ������ �� ���. (����ġ 1.2 ����
����� ������ ������ ���õ� ���Ѵ�.)</p>
<p><code>www.abc.dom</code>�� �ּҰ� 10.0.0.1�̶�� ��������.
�׸��� ���� ������ ����:</p>
<example>
&lt;VirtualHost 10.0.0.1&gt; <br />
ServerAdmin webgirl@abc.dom <br />
DocumentRoot /www/abc <br />
&lt;/VirtualHost&gt;
</example>
<p>���� ����ġ�� �� ����ȣ��Ʈ�� <code>ServerName</code>��
ã������ ��DNS�� ����ؾ� �Ѵ�. ��ã�Ⱑ �����ϸ� ����ġ��
����ȣ��Ʈ�� �κ������� ����. (����ġ 1.2 ���� �����
������ ������ ���õ� ���Ѵ�.) ��, �� ��� �̸����
����ȣ��Ʈ��� ����ȣ��Ʈ�� ������ ���������ʰ�, ip����̶��
��κ� �����Ѵ�. �׷��� ����ġ�� �������� �����Ͽ� ������
��ü URL�� ������ �Ѵٸ� �������� URL�� ������ ���Ѵ�.</p>
<p>�Ʒ� ��� �� �ΰ��� ������ ���.</p>
<example>
&lt;VirtualHost 10.0.0.1&gt; <br />
ServerName www.abc.dom <br />
ServerAdmin webgirl@abc.dom <br />
DocumentRoot /www/abc <br />
&lt;/VirtualHost&gt;
</example>
</section>
<section id="denial">
<title>���񽺰ź� (Denial of Service)</title>
<p>(�ּ���) �ΰ��� ������ ���񽺰źΰ� �߻��� �� �ִ�.
����ġ 1.2 ���� ������ ��� � ����ȣ��Ʈ������
������ ���� �� DNS �˻��� �����ϸ� ������ �������� �ʴ´�.
DNS�� ����� ���� ���� ������ ���� �ִ�. ���� ���,
<code>abc.dom</code>�� �? ����Ʈ�̰� �?�� �ڽ��� DNS��
���Ѵٸ�, <code>www.abc.dom</code> ���ڵ带 ����⸸ �ص�
(1.2 ����) ������ �������� ���Ѵ�.</p>
<p>�ξ� �� ��Ȱ�� ��� �ִ�. ���� ������ ���캸��:</p>
<example>
&lt;VirtualHost www.abc.dom&gt; <br />
&nbsp;&nbsp;ServerAdmin webgirl@abc.dom <br />
&nbsp;&nbsp;DocumentRoot /www/abc <br />
&lt;/VirtualHost&gt; <br />
<br />
&lt;VirtualHost www.def.dom&gt; <br />
&nbsp;&nbsp;ServerAdmin webguy@def.dom <br />
&nbsp;&nbsp;DocumentRoot /www/def <br />
&lt;/VirtualHost&gt;
</example>
<p>����� <code>www.abc.dom</code>�� 10.0.0.1,
<code>www.def.dom</code>�� 10.0.0.2�� �Ҵ��ߴٰ� ����.
��, <code>def.dom</code>�� ��ü DNS�� ����Ѵٰ� ��������.
�� ������ �Բ� <code>def.dom</code>�� <code>abc.dom</code>����
���� ��� ����� ����ç �� �ִ� ��ҿ� �ξ��. �׷��ٸ� �׵���
<code>www.def.dom</code>�� 10.0.0.1�� �����ϱ⸸ �ϸ� �ȴ�.
�׵��� ��ü DNS�� ����ϱ⶧���� ����� �׵��� ���ϴµ���
<code>www.def.dom</code> ���ڵ带 �����ϴ� ���� ���� ��
���.</p>
<p>(����ڰ� <code>http://www.abc.dom/whatever</code> �����
URL�� �Է��ϴ� ��츦 �����Ͽ�) 10.0.0.1�� ���� ��� ��û��
<code>def.dom</code> ����ȣ��Ʈ�� �����ϰ� �ȴ�. �� �̷�
���� �Ͼ���� �����Ϸ��� ����ġ�� ��� ����ȣ��Ʈ��
���� ��û�� ó���ϴ����� ���� ������ �ʿ��ϴ�.
<a href="vhosts/details.html">����</a>�� �밭 ������ִ�.</p>
</section>
<section id="main">
<title>"�ּ���" �ּ�</title>
<p>����ġ 1.1���� <a href="vhosts/name-based.html">�̸����
����ȣ��Ʈ ����</a>�� ���ԵǾ�⶧���� ����ġ�� ��������
�����ϴ� ȣ��Ʈ�� IP �ּ�(��)�� �� �ʿ䰡 ����. �� �ּҴ�
(�ִٸ�) �� <directive module="core">ServerName</directive>
Ȥ�� C �Լ� <code>gethostname</code>���� (���������Ʈ��
"hostname"�� �Է��������� ���� ���) ��´�. �׷��� �� �ּҷ�
DNS �˻��� �Ѵ�. ���� �� �˻��� ���� �� ���.</p>
<p>DNS ������ �׾ �� �˻��� ������ �� ���ٸ�
<code>/etc/hosts</code>�� ȣ��Ʈ���� ������ �� �ִ�.
(��ǻ�Ͱ� ���������� ���õǾ�ٸ� �Ƹ� �̹� ������� ���̴�.)
�׸��� DNS�� �����ϸ� ������ <code>/etc/hosts</code>��
����ϴ��� Ȯ���϶�. ����ϴ� �ü���� ���
<code>/etc/resolv.conf</code> Ȥ�� <code>/etc/nsswitch.conf</code>��
�����ϸ� �� ���̴�.</p>
<p>������ � ���������� DNS�� �˻��ϸ� �ȵȴٸ�
<code>HOSTRESORDER</code> ȯ�溯���� "local"�� �����ϰ�
����ġ�� ������ �� �ִ�. <module>mod_env</module>��
����Ͽ� ȯ���� �������� �ʴ´ٸ� �� ȯ�溯����
CGI���� ������ �ش�. �ü���� manpage�� FAQ�� ����ϴ�
���� ����.</p>
</section>
<section id="tips">
<title>�� ������ ���ϱ����� ��</title>
<ul>
<li>
<directive module="core">VirtualHost</directive>�� IP
�ּҸ� ����϶�
</li>
<li>
<directive module="mpm_common">Listen</directive>��
IP �ּҸ� ����϶�
</li>
<li>
��� ����ȣ��Ʈ�� ���������
<directive module="core">ServerName</directive>��
������ �϶�
</li>
<li>� �������� ���������ʴ�
<code>&lt;VirtualHost _default_:*&gt;</code> ������
������</li>
</ul>
</section>
<section id="appendix">
<title>�η�: �����δ�</title>
<p>DNS�� ��õ� ��Ȳ�� �ſ� �ٶ������� ���ϴ�. ����ġ 1.2����
�츮�� DNS�� ������ ��쿡�� �ּ��� ������ �������� ���������
���� ������. ��·�� �������Ͽ� ���� IP �ּҸ� �䱸�ϴ�
���� ��ȣ�� �ٽ� �����ؾ��� ���� ���ͳݿ� �ſ� �ٶ�������
���ϴ�.</p>
<p>������ ������ ���񽺵��� ����� ���� �Ѱ��� ����� �˻���
IP �ּҿ� �ٽ� ��DNS �˻��� �Ͽ� �� �̸��� ���ϴ� ���̴�.
���� �ٸ� ��� ����ȣ��Ʈ�� �������� ���� �� �ִ�. �� �����
��DNS�� �ùٷ� �����Ǿ� �Ѵ�. (FTP ������ TCP wrapper��
"�ߺ�-��" DNS �˻��� ���� ����ϱ⶧���� ��κ��� ���ڿ���
�ͼ��� ���̴�.)</p>
<p>��·�� IP �ּҸ� ������������� DNS�� ������ ��� ����ȣ��Ʈ
�������� ���� �� �ְ� ������ �� ���. ������ �Ϻθ� �����ϴ�
�Ͱ� ���� �κ����� �ذ�å�� ������ ��ü�� ���������ʴ� �ͺ���
�� ���� ���� �ִ�.</p>
<p>HTTP/1.1�� ���԰� ������� ���Ͻð� <code>Host</code>
����� ������ ���������Ƿ� IP��� ����ȣ��Ʈ�� ������
��������ʴ� ���� �������� ���̴�. �׷��� �������� �����߿���
DNS �˻��� �� �ʿ䰡 ������. �׷��� 1997�� 3��� �߿���
�������� ������ ������ �̸���� ����ȣ��Ʈ�� �θ� ������
�ʾҴ�.</p>
</section>
</manualpage>