A Complete Guide to Identifying Your Registrar, Listing DNSSEC Domains, and Modifying Your Hosts File

This article explains how to identify the registrar of a domain, how to list domains with DNSSEC enabled on a server, and how to modify the hosts file on macOS, Linux, and Windows systems. These procedures help administrators manage domain ownership, DNS security, and local DNS overrides for testing and development.

domain registrar, DNSSEChosts fileWHM, DNS management

~3 min read · Updated Feb 18, 2026

1. How to Identify Your Registrar


A domain registrar manages the reservation and administration of domain names. When you purchase a domain, the registrar allows you to:

  • Manage contact information on the registration entry
  • Use anonymous registration services (if offered)
  • Manage nameservers
  • Manage DNSSEC settings

1.1 Steps to Identify Your Registrar

  1. Open your web browser and go to the InterNIC website.
  2. Enter your domain name in the search field.
  3. Select Domain.
  4. Click Submit.

The results page will display your domain’s registration details. The Registrar URL line shows the registrar’s website.


1.2 Additional Information

  • If you forgot your login credentials, use the registrar’s recovery tools.
  • If the registrar indicates the domain was registered through a reseller, check your billing records.
  • Even if WHOIS privacy is enabled, the registrar name and URL will still appear.
  • Some hosting providers also offer domain registration services.



2. How to List Domains with DNSSEC


DNSSEC (DNS Security Extensions) adds cryptographic validation to DNS records, preventing spoofing and tampering.


2.1 List DNSSEC-enabled Domains

Log in to your server as the root user via SSH and run:

pdnsutil list-secure-zones

Example output:

Aug 24 12:28:29 [bindbackend] Done parsing domains, 0 rejected, 443 new, 0 removed
example.com
All secure zonecount:1

Note: example.com represents a domain on your server.




3. How to Modify Your Hosts File


Some hosting providers offer temporary URLs such as http://IP/~username for testing websites before DNS propagation. However, some applications do not work correctly with temporary URLs.


To force your workstation to resolve a domain to a specific IP address, you can modify your local /etc/hosts file.


Important: Your operating system will not automatically remove changes to the hosts file. To revert to public DNS, you must manually delete the entries you added.


3.1 Modify the Hosts File on macOS® and Linux®


  1. Open the /etc/hosts file with your preferred text editor.
  2. Add the server’s IP address and domain name at the bottom of the file:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.20 example.com
1.2.3.4 username.example.com

In this example, 1.2.3.4 is the server’s IP address and username.example.com is the domain.


Save the file and reload your browser.


3.2 Modify the Hosts File on Microsoft Windows®


  1. Open the Start menu.
  2. Search for Notepad.
  3. Right-click Notepad → Run as Administrator.
  4. Open the following file:
C:\Windows\System32\Drivers\etc\hosts

Add the server’s IP address and domain name:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.20 example.com
1.2.3.4 username.example.com

Save the file and reload your browser.




Conclusion


Identifying your domain registrar, listing DNSSEC-enabled domains, and modifying your hosts file are essential skills for managing domains, testing websites, and ensuring DNS security. These tools help administrators troubleshoot DNS issues, validate domain ownership, and control how their workstation resolves domain names.


Written & researched by Dr. Shahin Siami

Related Articles

How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

Continue

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue