]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Q: Is it possible to configure BIND to redirect "anything.domain.com" to
authorMark Andrews <marka@isc.org>
Fri, 29 Jun 2007 02:26:20 +0000 (02:26 +0000)
committerMark Andrews <marka@isc.org>
Fri, 29 Jun 2007 02:26:20 +0000 (02:26 +0000)
   "domain.com/anything"?

FAQ
FAQ.xml

diff --git a/FAQ b/FAQ
index af6c89a4349237d3b440d561cf779e1d38f81166..fcbce69f1112f747b3fecb1a209eea2aa6206557 100644 (file)
--- a/FAQ
+++ b/FAQ
@@ -719,3 +719,16 @@ A: Short Answer: No.
    private network? Are you on a NAT'd network? The answers to all these questions
    change how you configure even a caching name server.
 
+Q: Is it possible to configure BIND to redirect "anything.domain.com" to
+   "domain.com/anything"?
+
+A: No. This mapping needs to be done in the HTTP server using the "Host:
+   anything.domain.com" header from HTTP 1.1. See your HTTP server documentation
+   for how to do this.
+
+   You can however use wildcard records to map all the hostnames to the same
+   addresses. e.g.
+
+   * A 192.0.2.10
+   * AAAA 2001:DB8:0:0:8:800:200C:417A
+
diff --git a/FAQ.xml b/FAQ.xml
index c29c55ead7e93559eb2133f0a464d3d40f7108aa..e75c7a006dc0c225b10ed6a4df95e89ab1f7a618 100644 (file)
--- a/FAQ.xml
+++ b/FAQ.xml
@@ -18,7 +18,7 @@
  - PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: FAQ.xml,v 1.19 2007/06/18 23:47:16 tbox Exp $ -->
+<!-- $Id: FAQ.xml,v 1.20 2007/06/29 02:26:20 marka Exp $ -->
 
 <article class="faq">
   <title>Frequently Asked Questions about BIND 9</title>
@@ -1353,5 +1353,29 @@ zone "list.dsbl.org" {
       </answer>
     </qandaentry>
 
+    <qandaentry>
+      <question>
+       <para>
+         Is it possible to configure BIND to redirect
+         <quote>anything.domain.com</quote> to
+         <quote>domain.com/anything</quote>?
+       </para>
+      </question>
+      <answer>
+       <para>
+         No. This mapping needs to be done in the HTTP server using the
+         <quote>Host: anything.domain.com</quote> header from HTTP 1.1.
+         See your HTTP server documentation for how to do this.
+       </para>
+       <para>
+         You can however use wildcard records to map all the hostnames
+         to the same addresses. e.g.
+<programlisting>* A 192.0.2.10
+* AAAA 2001:DB8:0:0:8:800:200C:417A</programlisting>
+       </para>
+      </answer>
+    </qandaentry>
+
+
   </qandaset>
 </article>