How to make “WHOIS” work with new TLD’s e.g. *.xyz, *.online

So I have been building a lot of servers and generally I like to segment them to different domains but whois by default only will work with *.com, *.info, *.net you know the usual TLD’s you think of. But now there are so many new ones I like to scoop up I still want to test my server settings with whois. Well have no fear on my Xubuntu 14.04LTS I use everyday simply create the file “whois.conf” in the /etc/ folder. So use your favorite text editor and paste this file in to get any new TLD resolved.
Open Nano (or whatever text editor you prefer)
sudo nano /etc/whois.conf

Once inside your text editor paste this list (list is very long so I added a read more section you will need to open to see the entire list)

# WHOIS servers for new TLDs (
# Current as of 2015-09-12

\.xn--11b4c3d$ whois.nic.xn--11b4c3d
\.xn--3pxu8k$ whois.nic.xn--3pxu8k
\.xn--42c2d9a$ whois.nic.xn--42c2d9a
\.xn--45q11c$ whois.nic.xn--45q11c
\.xn--80adxhks$ whois.nic.xn--80adxhks
\.xn--9dbq2a$ whois.nic.xn--9dbq2a
\.xn--c2br7g$ whois.nic.xn--c2br7g
\.xn--d1acj3b$ whois.nic.xn--d1acj3b
\.xn--efvy88h$ whois.nic.xn--efvy88h
\.xn--fhbei$ whois.nic.xn--fhbei
\.xn--hxt814e$ whois.nic.xn--hxt814e
\.xn--j1aef$ whois.nic.xn--j1aef
\.xn--kcrx77d1x4a$ whois.nic.xn--kcrx77d1x4a
\.xn--mk1bu44c$ whois.nic.xn--mk1bu44c
\.xn--mxtq1m$ whois.nic.xn--mxtq1m
\.xn--ngbc5azd$ whois.nic.xn--ngbc5azd
\.xn--p1acf$ whois.nic.xn--p1acf
\.xn--pssy2u$ whois.nic.xn--pssy2u
\.xn--rhqv96g$ whois.nic.xn--rhqv96g
\.xn--t60b56a$ whois.nic.xn--t60b56a
\.xn--tckwe$ whois.nic.xn--tckwe

Author: Alon Ganon

CTO of Being Libertarian LLC. IT Consultant at AccuNet. Dental IT and Linux Specialist. Free, Libre, and Open Source Software advocate. Crypto-Anarchist. My philosophy is, "You are not dead, until you stop learning."

11 thoughts on “How to make “WHOIS” work with new TLD’s e.g. *.xyz, *.online”

  1. Howdy! I know this is kinda off topic but I was wondering
    which blog platform are you using for this website?
    I’m getting sick and tired of WordPress because I’ve had issues with hackers and I’m looking at options for another platform.

    I would be awesome if you could point me in the direction of
    a good platform.

    1. I am using WordPress myself, it’s a nice platform you just have to actually spend some time properly securing it like any platform. All applications are vulnerable to hacking don’t kid yourself. I have done quite a bit to harden this own wordpress, using Fail2Ban, IPtables, IPsets, Cloudflare plus a few extra plugins. I also only allow SSH keys to login to my server for administration.
      However another Content Management System I have heard good things about is Drupal ( but again like everything running on a publicly connected server you have to secure and lock down the setup to keep people out as much as possible

    1. My host is Digital Ocean, and I use VPS’ to host most of my things. All built on GNU/Linux so I have complete control of the server which is why it loads so fast, as I do work on this server myself. It also has cloudflare in front of it caching pages, and providing DDoS protection. I built this site to also be a learning project for myself, and I am also quite impressed with it, just still needs to work on the theme a bit.
      My referral code is on the right hand column of my blog but this is a direct copy and paste which gives a $10 credit to you and me. Good enough for a basic WordPress VPS for a month.
      The majority of the scripts I use are also shared on GitHub and here for the masses to see as well here

  2. My developer is trying to persuade me to move to .net
    from PHP. I have always disliked the idea because of the expenses.

    But he’s tryiong none the less. I’ve been using WordPress on various websites for about a year and am nervous about switching to another platform.
    I have heard great things about Is there a way I can import all my
    wordpress posts into it? Any help would be greatly appreciated!

    1. I honestly am not a fan of a lot of the .net stuff, I purposely built and operate this WordPress because it runs the Free, Libre, and Open Source Software I like. I haven’t really had any issues with it.

    2. I have developed software that you can use for free that is a very good solution for you. It will reduce your costs, and increase revenue for you as well.
      1) Continue to use the free edition of wordpress.
      2) Create an account for my software at Tough Domains and select News Page template
      3) Point your DNS for your domain to our name servers
      4) Get a google adsense account (which you probably already have since you have your own blog) and plug your id in my software.
      5) Map your rss feed from your wordpress account to our software.

      Thats it. Now you can enjoy free wordpress with your own domain for free and earn ad revenue on the side.

  3. Hі, I do believe this is an excellent blog. I stumbledupon it 😉 I’m gߋing to
    come ƅack once again since ӏ bookmarқed it.
    Money and freedom is tһe greatest way to change,
    may уou be rich and ϲontinue to guide other people.

  4. Hi Thanks for the info. Very useful. I have created the file whois.conf and trying to use the cmd whois function on my local machine using windows 10. Where do i place the whois.conf for it to work?

    Is it System32/drivers/etc ?

    Please advise. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *