Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 am trying to set up multiple sites under my DynDNS domain. I have a dynamic-ip and the only domain name I have is a free one from dydns, e.g.

I only have one server, but I want to be able to host multiple sites from this one server.

This is what I have set up for bind,

zone "" {
    allow-query { any; };
    type master;
    file "/etc/bind/";


$TTL 1d;


@           IN  SOA (  
                    2011051300 ; serial number  
                    3h ; refresh  
                    10m ; retry  
                    1w ; expiry  
                    3h ; minimum  
@       IN  NS   
www     IN  CNAME  
mysite  IN CNAME    www   

When I do $ nslookup, I get:

Address:  canonical name =

But if I do, nslookup, I get NXDOMAIN.

Here is the result of dig

; <<>> DiG 9.7.3 <<>> 
; (1 server found) 
;; global options: +cmd 
;; Got answer: 
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30676 
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2 

; IN A 

;; ANSWER SECTION: 86400 IN CNAME 86400 IN   A 

;; AUTHORITY SECTION: 86400  IN  NS  localhost. 

localhost.      604800  IN  A 
localhost.      604800  IN  AAAA    ::1 

;; Query time: 1 msec 
;; WHEN: Sat May 14 11:23:49 2011 
;; MSG SIZE  rcvd: 153 

But I get no answer if I do dig even though I get an answer for dig

I'm not sure what else to try. Any ideas?

NOTE: Names and addresses have been changed to protect the innocent.

share|improve this question
up vote 0 down vote accepted

Free dyndns does not support this, you need wildcard support - which is not free any more in

A name server needs a fixed ip address, but wildcard support would be enough - no need for a name server on your end.

share|improve this answer
Yeah, that's what I ended up doing. No dns necessary. It's $15/year, which I think is fair considering I've been using their free service for 3+ years. – Joehillen May 16 '11 at 4:04

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.