can i have a dns server without a static ip

Posted on 2011-04-22
Last Modified: 2013-11-22
hi,.. I set up my machine using as my dns server..using ddclient on a freebsd server...: its working fine..except I want to have other virtualhosts using apache httpd-vhosts.conf file...:can I set up my machine as a dns server in turn...isnt it just acting as a scondary dns server broadcasting out to the world?...
Question by:solunatec
    LVL 9

    Expert Comment

    It would work.  But why?  Virtual hosts within  what purpose?

    Author Comment

    I just dont know how else to do it: I want to have other domain names on my server without having to pay for another dyndns custom account...or am I misisng something here...
    LVL 9

    Accepted Solution

    I see.  Your hosting multiple domain names on this server.  And your using DNS to propagate the names to the outside world.

    Your going to need to have the DNS forwarding tables point to the right virtual hosts.
    LVL 41

    Assisted Solution

    If I understand the situation, you have a account providing forward DNS name resolution for your server, say, and you want to host additional domains on that same FreeBSD server such as and without having to create additional accounts.

    If that is correct, I have only a partial work around for you. You can setup and as cname entries (aliases) pointing to, and that would work for those, but it would not work for and My DNS server (Microsoft) doesn't allow a domain name to be an cname for another host. I suspect that to do so would be illegal in DNS. So, you can make work for free, but not

    I think that you will need to setup an account for each unique domain.

    As for apache, setup your virtual hosts to use host headers to distinguish between sites. They can all use the same IP address as long as you do not need SSL.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now