{"id":115297,"date":"2014-12-08T14:04:29","date_gmt":"2014-12-08T12:04:29","guid":{"rendered":"http:\/\/mybroadband.co.za\/news\/?p=115297"},"modified":"2014-12-08T14:06:02","modified_gmt":"2014-12-08T12:06:02","slug":"dotcapetown-e-mail-addresses-causing-headaches","status":"publish","type":"post","link":"https:\/\/mybroadband.co.za\/news\/internet\/115297-dotcapetown-e-mail-addresses-causing-headaches.html","title":{"rendered":"dotCapeTown e-mail addresses causing headaches"},"content":{"rendered":"<p>Owners of new .capetown top-level domains may have some trouble using e-mail addresses from their new space on the Internet.<\/p>\n<p>This is because a number of online services still check to see that the top-level domain (TLD) portion of an e-mail address (such as .com, .net, or .za) is only a certain number of characters long.<\/p>\n<p>Even well-established, widely used open source Internet software checks for TLD lengths as short as 6 or 7 characters, despite an old Internet Engineering Task Force document, <a href=\"https:\/\/www.ietf.org\/rfc\/rfc1034.txt\" target=\"_blank\">Request for Comments: 1034<\/a> (published in 1987) specifying that TLDs could be up to 63 characters long.<\/p>\n<p>One example of a site in South Africa that only validates e-mail addresses which\u00a0are much shorter than specified in RFC 1034 is the First National Bank (FNB) online banking site.<\/p>\n<p>FNB checks that a TLD is no longer than 7 characters, according to the error message it spits out when you try to use a yourname@yourdomain.capetown e-mail address.<\/p>\n<div id=\"attachment_115299\" style=\"width: 393px\" class=\"wp-caption aligncenter\"><a  data-lightbox=\"post-image\" href=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2014\/12\/FNB-e-mail-validation-TLD-must-be-7-characters-or-less.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-115299\" class=\"size-full wp-image-115299\" src=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2014\/12\/FNB-e-mail-validation-TLD-must-be-7-characters-or-less.jpg\" alt=\"FNB e-mail validation - TLD must be 7 characters or less\" width=\"383\" height=\"139\" \/><\/a><p id=\"caption-attachment-115299\" class=\"wp-caption-text\">FNB e-mail validation &#8211; TLD must be 7 characters or less<\/p><\/div>\n<p>FNB was asked why it validates e-mail addresses in this way, but the bank did not respond by the time of publication.<\/p>\n<p>Below is another example: a regular expression currently in use by vBulletin to validate e-mail addresses.<\/p>\n<blockquote>\n<pre>^[a-z0-9.!\\#$%&amp;\\'*+\\-\/=?^_`{|}~]+@([0-9.]+|([^\\s\\'\"&lt;&gt;@,;]+\\.+[a-z]{2,6}))$<\/pre>\n<\/blockquote>\n<p>The final part of the regular expression states that the TLD must be comprised of between 2 and 6 lower-case (ISO basic Latin) alphabetic characters.<\/p>\n<h3 class=\"my-4\">Why 6 character TLDs?<\/h3>\n<p>But why limit the length of the TLD in an e-mail address to six characters when RFC 1034 allows for 63 characters?<\/p>\n<p>The answer to that may lie in the Internet Assigned Numbers Authority\u2019s database of top-level domains, where until at least the <a href=\"https:\/\/web.archive.org\/web\/20131105214752\/http:\/\/data.iana.org\/TLD\/tlds-alpha-by-domain.txt\" target=\"_blank\">end of 2013<\/a>\u00a0the longest Latin script domain was 6 characters long.<\/p>\n<p>At the start of 2014 a number of <a href=\"http:\/\/newgtlds.icann.org\/\" target=\"_blank\">new generic top-level domains (gTLDs)<\/a> came online, some of which were longer than the 6 character record previously held by .museum and .travel.<\/p>\n<p>South Africa\u2019s dotCities domains are examples of such gTLDs which\u00a0were approved by the Internet Corporation for Assigned Names and Numbers.<\/p>\n<p>dotJoburg, dotCapeTown, and dotDurban domains became available to the general public on a first-come, first-served basis on 4 November 2014.<\/p>\n<p><em>Thanks to Tim and morkhans for their assistance on this story.<\/em><\/p>\n<h3 id=\"related\">More on dotCities, dotAfrica, and other gTLDs<\/h3>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/internet\/113589-the-first-capetown-joburg-and-durban-domains-registered.html\"><strong>The first .capetown, .joburg, and .durban domains registered<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/internet\/110194-sa-domain-names-co-za-vs-web-za-net-za-org-za.html\"><strong>SA domain names: co.za vs web.za, net.za, org.za<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/internet\/102115-dotafrica-dispute-causes-more-delays.html\"><strong>dotAfrica dispute causes more delays<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/internet\/39475-xxx-domain-goes-live.html\"><strong>.xxx domain goes live<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/internet\/51313-icann-sets-reveal-date-for-new-top-level-domains.html\"><strong>ICANN sets reveal date for new top level domains<\/strong><\/a><\/p>\n<p><strong><a href=\"http:\/\/mybroadband.co.za\/news\/internet\/40567-icann-to-expand-top-level-domains-despite-critics.html\">ICANN to expand top level domains despite critics<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Proud owners of new .capetown domains are having some trouble using their e-mail addresses to register for online services<\/p>\n","protected":false},"author":15,"featured_media":85169,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[19478,22723,3688,20239,35,19484,27911,27909,27907],"class_list":["post-115297","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","tag-capetown","tag-dotcapetown","tag-e-mail","tag-generic-top-level-domain-gtld","tag-headline","tag-internet-corporation-for-assigned-names-and-numbers-icann","tag-internet-engineering-task-force-ietf","tag-rfc-1034","tag-top-level-domain-tld"],"_links":{"self":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/115297"}],"collection":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/comments?post=115297"}],"version-history":[{"count":1,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/115297\/revisions"}],"predecessor-version":[{"id":115323,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/115297\/revisions\/115323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media\/85169"}],"wp:attachment":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media?parent=115297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/categories?post=115297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/tags?post=115297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}