Last modified: 2014-10-21 20:09:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44893 - redirecting domain tartupeedia.ee to Wikipedia page
redirecting domain tartupeedia.ee to Wikipedia page
Status: REOPENED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Raul Kern
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-12 06:34 UTC by Raul Kern
Modified: 2014-10-21 20:09 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Raul Kern 2013-02-12 06:34:14 UTC
Wikimedia Estonia has registered domain tartupeedia.ee for QR-pedia in
Tartu project.

Is it possible to have this domain registered with Wikipedias IP address.

We would like to get http://tartupeedia.ee redirected to portal page
in Wikipedia http://et.wikipedia.org/wiki/Portaal:Tartupeedia
Comment 1 Andre Klapper 2013-02-12 11:03:17 UTC
[Not a blocker, see http://www.mediawiki.org/wiki/Bugzilla/Fields#Severity ]

Hi Raul,

if I understand it correctly and as tartupeedia.ee is under Wikimedia Estonia's control, Wikimedia Estonia could set up domain redirection / domain forwarding and make it point to http://et.wikipedia.org/wiki/Portaal:Tartupeedia .
Not sure where in this process you expect Wikimedia Foundation to be involved or do anything - could you please clarify?
Comment 2 jeremyb 2013-02-12 11:32:10 UTC
This is also OTRS 2013021110004778.

Discussed with ops yesterday and RobH will comment here sometime after San Fransisco wakes up.
Comment 3 Andre Klapper 2013-02-12 11:39:36 UTC
Ah, thanks for providing some background and correcting me!
Comment 4 Raul Kern 2013-02-13 10:40:57 UTC
Our registrant Eenet told that they can direct tartupeedia.ee domains A record to Wikipedias IP address. But after that the redirect to webpage http://et.wikipedia.org/wiki/Portaal:Tartupeedia needs to be set up in Wikipedia server.

Our registrants contact is hostmaster@eenet.ee and issue number eenet.ee #83322
Comment 5 Alex Monk 2013-02-13 19:25:52 UTC
I think all that needs to be done on the Wikimedia side is Gerrit change #48868...
Comment 6 Alex Monk 2013-02-13 19:26:22 UTC
Gerrit change #48868
Comment 7 Raul Kern 2013-02-14 11:38:31 UTC
http://tartupeedia.ee/ and http://www.tartupeedia.ee/ now point to Wikipedias IP.
Comment 8 jeremyb 2013-02-16 05:05:17 UTC
(In reply to comment #7)
> http://tartupeedia.ee/ and http://www.tartupeedia.ee/ now point to Wikipedias
> IP.

Both domains (with and without www.) are now A records for 91.198.174.225 aka wikipedia-lb.esams so all the world's traffic for this domain (probably not much) will go through a caching center with no provisions to failover to a primary DC in case there's a problem.
Comment 9 Daniel Zahn 2013-02-22 12:11:52 UTC
That is correct. It would be better if it was a CNAME for just wikipedia-lb.wikimedia.org. But all traffic that originates in Estonia would be sent to .esams. anyways, per GeoDNS setup:

# Estonia
233 wikipedia-lb.esams

dobson:/etc/powerdns/geomaps# cat wikipedia-lb.wikimedia.org

So it just means all traffic to tartupeedia.ee coming from somewhere outside of Europe will be served by the Amsterdam caching center instead of the (possibly closer) US centers. And as Jeremy pointed out, in case esams would be down there would be no failover.

http://wikitech.wikimedia.org/view/DNS#Geographic_DNS

example www.wikipedia.org

www.wikipedia.org is an alias for wikipedia-lb.wikimedia.org.
wikipedia-lb.wikimedia.org is an alias for wikipedia-lb.eqiad.wikimedia.org.

in the zone file it looks like this:

IN CNAME        wikipedia-lb.wikimedia.org.
Comment 10 Daniel Zahn 2013-02-22 13:22:20 UTC
https://gerrit.wikimedia.org/r/#/c/48868/5

sort alpha, rebased, add *.tartupeedia.ee not just tartupeedia.ee ServerAlias or it doesn't work with www.
Comment 11 Daniel Zahn 2013-02-22 15:43:18 UTC
making the root domain, without www, a CNAME would be a problem

<snip>
CNAME'ing a root record is technically not against RFC, but does have limitations meaning it is a practice that is not recommended.

...

Per RFC:

    If a CNAME RR is present at a node, no other data should be present;

And Per IETF 'Common DNS Operational and Configuration Errors' Document:

    This is often attempted by inexperienced administrators as an obvious way to allow your domain name to also be a host. However, DNS servers like BIND will see the CNAME and refuse to add any other resources for that name. Since no other records are allowed to coexist with a CNAME, the NS entries are ignored. Therefore all the hosts in the podunk.xx domain are ignored as well!

References:

    http://tools.ietf.org/html/rfc1912 section '2.4 CNAME Records'
    http://www.faqs.org/rfcs/rfc1034.html section '3.6.2. Aliases and canonical names'
</snip>

So probably the best you can do is leave the A record for tartupeedia.ee as it is, but make www.tartupeedia.ee a CNAME for wikipedia-lb.wikimedia.org.
Comment 13 Daniel Zahn 2013-02-22 16:26:06 UTC
merged and pushed to cluster:

https://gerrit.wikimedia.org/r/#/c/48868/

16:24 mutante: tartupeedia.ee now redirects to et.wp portal page (bug 44893)
16:12 mutante: gracefulling eqiad Apaches via dsh to push tartupeedia.ee redirect (bug 44893) 


http://tartupeedia.ee
* 301 Moved Permanently https://et.wikipedia.org/wiki/Portaal:Tartupeedia
http://www.tartupeedia.ee
* 301 Moved Permanently https://et.wikipedia.org/wiki/Portaal:Tartupeedia
https://tartupeedia.ee
* 301 Moved Permanently https://et.wikipedia.org/wiki/Portaal:Tartupeedia
https://www.tartupeedia.ee
* 301 Moved Permanently https://et.wikipedia.org/wiki/Portaal:Tartupeedia
Comment 14 Raul Kern 2013-12-22 06:58:15 UTC
Can you recheck this case? Currently the URLs http://tartupeedia.ee and http://www.tartupeedia.ee don't function.
Comment 15 Tomasz W. Kozlowski 2014-02-14 19:20:19 UTC
tartupeedia.ee answers with 91.198.174.225 which is an IP belonging to the 'Wikimedia Europe Network'.

I can confirm the redirect /does/ not work.
Comment 16 jeremyb 2014-02-14 19:32:32 UTC
Sounds like I6194f42f048c9d2a9ca0900171c ?

Please arrange for WMF to host the DNS for these domains or failing that you can get the current DNS host to update to use the text-lb.esams.wikimedia.org address (currently 91.198.174.192 )

(also, www.tartupeedia.ee can be a CNAME to text-lb.wikimedia.org. instead of an A record)
Comment 17 jeremyb 2014-02-14 19:39:28 UTC
(In reply to jeremyb from comment #16)
> Please arrange for WMF to host the DNS for these domains or failing that you
> can get the current DNS host to update...

Or both!
Comment 18 jeremyb 2014-02-14 19:48:23 UTC
(In reply to jeremyb from comment #16)
> Please arrange for WMF to host the DNS for these domains or failing that you
> can get the current DNS host to update...

or alternatively host the redirect itself somewhere else besides WMF.
Comment 19 jeremyb 2014-02-17 00:56:17 UTC
Raul?
Comment 20 jeremyb 2014-02-20 17:00:51 UTC
(In reply to jeremyb from comment #19)
> Raul?

If you fix this you should tell us you fixed it... I see it now resolves to 91.198.174.192 (good)

Now, moving forward would you like to either

1) move DNS hosting to WMF? or
2) move HTTP/redirect hosting away from WMF?

(or #3 is not care so much next time it breaks...)
Comment 21 Raul Kern 2014-02-20 17:55:41 UTC
Yesterday forwarded/copy-pasted your suggestion to domains hostmaster:

> Please arrange for Wikimedia Foundation to host the DNS for these
> domains or failing that you can get the current DNS host to update to
> use the text-lb.esams.wikimedia.org address (currently 91.198.174.192
> )

> (also, www.tartupeedia.ee can be a CNAME to text-lb.wikimedia.org.
> instead of an A record)



And they responded that they changed A records for tartupeedia.ee and www.tartupeedia.ee


Is there anything else they need to do for more permanent solution?
Comment 22 jeremyb 2014-02-23 20:59:57 UTC
(In reply to Raul Kern from comment #21)
> Is there anything else they need to do for more permanent solution?

Yes, the options are listed in comment 20.
Comment 23 jeremyb 2014-10-21 20:09:41 UTC
Raul, why did you close the bug?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links