
|
View Full Version : Running your own NS.
clocker1996 11-30-2001, 01:41 AM Hi
This is really bothering me. Ok, here goes
Lets say ibought clocker.com
great
I have my own dedicated server. I have setup apache, ftp, all that stuff, all I need to do, is point my domain to one of my server IPS, configure apache and im set (CNAME + A record)
Anyhow, point is. Let's say i sign up with a service like zoneedit.com, so I can manage my DNS with them.
Don't get me wrong, zoneedit is great, but, what i REALLY want to do, is create ns1.clocker.com and ns2.clocker.com
run my OWN name servers.
I know they have to be on seperate machines, well they should be, but anyhow, atleast for ns1 i would like help setting up. I just need to know a few things:
I know tinydns, and that is what i plan on using, problem is, how do I get started? What i mean is, I can go setup tinydns all i want, that doesnt mean my domain will just start using ns1.clocker.com (or atleast thats whati have been told.)
Let's assume I own 216.139.228.15 as one of my ips.
I want to make ns1.clocker.com dns to 216.139.228.15, and i want my domain set so its primary name server is ns1.clocker.com
So, if i could do that, then i could edit my tinydns datafile, and do things on the fly, unlimited domains etc.
BUt I hear you have to go through some process? you cant just go creating your own name servers? Or can you?
What do i do first?
Do i login my zoneedit account
and create ns1.clocker.com and make it dns to 216.139.228.15 ? AND then login my domain acct, change my name server to ns1.clocker.com ??
then setup tinydns?
Is it really that easy? I was told you can't just do that
Can anyone help?
clocker1996 11-30-2001, 01:42 AM Another thing. I have a friend, who has a dedicated server, he somehow got it so he could have ns1.hisdomain.com and ns2.hisdomain.com point to his servers and actually work
so that is how i have tinydns experience
unfortunately, he isnt on for me to ask how he did it.
remarkable 11-30-2001, 02:34 AM Reading your post gave me a headache. There are too many nameserver out there and most of them run poorly.
I suggest forgetting about running your own DNS and have your host do it for you or use one of those free DNS services out there.
clocker1996 11-30-2001, 08:40 AM Umm
I'm going to try to make this as nice as possible
My post is not hard to understand, i'm sorry you are having a hard time comprehending.
You talk to me like i'm some newbie who just got a silly shared webhost account for $9.95
I want to run my own name server, and thats the bottom line, i DONT want to use a zoneedit account, and i dont want to use other people for my dns, i want to be able to make changes on the fly, i didnt post here so you could tell me to have my "webhost" do it for me
I'm sure you are very happy using ZONEEDIT for your webhosting company, logging in and out of your web account adding and removing domains. I'm sure your customers are very pleased to see their domain's NS be ns1.zoneedit.com and ns2.FREEDNSSERVICES.com etc, but i prefer to manage my own dns
sorry
Can anyone give me a REAL answer
thanks
sigma 11-30-2001, 09:27 AM Originally posted by clocker1996
I want to run my own name server, and thats the bottom line, i DONT want to use a zoneedit account, and i dont want to use other people for my dns, i want to be able to make changes on the fly, i didnt post here so you could tell me to have my "webhost" do it for me
Can anyone give me a REAL answer
thanks
You want to end up with the central registry listing ns1.yourname.com and ns2.yourname.com, and then you run ns1 and ns2 with DNS software such as BIND or djbdns. Zoneedit is no longer involved, so there's no point in creating ns1 and ns2 records there. They will disappear after you transfer the domain.
You need to have your registrar of choice create ns1.yourname.com and ns2.yourname.com records, which most registrars will do once you transfer to them. Then the zone is delegated to your nameservers by the root nameservers, and the rest is all standard and easy.
Anyone running DNS servers needs to buy the BIND book and read it cover to cover. It's in third edition now.
Kevin
bobcares 11-30-2001, 10:33 AM Hi!
I'm assuming that you are using Linux/Unix.
You need a package called bind. This is a DNS server software.
Install it.
Then modify the /etc/named.conf file and add the zones.
Also add the name records in the /var/named directory... That's it.
A more detailed explanation can be gotton here...
http://jgo.local.net/LinuxGuide/linux-nameserver.html
Have a great day :)
Regards
Amar
P.S. This is a very easy task. It may look tough in the beginning . But once you get the hang of it... it's cool...
remarkable 11-30-2001, 12:46 PM Can't your host alias your namerserver names to their DNS servers? This way you have the best of both worlds.
Anyway. Here is the REAL ANSWER
0) Make sure you have the most current version of your nameserver software.
1) Register your nameservers with your registrar
2) Change the namerserver entries in /etc/resolv.conf to your own nameserver and serchdomain
3) Setup the /etc/named.conf file with your primary zone.
4) Add your first zone.
make sure you use your nameservers for the NS records
make sure you enter the nameservers as A records
5) restart the name server and check /var/log/messages for errors.
6) Don't expect to manage reverse (PTR) unless your host can delegate it to you.
Oh.. Don't forget to go to the book store or order the BIND books from Amazon. Don't wing it.
I wrote a guide for Ensim on how to setup DNS for their WEBppliance. It can be used for most servers. It is not that specifc to Ensim. http://www.ensim.com/documentation/education/WP_LS_DNS_guide.pdf
I still highly suggest letting someone else handle the DNS.
Originally posted by clocker1996
Umm
I'm going to try to make this as nice as possible
My post is not hard to understand, i'm sorry you are having a hard time comprehending.
You talk to me like i'm some newbie who just got a silly shared webhost account for $9.95
I want to run my own name server, and thats the bottom line, i DONT want to use a zoneedit account, and i dont want to use other people for my dns, i want to be able to make changes on the fly, i didnt post here so you could tell me to have my "webhost" do it for me
I'm sure you are very happy using ZONEEDIT for your webhosting company, logging in and out of your web account adding and removing domains. I'm sure your customers are very pleased to see their domain's NS be ns1.zoneedit.com and ns2.FREEDNSSERVICES.com etc, but i prefer to manage my own dns
sorry
Can anyone give me a REAL answer
thanks
clocker1996 11-30-2001, 03:23 PM Originally posted by sigma
You want to end up with the central registry listing ns1.yourname.com and ns2.yourname.com, and then you run ns1 and ns2 with DNS software such as BIND or djbdns. Zoneedit is no longer involved, so there's no point in creating ns1 and ns2 records there. They will disappear after you transfer the domain.
You need to have your registrar of choice create ns1.yourname.com and ns2.yourname.com records, which most registrars will do once you transfer to them. Then the zone is delegated to your nameservers by the root nameservers, and the rest is all standard and easy.
Anyone running DNS servers needs to buy the BIND book and read it cover to cover. It's in third edition now.
Kevin
This is the answer I was looking for. All the other things I really didn't need to know about.
Wow, i must say, you guys are BIND freaks.
I have clearly said earlier, that I already know how to use TINYDNS (djbdns), and I already know how to set it up.
I just wanted to know, how to set it up so I could run my own name servers. I was told that my name servers weren't "registered" name servers, so I couldnt just go telling people to start using my name servers becuase they wouldn't work Just like that.
Thank you for all your BIND recommendations, but I like tinydns
sigma 11-30-2001, 03:25 PM Originally posted by clocker1996
Thank you for all your BIND recommendations, but I like tinydns
djbdns is good stuff. But there's no book on it. You can learn a huge amount from the BIND book without necessarily having to run BIND :)
Kevin
|