Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Oct 06, 2004 8:02 am 
Offline
Senior Newbie

Joined: Fri Oct 01, 2004 9:01 am
Posts: 18
I want to set up NS1 and NS2 name servers on my one linode.
I know it's not right to have NS2 on the same system but I can't afford another linode just for NS2 right now.

I have two IP numbers.

I already setup Bind for NS1 using the first IP and it is working properly.

Now I am trying to figure out how to setup NS2 as a slave server using my second IP on the same linode.

I read various posts on the internet about IP aliasing and virtual name servers but I'm still not sure how to do that using my linode.

Has anyone else done this before or know how to do it?


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 9:44 am 
Offline
Junior Member

Joined: Thu Jun 03, 2004 2:57 pm
Posts: 23
Having two NS's on one machine is a bad idea.

If you don't want to spend money on it, some of the Linnoders have offered to be NS2 for folks. Or there's always free DNS services.


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 11:50 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
If you don't want to bother with setting up a slave, you can have named listen on both IPs...

From named.conf:
Code:
options {
        listen-on { <ip 1 here>; <ip2 here>; 127.0.0.1; };     
};

-Chris


Top
   
PostPosted: Wed Oct 06, 2004 11:50 am 
Offline
Junior Member

Joined: Wed Jul 21, 2004 4:45 am
Posts: 21
Website: http://www.percederberg.net
Location: Stockholm, Sweden
I agree with wirehead. There is no reason to do this when there are several free services available, such as http://www.zoneedit.com/ and https://www.xname.org/ to name two.


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 12:21 pm 
Offline
Junior Member

Joined: Fri Oct 10, 2003 5:57 pm
Posts: 25
I'll weigh in with a recommendation of my own:

www.everydns.net

It's well run, does a dandy of a job, etc. For a yearly donation just over the cost of the extra IP from Linode, you can completely support the service - but donations are optional anyway, so you can certainly do it for free. I've corresponded with the operator of the service before - he's basically just a nice guy, running a service that a lot of people benefit from using the donations that a few of them send in.

I use everydns.net as a shadow secondary - it uses a specified DNS server I designate (not on my linode, but it could be) as the source for my DNS records, but I only list everyDNS servers in my domain information in WHOIS. They run a far more reliable set of servers than I would, and, this way, I just have to make sure that my source for DNS records is up some moderate percentage of the time, so that everyDNS can re-fetch my records.


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 12:39 pm 
Offline
Senior Member

Joined: Fri Aug 06, 2004 5:49 pm
Posts: 158
Or have some other friends with servers =)

I constantly trade off being a secondary name server with a friend that has a server on another ISP in a different state. If that's not enough, I'll occasionally throw a few to another friend on another ISP hosting colo just to distribute the load and be a little more safe.

I could swear I saw a number of linoders offering to set it up for nothing....


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 12:50 pm 
Offline
Junior Member

Joined: Fri Oct 10, 2003 5:57 pm
Posts: 25
Well, yes, getting your friend's help isn't a bad idea. But going through a well-managed service that already exists means you get the benefits of that - no calling your friends in a hurry 'cause something's down. And services like the ones mentioned above tend to have geographical diversity... EveryDNS runs 4 different servers in 4 different physical locations.

I mean, if it's all the same, why depend on a friend who isn't paying much attention to DNS when there're services specifically for that purpose around, some of which are free or free with goodwill donations?


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 1:26 pm 
Offline
Senior Newbie

Joined: Fri Oct 01, 2004 9:01 am
Posts: 18
Yes I already know that NS2 on the same system is not recommended.
I even have a web site reseller account at another company that is cheating by giving me two "personal name servers" which in fact both point to their secondary server. This looks like a common practice for cheap resellers though.

I also already have an account at Zoneedit.

I want to have both name servers here because it says somewhere that I can, I want to see if I can and I want total control over it.

This linode account is great for experimenting without getting a dedicated server. This is an experiment.

:D


Top
   
 Post subject:
PostPosted: Wed Oct 06, 2004 2:36 pm 
Offline
Senior Newbie

Joined: Fri Oct 01, 2004 9:01 am
Posts: 18
caker wrote:
If you don't want to bother with setting up a slave, you can have named listen on both IPs...

From named.conf:
Code:
options {
        listen-on { <ip 1 here>; <ip2 here>; 127.0.0.1; };     
};

-Chris


Yes that is even easier.
Plus apparently Bind already listens on all IPs by default.
All I had to do was to bring up the other IP on eth0:1
And then do
Code:
rndc reload

I guess I didn't have enough sleep trying to figure out something that was so simple to solve.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group