Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created zone file

zone "" {
    type master;
    file "/etc/bind/";

$TTL    604800
(20881122 604800 86400 2419200 604800 )

pgdebian        A        
pgdebian        HINFO   "PII 233 :-)" "Debian Testing"
*               A

Now, when I request, BIND9 answers But if I try nslookup, nslookup says SERVER FAILED.

How can I redirect to

share|improve this question
up vote 4 down vote accepted

The wildcard is matching children of but not proper.

Add this record:

@ A

to add as an address for itself.

The Wikipedia article on wildcard DNS is pretty good.

share|improve this answer
thanks it works :) – red eyes dev Jun 15 '11 at 15:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.