Questions tagged [tld]

TLD is an abbreviation for top-level domain.

The top-level domains (TLDs) are managed by registrars under agreement from ICANN (www.icann.org). There are several different types of TLDs:

  • gTLD - Generic top-level domains (.com, .net, .org ...)- Anybody can register these domains
  • ccTLD - Country code top-level domains (.uk, .us, .ly, .cc) - These domains normally have restrictions on their use, for example, only companies that operate in these countries may register them (.uk does not have this restriction, but .ie, Ireland, does)
  • sTLD - Sponsored top-level domains (.coop, .museum, .jobs) - These domains are for certain uses only. There are strict rules which must be met in order to register one of these domains.

See also http://icannwiki.com/GTLD for more details, including history and instructions for the proposal and registration process.

272 questions
2
votes
1 answer

How can Google.com have itself as Authoritative Name Server in its DNS?

There must be something wrong with my understanding of DNS and since I might not be the only one I would like to ask this here for clarification. If I make a whois on google.com I realize that its name servers are: Name Server: NS1.GOOGLE.COM Name…
FlorianB
  • 2,188
  • 18
  • 30
2
votes
1 answer

How to get domain name for any site?

I am getting output "com" instead of "google.com" I have tried changing sites name but every site is showing "com" from tld import get_tld def get_domain_name(url): domain_name= get_tld(url) return…
2
votes
1 answer

Mozilla's publicsuffix -- does it contains _all_ currently available LTD's?

There's a Mozilla's project "https://publicsuffix.org/". I think it'll come in handy for my library where I want to validate URIs, particularly the ltd part. Does publicsuffix contain all possible ltd's in the word which are currently available in…
Kona
  • 59
  • 3
2
votes
1 answer

Python domains extraction from text - new TLDs recognition issues

With emergence of new TLDs (.club, .jobs, etc...) what is the current best practice for extracting/parsing domains from text? My typical approach is regex however given that things like file names with extensions will trigger false positives, I will…
Zed
  • 21
  • 1
2
votes
0 answers

Implementation of Google oAuth with local top level domain

We want to use google oauth for an internal application, something like http://corpwiki.internal. Obviously using that as the redirect URI doesn't work. One workaround would be to use something like wiki.mycooperation.com as redirect URI and…
Michael Große
  • 1,818
  • 1
  • 16
  • 20
2
votes
1 answer

How can I check if a URL has a valid public TLD?

So I'm going to get a URL from a form and I want to make sure that only ones that have a valid public tld in them are accepted (so that http://google.com is accepted, but not http://google.notatld). How would I do this?
MorbidEntree
  • 129
  • 7
2
votes
1 answer

How to use `dns-sd` to discover all domains with specific TLD?

I'm trying to discover all domains with the TLD .ffhh. This is the TLD of the Freifunk Meshnetwork in Hamburg. I tried the following command in Mac Terminal: dns-sd -B _http._tcp ffhh. I get this output, but nothing happens after that: Browsing for…
jan reimers
  • 356
  • 3
  • 10
2
votes
0 answers

How to allow users to use a custom top level domain as their profile URL?

I have a site where users have profile URL's like www.site.com/username123. I want to provide a feature so they can use a TLD like www.username123.com to point to their profile. Tumblr does exactly what I want (screenshot below): I want to…
Ramon K.
  • 3,402
  • 3
  • 20
  • 29
2
votes
1 answer

How can a domain exist without a TLD extension

I came across this by accident, and am quite confused how it is working, can anyone explain why or how: http://nike/ points to a webpage when there is not a TLD extension?
Zack
  • 1,615
  • 18
  • 26
2
votes
1 answer

Sharing customTags.tld between projects

I have created two projects 'webutils' and 'website' In website I have created custom tag library and customTags.tld file for tag reference. In my jsp's i am using this <%@ taglib uri="/WEB-INF/tags/customTags.tld" prefix="tt"%> It works fine.…
LNT
  • 876
  • 8
  • 18
2
votes
2 answers

"Unable to read TLD from JAR file" when run spring boot app on heroku

I wrote an springboot app running at Heroku. When I run locally with maven spring-boot:run everthing is ok. But when I deploy the app to Heroku, the page show error: There was an unexpected error (type=Internal Server Error,…
2
votes
2 answers

How to add .corp TLD as redirect uri for google oauth

Seems like it is not currently possible to add redirect uris having the TLD corp for a Client Id in Google's Developer Console. While it is working to add a redirect uri like: http://my.berlin, uris like http://my.corp are going to fail. Is there a…
user2665115
  • 181
  • 4
2
votes
2 answers

How to check if a domain exists programmatically?

Let's say I have Java or C or C++ or foo language on a computer with a connection to the world wide web and I want to programmatically check if a domain foo.com, or bar.net has been registered, how could I do it without relying on an outside…
Cody Smith
  • 2,732
  • 3
  • 31
  • 43
2
votes
1 answer

Get domain name from url without tld

I need to know how to get the domain name from a url without the tld. This is what I have that works for .com, .info, etc but not for .co.uk // get host name from URL preg_match('@^(?:http://)?([^/]+)@i', "http://example.co.uk", $matches); $host =…
LionHeart
  • 65
  • 5
2
votes
3 answers

jboss as7 tld not found

I am working on porting a legacy web app to JBOSS AS7. The code works fine in Tomcat 6 or JBOSS 5. The app uses struts-1.2.9 and we also have some custom taglib defined which are giving me problems. I have a mainScripts.jsp file that defines a…
Peter Tarlos
  • 731
  • 10
  • 13