473,387 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Any DNS Experts Here?

Hi everyone,

I need to do what services like co.cc are doing, taking a subdomain of my site (call it domain.com), and directing it to another server.

The current setup has one cPanel reseller, which directs the viewer to another cPanel reseller via an IP address in an A name records. It uses the default system built into cPanel, meaning I cannot remove or otherwise modify these new zones.

In addition, these subdomains are reknown to not work, most specifically on older ISPs. As I'm running a web host, this is unacceptable. I need a solution that works universally, or as close to universally as possible. In addition, if the user creates subdomains of their subdomain, those fail almost all the time. I need to pass ownership of all subzones to the new server.

I was thinking it best to build my own DNS management utility on a VPS. It shouldn't be hard to build a script that creates/deletes DNS zones. I built my entire site from nothing. However, I have little experience with DNS. I need to know:

1) How do I create zones? Where are these files on the server? httpd.conf? If they go in that file, what's a zone file? Why are there other configuration files?

Yes, I have used guides, but some of them tell me httpd.conf and others talk about zone files, but don't mention a location.

2) What is the best type of zone to create? Keep in mind there will be thousands of these created, they need to work reliably, I want ownership of any subdomains transfered, and they are likely to be changed. I have A names now, but I'm thinking NS or DNAME(?) and I don't know how to set those up.

3) Let's say I now want to provide a page for all unused domains (WildCard DNS). How does this integrate with a system such as this, and how do I set zone priority?

4) If I want the main domain to direct to another server (to keep it online if this DNS server goes down) is this possible and how might I do this? I also want a few subdomains to direct to the other server.

5) Is it possible to set up a failsafe server, and how would I do this? (Visitors will go to this server if the main one goes down.)

My domain, at present, is housed with GoDaddy. I have the option to set nameservers, or create nameservers of my own directing to an IP address.

I know how to use SSH for most basic tasks, including navigating, modifying, deleting, etc... I know how to build a bash script. I am an expert at PHP.

Basically, I need to know how you would set this up to work with a couple subdomains, then I can build scripts to do all the rest.
Feb 27 '09 #1
0 1482

Sign in to post your reply or Sign up for a free account.

Similar topics

22
by: ByteSize | last post by:
Dear All, Please, this is not meant to be offensive - but it is a challenge !!! I have posted on over a dozen so called 'vb.net' expert / blog sites - in the vain hope of finding a complete,...
53
by: ROSY | last post by:
hello, response if u ,on all level of questions::: 1.how a self deletable .exe file deleted on some future date & time without invoking the .exe itself? 2.if we want that any wildcard...
0
MMcCarthy
by: MMcCarthy | last post by:
I've decided to replace the announcement with a sticky thread. Again I would like to welcome all experts to this forum. We are gaining some great experts who are contributing significantly to the...
28
MMcCarthy
by: MMcCarthy | last post by:
Policies below superceded by FAQ Post Course Work Questions and Answers. ADMIN
4
by: MrHelpMe | last post by:
Hello experts, Using asp with javascript and after reading many articles I found that 1 way to hide url is to use frames. However, my application has a form in which the user enter's values and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.