1. Understanding Nameservers and DNS
Nameservers (NS) are part of the Domain Name System (DNS) that direct your domain to the correct hosting server. When you enter a website URL, nameservers translate it into an IP address, allowing browsers to load the site.
For example, if your hosting provider gives you the following nameservers:
ns1.yourhost.comns2.yourhost.com
You need to update these in your PKNIC account for your domain to function correctly.

2. Requirements Before Updating Nameservers
Before proceeding, ensure you have:
✅ A registered .PK domain with PKNIC.
✅ Active web hosting with nameserver details.
✅ Access to your PKNIC account.
3. How to Set Up Nameservers in PKNIC
Step 1: Log in to Your PKNIC Account
- Visit https://pknic.net.pk.
- Click on "Login" and enter your credentials.
Step 2: Locate Your Domain
- Navigate to "Manage Domains."
- Select the domain you want to update.
Step 3: Update Nameservers
- Click on the "Modify DNS" option.
- Enter the new nameservers provided by your hosting provider.
- Example:
ns1.hostingcompany.comns2.hostingcompany.com
- Example:
- Click Submit to save changes.
Step 4: Wait for DNS Propagation
DNS changes take 24-48 hours to fully propagate across the internet. During this time, your website may not be accessible immediately.

4. How to Check If Nameservers Are Updated
After updating, verify your DNS settings:
✅ Using WHOIS Lookup:
- Visit https://pknic.net.pk and check your domain’s details.
✅ Using DNS Checker Tools:
- Websites like https://www.whatsmydns.net allow you to check nameserver updates globally.
✅ Using Command Prompt (Windows/Mac):
- Open CMD or Terminal and type:
bash
nslookup yourdomain.pk - If the output shows your new hosting’s IP, the update is complete.

5. Troubleshooting Nameserver Issues
Issue 1: Website Not Loading After Updating DNS
✅ Solution: Wait 24-48 hours for propagation. Clear browser cache or flush local DNS using:
ipconfig /flushdns (Windows)
sudo dscacheutil -flushcache (Mac)
Issue 2: Incorrect Nameservers Listed in WHOIS
✅ Solution: Re-enter and save your nameservers again in PKNIC.
Issue 3: Hosting Provider Not Recognizing Domain
✅ Solution: Ensure the domain is added in your hosting panel (cPanel, DirectAdmin,
etc.).
6. Alternative DNS Configuration (A Records, CNAME, MX)
If you want to point your domain to a custom IP instead of nameservers, you can use DNS records.
A Record (Point to IP Address)
- In PKNIC, go to DNS Management.
- Set an A Record to your server’s IP (e.g.,
192.168.1.1).
CNAME Record (Alias to Another Domain)
- Add a CNAME record for
www.yourdomain.pkpointing toyourdomain.pk.
MX Record (Email Hosting Setup)
- Add MX records for email hosting (e.g., Gmail, Zoho Mail).

7. Common FAQs
Q: How long does it take for nameservers to update?
A: Typically 24-48 hours for full DNS propagation.
Q: Can I change nameservers anytime?
A: Yes, but expect downtime until the update completes.
Q: What if I enter the wrong nameservers?
A: Your domain won’t resolve properly. Re-enter correct nameservers in PKNIC.
8. Final Thoughts
Setting up PKNIC nameservers is a crucial step in connecting your .PK domain to web hosting. By following this guide, you can ensure a smooth setup and avoid common DNS issues.
If you have any questions, drop them in the comments! 🚀

You must be logged in to post a comment.