From fec88e44108f8320fd78462041b0c358f9f89aaf Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 29 Jun 2007 02:26:20 +0000 Subject: [PATCH] Q: Is it possible to configure BIND to redirect "anything.domain.com" to "domain.com/anything"? --- FAQ | 13 +++++++++++++ FAQ.xml | 26 +++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/FAQ b/FAQ index af6c89a434..fcbce69f11 100644 --- 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 c29c55ead7..e75c7a006d 100644 --- a/FAQ.xml +++ b/FAQ.xml @@ -18,7 +18,7 @@ - PERFORMANCE OF THIS SOFTWARE. --> - +
Frequently Asked Questions about BIND 9 @@ -1353,5 +1353,29 @@ zone "list.dsbl.org" { + + + + Is it possible to configure BIND to redirect + anything.domain.com to + domain.com/anything? + + + + + 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 + + + + +