Russell Coker: Multiple DNS Names
There are many situations where multiple DNS names for a single IP address that runs a single service are useful. One common example is with business web servers that have both www.example.com and example.com being active, so whichever a customer hits they will get the right content (the last thing you want is for a potential customer to make some trivial mistake and then give up).
Having both DNS names be equal and separate is common. One example of this is the way http://planet.ubuntulinux.org/ and http://planet.ubuntu.com/ both have the same content, it seems to me that planet.ubuntu.com is the more official name as the wiki for adding yourself to the Planet is wiki.ubuntu.com. Another example of this is the way http://planet.debian.org/ and http://planet.debian.net/ both have the same content. So far this month I have had 337 referrals to my blog from planet.debian.org and 147 from planet.debian.net. So even though I can’t find any official reason for preferring one over another the fact that more than 2/3 of the referrals from that planet come from the planet.debian.org address indicates that most people regard it as the canonical one.
In times past there was no problem with such things, it was quite routine to have web servers with multiple names and no-one cared about this (until of course one name went away and a portion of the user-base had broken links). Now there are three main problems with having two names visible:
RewriteRule . http://planet.example.com/%1 [R=301,L] In my posts last night I omitted the URLs for the Planet Searches from the email version (by not making them human readable). Here they are:
- Confusion for users. When a post on thedebianuser.org referred to my post about Planet Ubuntu it used a different URL to the one I had used. I was briefly worried that I had missed half (or more) of the content by getting my links from the wrong blog - but it turned out that the same content was on both addresses.
- More confusing web stats for the people who run sites that are referenced (primarily the bloggers in the case of a Planet installation). This also means a lower ranking as the counts are split. In my Webalizer logs planet.debian.org is in position #5 and planet.debian.net is in position #14. If they were combined they would get position #3. One thing to keep in mind is that the number of hits that you get has some impact on the content. If someone sees repeated large amounts of traffic coming from planet.debian.org then they are likely to write more content that appeals to those users.
- Problems with sites that have strange security policies. Some bloggers configure their servers to only serve images if the referrer field in the HTTP protocol has an acceptable value (to prevent bandwidth theft by unethical people who link to their pictures). My approach to this problem is reactive (I rename the picture to break the links when it happens) because I have not had it happen often enough to do anything else. But I can understand why some people want to do more. If we assume that an increasing number of bloggers do this, it would be good to not make things difficult for them by having the smallest possible number of referrer URLs. It would suck for the readers to find that planet.debian.org has the pictures but planet.debian.net doesn’t.
RewriteRule . http://planet.example.com/%1 [R=301,L] In my posts last night I omitted the URLs for the Planet Searches from the email version (by not making them human readable). Here they are:
- Search Planet Linux Australia: http://google.com/coop/cse?cx=008627835083532581857%3A7j_t83ytzca
- Search Planet Debian: http://google.com/coop/cse?cx=008627835083532581857%3Ak8pyp2qk8lm
- Search Planet Ubuntu: http://google.com/coop/cse?cx=008627835083532581857%3Acexvbhdg9k8
Due to the fact that
Tuomo can console himself with his award while I console myself with
If anyone was wondering why I've been quiet / claiming to be busy for the last week or so:
So, I have just installed
Every now and then I encounter a web page which I'd like to archive for later
purposes, e.g. because I can see that it might be related to my research, or
simply because I want to keep the information until eternity.
I know of three ways to achieve this, but each of them has drawbacks:
Thanks to gnupod I can now upload audio tracks to my current ipod. Code is in CVS, and you just need to follow the instructions to make it work. (ie. update the ID in mktunes.pl.
I can write it up if there is any interest...
Horray! NVIDIA just released 100.14.19 that is Xorg 7.3 compatible and with a rather big changelog. That should make a couple of Debian users happy. I'll work on packages ASAP. Hopefully legacy versions will be updated soon as well
Every time I see a
In “
I just received the autumn 2007 edition of
the Co-operative Group's membership magazine.
It came with a cover letter that finally
prompted me to answer
There is one remaining task left before this is ready to be released: undo
support in the edit dialog entries. Once this is done, the next release
of Tasks will be announced. I also plan to work with Iain on cleaning up
this code and submitting it for inclusion into GTK+.
NP: Money Jungle, Duke Ellington, Charles Mingus, Max
Roach
if you like to monitor the number of RC bugs, you are probably annoyed by the graph on
Also, if you like graphs, Yves-Alexis Perez (aka Corsac) generates cool graphs about Debian:
Working with subversion I’ve had a bit trouble making project wide search and replaces.
Today was the day that Sarah was supposed to have an amniocentesis to
determine if it was viable to deliver Joshua via caesarian section. Most
probably he would have been born today. I should have become a father today.
Instead, last night we stayed at a
Although slow, development on svn-buildpackage still continues. Sorry for the delays, but both myself and Eduard Bloch have been unable to assign more time to svn-buildpackage development in the last few months.