Weblog entry #3 for nole

Possible to run a compleate webserver system?
Posted by nole on Wed 6 Feb 2008 at 10:39
Tags: none.
Sorry for this question that might seem quite uninformed (I'm a electronics developer so this is not my cup of tee) but I have been surfing google all morning to try and find an answer to how much work and what I need to do to run my server "free" from most other companies.

Today I use a company that offer nameservers,dns and redirection and while rather cheap I'm getting more and more curious to how hard it would be to run a private system for these services and just need to deal with the primary supplier of the address. I love to read so any links to more information of setting up, running or how stuff like this works are greatly appreciated.

Thanks
//Nole.

 

Comments on this Entry

Posted by mwr (24.158.xx.xx) on Wed 6 Feb 2008 at 12:45
[ Send Message | View Weblogs ]

Outsourced hosting is awfully cheap. For personal uses, I end up paying $8/month for a shared host with secure shell access and web, smtp, and imap services enabled. I can do a whole lot of stuff with ssh access -- set up any PHP/SQL web applications, install Trac (well, I do have to get them to add one entry into my host configuration for Trac to be finished), install Wordpress, etc. If I had to have root access on my own virtual server, I could get that for $18-90/month, depending on its specifications. And a dedicated physical server with some level of support at the hosting company would be $160-290/month, depending on specifications.

The main point with all this is that if you have job tasks other than systems administration, and your primary goal is having the usual web and internet services available to your coworkers, you may find the most economical route is to do as little as possible in-house. At work, my duties are split between IT work and engineering, and I manage a ton of services in-house (web, CMS, email, mailing lists, ftp mirror, blog host, file server, compute cluster nodes). But most/all of those services are in house because I already had some years of ISP systems administration experience beforehand, and the central IT folks couldn't provide for some of the more esoteric needs we had. Plus, since we run Debian, we could just use old hardware for testing purposes, and then install on real servers if needed.

If you still want the DIY route, and have some time to spend, I'd probably set up an account at dyndns.org so that you can have a fixed DNS name point to your home internet connection, install Debian (or whatever, but this is a Debian site you're on), and have your internet router forward web, smtp, or whatever traffic to the Debian server. Search here or howtoforge.com for instructions on setting up web, email or whatever services you're interested in. I probably would not experiment at work with anything people rely on for business, especially if this was my first foray into systems administration.

Short form: if it's critical and you're new to all this, outsource it for now. Build up experience with non-critical environments, and then you'll be ready to evaluate if any of it is worth bringing back in-house.

[ Parent | Reply to this comment ]

Posted by nole (195.42.xx.xx) on Wed 6 Feb 2008 at 14:05
[ Send Message | View Weblogs ]
I use Debian (exclusively) so that's not an issue with me, and setting up web servers are also no news and I have done so for quite a long time, what I'm not so sure about is if I can set up my own nameservers and DNS solutions and do all that stuff that comes with that.

It's not for work (they would surely not pay me to devote a large amount of time for something we can buy for $20/Month) but for home since I just got a dedicated 100Mbit connection with five static IP's connected to my home and since I'm not into downloading movies/music and really would like to learn this stuff I though i'd give it a try :) Thanks for the tips so far.

[ Parent | Reply to this comment ]

Posted by mwr (149.149.xx.xx) on Wed 6 Feb 2008 at 19:02
[ Send Message | View Weblogs ]

In the case of DNS, as long as you've got the static IPs, then that's all you'd need from your ISP. From there, it's a matter of setting up authoritative DNS servers for your domain, registering that domain if necessary, or modifying an existing domain to point to your new DNS servers' IP addresses. At least at one time, it was recommended to have authoritative DNS servers on separate networks for redundancy and disaster-proofing, but I don't know if that's still recommended. Since most places don't even bother with redundant data centers, I'd guess it's not at all common.

At least back in the day, the O'Reilly DNS and BIND book was the standard text for setting that stuff up. But I don't run DNS of any complexity any more. At work, I just get addresses added into the main DNS when needed, and at home, I run a pretty simple split-horizon setup with MaraDNS that makes my homeunix.net address resolve to a private local IP when I'm at home.

I'll also take this opportunity to pimp my infrastructure management pages if you're looking to do more systematic installation and maintenance of these systems.

[ Parent | Reply to this comment ]

Posted by mbl (87.96.xx.xx) on Wed 6 Feb 2008 at 19:35
[ Send Message ]
When registering a domain you must supply the ip-address or name for at least two DNS servers. You can cheat and give two addresses that really goes to the same server. But I'd say that if you are going to use your domain for email reception, you should have at least two DNS servers on separate internet connections / in separate cities / in separate countries depending on your requirements.

"Why is this so important for email?" you might ask. If your DNS servers are not available when someone wants to visit your website, they will hopefully just try again later. High DNS server availability is really more important than high email server availability, because if the email server is temporary down the senders mail server will just try again later. If your DNS is down however, the email will not be delivered at all and the sender will get a more or less cryptic error message.

/MBL

[ Parent | Reply to this comment ]

Posted by Anonymous (81.237.xx.xx) on Wed 6 Feb 2008 at 22:50
Does there exist good free DNS services to register with or should I (if I really wish to have control try to find a off site location and run a second DNS server there?

[ Parent | Reply to this comment ]

Posted by mbl (87.96.xx.xx) on Thu 7 Feb 2008 at 01:19
[ Send Message ]
For a personal domain I'd say it is enough to have a primary DNS at your place (if you have a fixed IP-address) and swap secondary DNS with someone in a situation similar to you. At <http://ns2exchange.com/>; and <http://www.ironclad.net.au/lists/dns-swap/>; you can find others in your situation. (I searched for "dns secondary list" and similar to find the above.)

But there are also people and companies who offer secondary (and some even primary) DNS for free as a service.
If you understand Danish (or Swedish or Norwegian) I'd recommend <http://www.gratisdns.dk/>;.

/MBL

[ Parent | Reply to this comment ]

Posted by Anonymous (64.118.xx.xx) on Thu 7 Feb 2008 at 01:21
Absolutely: See xname.org.

[ Parent | Reply to this comment ]

Posted by oxtan (82.95.xx.xx) on Thu 7 Feb 2008 at 19:16
[ Send Message | View Weblogs ]
with what provider do you get that deal? (100Mbit + 5 static ip addresses at home?)

[ Parent | Reply to this comment ]

Posted by nole (81.237.xx.xx) on Thu 7 Feb 2008 at 22:36
[ Send Message | View Weblogs ]
It's provided by Bahnhof (http://en.wikipedia.org/wiki/Bahnhof) a very good provider that has done a lot of good for the infrastructure and integrity of it's users in Sweden. They are quite cheap to around $50 a month

[ Parent | Reply to this comment ]

Posted by nole (195.42.xx.xx) on Thu 7 Feb 2008 at 12:36
[ Send Message | View Weblogs ]
After reading lots on the internet and you guys comments (that helped alot thanks!), I also bough a book about DNS/Bind with Linux from O'riely that hopefully will help to when it arrives! so thanks a bunch and I'll guess I'll post back with results once I get them.

//Nole.

[ Parent | Reply to this comment ]

Posted by simonw (84.45.xx.xx) on Fri 8 Feb 2008 at 04:39
[ Send Message | View Weblogs ]
I did a survey of local companies when I set up my own business.

100% of those running their own DNS had issues with the configuration of their DNS.

It was very noticeable folks who used big ISPs to provide DNS service had a better set up - more likely to have correct delegation, and an off-network name server.

All those with perfect DNS set ups which I defined as name servers in at least two distinct routing domains, delegation all correct, not providing recursion on authoritative name servers, and no obvious oddities, were with two of the largest UK ISPs. I think they need to be large enough to have dedicated DNS staff who have nothing better to do than make sure the DNS is working right, and complying with all relevant RFCs and Best Practice guidelines.

Since you need to get a third party to arrange delegation of the DNS, and most registrars provide managed DNS services, unless you have a lot of domains it probably pays most people just to use their ISP or a big DNS provider.

DNS is easy to set-up, but I think keeping it well maintained is a job, and the work scales with the (number of name servers)x(number of variation in domain delegations)x(number of TLD/registries). So if you have a lot of identically delegated domains, on the same set of name servers, in the same top level domain, it is pretty straight forward, but that situation never lasts!

I maintain 4 authoritative DNS servers on two networks to host several thousand domain names for the day job, amongst other roles; doing it again we would outsource this. When my employers started doing it in-house outsourcing wasn't a realistic option.

DNS and Bind is a great book - Cricket is a clever and amiable chap - but I'd recommend using it to figure out which providers really know their stuff, or for running big internal DNS set ups.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search