can i have a dns server without a static ip

Posted on 2011-04-22
Medium Priority
Last Modified: 2013-11-22
hi,.. I set up my machine using dyndns.org 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
  • 2

Expert Comment

ID: 35451317
It would work.  But why?  Virtual hosts within dyndns.org  what purpose?

Author Comment

ID: 35451439
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...

Accepted Solution

activematx earned 1000 total points
ID: 35451624
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 42

Assisted Solution

kevinhsieh earned 1000 total points
ID: 35452060
If I understand the situation, you have a dyndns.org account providing forward DNS name resolution for your server, say www.domain.com, and you want to host additional domains on that same FreeBSD server such as www.domain2.com and www.domain3.org without having to create additional dyndns.org accounts.

If that is correct, I have only a partial work around for you. You can setup www.domain2.com and www.domain3.org as cname entries (aliases) pointing to www.domain.com, and that would work for those, but it would not work for domain2.com and domain3.org. 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 www.domain2.com work for free, but not domain2.com.

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.

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month16 days, 5 hours left to enroll

850 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