1<?xml version="1.0" encoding="EUC-KR"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>DNS�� ����ġ�� ��õ� ���� - Apache HTTP Server</title> 9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 11<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" /> 12<script src="/style/scripts/prettify.min.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body id="manual-page"><div id="page-header"> 17<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p> 18<p class="apache">Apache HTTP Server Version 2.4</p> 19<img alt="" src="/images/feather.gif" /></div> 20<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 21<div id="path"> 22<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>DNS�� ����ġ�� ��õ� ����</h1> 23<div class="toplang"> 24<p><span>������ ���: </span><a href="/en/dns-caveats.html" hreflang="en" rel="alternate" title="English"> en </a> | 25<a href="/fr/dns-caveats.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 26<a href="/ja/dns-caveats.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 27<a href="/ko/dns-caveats.html" title="Korean"> ko </a> | 28<a href="/tr/dns-caveats.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 29</div> 30<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 31 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 32 33 <p>�� ������ �� �������� ����� �� �ִ�. ����ġ�� ���������� 34 ������ DNS�� ���������ʵ��� �϶�. ����ġ�� ���������� �дµ� 35 DNS�� �ʿ��ϴٸ� ������ �ŷڼ� ���� (������ �ȵ� ���� �ִ�) 36 Ȥ�� ���ź� ��ݰ� (����ڰ� �ٸ� ����ڿ� ���� ������ 37 ����ä�� ���� �����Ͽ�) ������(theft of service) ��ݿ� 38 �ô� �� �ִ�.</p> 39 </div> 40<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#example">������ ����</a></li> 41<li><img alt="" src="/images/down.gif" /> <a href="#denial">���ź� (Denial of Service)</a></li> 42<li><img alt="" src="/images/down.gif" /> <a href="#main">"�ּ���" �ּ�</a></li> 43<li><img alt="" src="/images/down.gif" /> <a href="#tips">�� ������ ���ϱ����� ��</a></li> 44<li><img alt="" src="/images/down.gif" /> <a href="#appendix">�η�: �����δ�</a></li> 45</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 46<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 47<div class="section"> 48<h2><a name="example" id="example">������ ����</a></h2> 49 50 51 <div class="example"><p><code> 52 <VirtualHost www.abc.dom> <br /> 53 ServerAdmin webgirl@abc.dom <br /> 54 DocumentRoot /www/abc <br /> 55 </VirtualHost> 56 </code></p></div> 57 58 <p>����ġ�� ���������� �����ϱ����ؼ��� �� ����ȣ��Ʈ�� 59 ���� �ΰ��� ������ ��������� �ʿ��ϴ�. �� ������ 60 <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code>�� ������ 61 ��ٸ��� ������ �ּ� �Ѱ��� IP �ּ��̴�. �� ���� IP �ּҰ� 62 ������, ����ġ�� DNS�� ����Ͽ� <code>www.abc.dom</code>�� 63 �ּҸ� ã�ƾ� �Ѵ�. ������ ���������� ������ � ���������� 64 DNS�� ����� �� ��ٸ� ����ȣ��Ʈ�� <strong>���� �� ���</strong>. 65 �� ����ȣ��Ʈ�� ��û�� ������ �� ���. (����ġ 1.2 ���� 66 ����� ������ ������ ���õ� ���Ѵ�.)</p> 67 68 <p><code>www.abc.dom</code>�� �ּҰ� 192.0.2.1�̶�� ��������. 69 ���� ���� ������ ����:</p> 70 71 <div class="example"><p><code> 72 <VirtualHost 192.0.2.1> <br /> 73 ServerAdmin webgirl@abc.dom <br /> 74 DocumentRoot /www/abc <br /> 75 </VirtualHost> 76 </code></p></div> 77 78 <p>���� ����ġ�� �� ����ȣ��Ʈ�� <code>ServerName</code>�� 79 ã������ ��DNS�� ����ؾ� �Ѵ�. ��ã�Ⱑ �����ϸ� ����ġ�� 80 ����ȣ��Ʈ�� �κ������� ����. (����ġ 1.2 ���� ����� 81 ������ ������ ���õ� ���Ѵ�.) ��, �� ��� �̸���� 82 ����ȣ��Ʈ��� ����ȣ��Ʈ�� ������ ���������ʰ�, ip����̶�� 83 ��κ� �����Ѵ�. ���� ����ġ�� �������� �����Ͽ� ������ 84 ��ü URL�� ������ �Ѵٸ� �������� URL�� ������ ���Ѵ�.</p> 85 86 <p>�Ʒ� ��� �� �ΰ��� ������ ���.</p> 87 88 <div class="example"><p><code> 89 <VirtualHost 192.0.2.1> <br /> 90 ServerName www.abc.dom <br /> 91 ServerAdmin webgirl@abc.dom <br /> 92 DocumentRoot /www/abc <br /> 93 </VirtualHost> 94 </code></p></div> 95 </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 96<div class="section"> 97<h2><a name="denial" id="denial">���ź� (Denial of Service)</a></h2> 98 99 100 <p>(�ּ���) �ΰ��� ������ ���źΰ� ���� �� �ִ�. 101 ����ġ 1.2 ���� ������ ��� � ����ȣ��Ʈ������ 102 ������ ���� �� DNS �˻��� �����ϸ� ������ �������� �ʴ´�. 103 DNS�� ����� ���� ���� ������ ���� �ִ�. ���� ���, 104 <code>abc.dom</code>�� � ����Ʈ�̰� ��� �ڽ��� DNS�� 105 ���Ѵٸ�, <code>www.abc.dom</code> ���ڵ带 ����⸸ �ص� 106 (1.2 ����) ������ �������� ���Ѵ�.</p> 107 108 <p>�ξ� �� ��Ȱ�� ��� �ִ�. ���� ������ ���캸��:</p> 109 110 <div class="example"><p><code> 111 <VirtualHost www.abc.dom> <br /> 112 ServerAdmin webgirl@abc.dom <br /> 113 DocumentRoot /www/abc <br /> 114 </VirtualHost> <br /> 115 <br /> 116 <VirtualHost www.def.dom> <br /> 117 ServerAdmin webguy@def.dom <br /> 118 DocumentRoot /www/def <br /> 119 </VirtualHost> 120 </code></p></div> 121 122 <p>����� <code>www.abc.dom</code>�� 192.0.2.1, 123 <code>www.def.dom</code>�� 192.0.2.2�� �Ҵ��ߴٰ� ����. 124 ��, <code>def.dom</code>�� ��ü DNS�� ����Ѵٰ� ��������. 125 �� ������ �Բ� <code>def.dom</code>�� <code>abc.dom</code>���� 126 ���� ��� ����� ����ç �� �ִ� ��ҿ� �ξ��. ���ٸ� ���� 127 <code>www.def.dom</code>�� 192.0.2.1�� �����ϱ⸸ �ϸ� �ȴ�. 128 ���� ��ü DNS�� ����ϱ���� ����� ���� ���ϴµ��� 129 <code>www.def.dom</code> ���ڵ带 �����ϴ� ���� ���� �� 130 ���.</p> 131 132 <p>(����ڰ� <code>http://www.abc.dom/whatever</code> ����� 133 URL�� �Է��ϴ� ��츦 �����Ͽ�) 192.0.2.1�� ���� ��� ��û�� 134 <code>def.dom</code> ����ȣ��Ʈ�� �����ϰ� �ȴ�. �� �̷� 135 ���� �Ͼ���� �����Ϸ��� ����ġ�� ��� ����ȣ��Ʈ�� 136 ���� ��û�� ó���ϴ����� ���� ������ �ʿ��ϴ�. 137 <a href="vhosts/details.html">����</a>�� �밭 ������ִ�.</p> 138 </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 139<div class="section"> 140<h2><a name="main" id="main">"�ּ���" �ּ�</a></h2> 141 142 143 <p>����ġ 1.1���� <a href="vhosts/name-based.html">�̸���� 144 ����ȣ��Ʈ ����</a>�� ���ԵǾ����� ����ġ�� �������� 145 �����ϴ� ȣ��Ʈ�� IP �ּ�(��)�� �� �ʿ䰡 ����. �� �ּҴ� 146 (�ִٸ�) �� <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code> 147 Ȥ�� C �Լ� <code>gethostname</code>���� (���������Ʈ�� 148 "hostname"�� �Է��������� ���� ���) ��´�. ���� �� �ּҷ� 149 DNS �˻��� �Ѵ�. ���� �� �˻��� ���� �� ���.</p> 150 151 <p>DNS ������ � �� �˻��� ������ �� ���ٸ� 152 <code>/etc/hosts</code>�� ȣ��Ʈ���� ������ �� �ִ�. 153 (��ǻ�Ͱ� ���������� ���õǾ�ٸ� �Ƹ� �̹� ������� ���̴�.) 154 ���� DNS�� �����ϸ� ������ <code>/etc/hosts</code>�� 155 ����ϴ��� Ȯ���϶�. ����ϴ� �ü���� ��� 156 <code>/etc/resolv.conf</code> Ȥ�� <code>/etc/nsswitch.conf</code>�� 157 �����ϸ� �� ���̴�.</p> 158 159 <p>������ � ���������� DNS�� �˻��ϸ� �ȵȴٸ� 160 <code>HOSTRESORDER</code> ȯ�溯���� "local"�� �����ϰ� 161 ����ġ�� ������ �� �ִ�. <code class="module"><a href="/mod/mod_env.html">mod_env</a></code>�� 162 ����Ͽ� ȯ���� �������� �ʴ´ٸ� �� ȯ�溯���� 163 CGI���� ������ �ش�. �ü���� manpage�� FAQ�� ����ϴ� 164 ���� ����.</p> 165 </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 166<div class="section"> 167<h2><a name="tips" id="tips">�� ������ ���ϱ����� ��</a></h2> 168 169 170 <ul> 171 <li> 172 <code class="directive"><a href="/mod/core.html#virtualhost">VirtualHost</a></code>�� IP 173 �ּҸ� ����϶� 174 </li> 175 176 <li> 177 <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>�� 178 IP �ּҸ� ����϶� 179 </li> 180 181 <li> 182 ��� ����ȣ��Ʈ�� ��������� 183 <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code>�� 184 ������ �϶� 185 </li> 186 187 <li>� �������� ���������ʴ� 188 <code><VirtualHost _default_:*></code> ������ 189 ������</li> 190 </ul> 191 </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 192<div class="section"> 193<h2><a name="appendix" id="appendix">�η�: �����δ�</a></h2> 194 195 196 <p>DNS�� ��õ� ��Ȳ�� �ſ� �ٶ������� ���ϴ�. ����ġ 1.2���� 197 �츮�� DNS�� ������ ��쿡�� �ּ��� ������ �������� ��������� 198 ���� ������. ��·�� �������Ͽ� ���� IP �ּҸ� �䱸�ϴ� 199 ���� ��ȣ�� �ٽ� �����ؾ��� ���� ���ͳݿ� �ſ� �ٶ������� 200 ���ϴ�.</p> 201 202 <p>������ ������ ������ ����� ���� �Ѱ��� ����� �˻��� 203 IP �ּҿ� �ٽ� ��DNS �˻��� �Ͽ� �� �̸��� ���ϴ� ���̴�. 204 ���� �ٸ� ��� ����ȣ��Ʈ�� �������� ���� �� �ִ�. �� ����� 205 ��DNS�� �ùٷ� �����Ǿ� �Ѵ�. (FTP ������ TCP wrapper�� 206 "�ߺ�-��" DNS �˻��� ���� ����ϱ���� ��κ��� ���ڿ��� 207 �ͼ��� ���̴�.)</p> 208 209 <p>��·�� IP �ּҸ� ������������� DNS�� ������ ��� ����ȣ��Ʈ 210 �������� ���� �� �ְ� ������ �� ���. ������ �Ϻθ� �����ϴ� 211 �Ͱ� ���� �κ����� �ذ�å�� ������ ��ü�� ���������ʴ� �ͺ��� 212 �� ���� ���� �ִ�.</p> 213 214 <p>HTTP/1.1�� ���� ������� ���Ͻð� <code>Host</code> 215 ����� ������ ���������Ƿ� IP��� ����ȣ��Ʈ�� ������ 216 ��������ʴ� ���� �������� ���̴�. ���� �������� �����߿��� 217 DNS �˻��� �� �ʿ䰡 ������. ���� 1997�� 3��� �߿��� 218 �������� ������ ������ �̸���� ����ȣ��Ʈ�� �θ� ������ 219 �ʾҴ�.</p> 220 </div></div> 221<div class="bottomlang"> 222<p><span>������ ���: </span><a href="/en/dns-caveats.html" hreflang="en" rel="alternate" title="English"> en </a> | 223<a href="/fr/dns-caveats.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 224<a href="/ja/dns-caveats.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 225<a href="/ko/dns-caveats.html" title="Korean"> ko </a> | 226<a href="/tr/dns-caveats.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 227</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 228<script type="text/javascript"><!--//--><![CDATA[//><!-- 229var comments_shortname = 'httpd'; 230var comments_identifier = 'http://httpd.apache.org/docs/2.4/dns-caveats.html'; 231(function(w, d) { 232 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 233 d.write('<div id="comments_thread"><\/div>'); 234 var s = d.createElement('script'); 235 s.type = 'text/javascript'; 236 s.async = true; 237 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 238 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 239 } 240 else { 241 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 242 } 243})(window, document); 244//--><!]]></script></div><div id="footer"> 245<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> 246<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 247if (typeof(prettyPrint) !== 'undefined') { 248 prettyPrint(); 249} 250//--><!]]></script> 251</body></html>