Records, nameservers and email routing
DNS Management for Your Domains
Every domain you register with PVTDNS comes with a DNS zone you control. Point the name at a website, send mail to the right mailboxes, prove ownership to outside services and publish the records that stop other people sending email in your name. This guide explains each record type in plain words, how long changes take to spread and how to keep a zone tidy enough that anyone on your team can understand it.
- Registered in your own name
- Free SSL on hosting
- English & Urdu support
A zone at a glance
What a small business DNS zone usually contains
Most company domains need fewer than a dozen records. The example below shows a typical zone for a business with a website on shared hosting and mailboxes on the same plan. Your own values will differ, but the pattern is almost always the same: address records for the website, mail records for email and a handful of text records for authentication and verification.
Example DNS zone
| Type | Host | Points to | What it does |
|---|---|---|---|
| A | @ | 203.0.113.10 | Sends the bare domain to the web server |
| AAAA | @ | 2001:db8::10 | The same server over IPv6, if it has one |
| CNAME | www | yourcompany.pk | Makes www an alias of the main name |
| MX | @ | mail.yourcompany.pk (10) | Tells other servers where to deliver mail |
| TXT | @ | v=spf1 a mx ~all | SPF: servers allowed to send your mail |
| TXT | default._domainkey | v=DKIM1; k=rsa; p=... | DKIM public key for signed messages |
| TXT | _dmarc | v=DMARC1; p=quarantine | DMARC policy for failed messages |
| SRV | _autodiscover._tcp | 0 0 443 mail.yourcompany.pk | Helps mail apps find settings |
The values shown are documentation examples, not addresses to copy. When you add hosting, the correct values for your plan are created for you; when you use services elsewhere, take the values from their setup instructions. If you are unsure which records your domain needs, the support team will look at the services you use and tell you exactly what belongs in the zone.
A and AAAA
How A and AAAA records connect your name to a server
An A record is the most basic entry in any zone. It links a hostname, such as the bare domain or a subdomain like shop or portal, to an IPv4 address, which is the numeric address of the server that answers web requests. When a visitor types your name into a browser, their device asks a resolver for the A record, receives the address and connects to it. If the A record points at the wrong server, the visitor sees someone else's page, an error or nothing at all.
An AAAA record does the same job for IPv6 addresses, which are longer and written with colons. Many networks in Pakistan still reach websites mainly over IPv4, but mobile operators and newer broadband connections increasingly prefer IPv6 when it is available. Only publish an AAAA record if the server genuinely listens on that IPv6 address; a wrong AAAA record is worse than none, because some visitors will try it first and wait for a timeout.
The symbol @ in the host column means the domain itself, so an A record on @ answers for yourcompany.pk. A record on a name such as app answers only for app.yourcompany.pk. Each subdomain can point at a different server, which is how one domain can host a website on shared hosting, a customer portal on a VPS and a test site somewhere else without any of them interfering with the others.
CNAME
When to use a CNAME alias and when to avoid one
A CNAME record says that one name is simply another name in disguise. The most common example is www, which is made an alias of the bare domain so that both addresses always reach the same place. If the server address ever changes, you update the single A record on the main name and the www alias follows automatically, without anyone needing to remember a second entry.
Outside services often ask for a CNAME as well. A helpdesk, a newsletter tool or a store builder may tell you to point help or shop at a hostname they control. This is convenient, because the provider can move their own servers without asking you to edit your zone. It also means you are trusting that provider with that subdomain, so remove the CNAME when you stop using the service.
There are two rules to remember. A CNAME cannot sit on the bare domain alongside other records such as MX and TXT, so use an A record there. And a name that has a CNAME cannot have any other record of its own; if you try to add an MX or TXT record to a hostname that is already an alias, resolvers will ignore one or the other and mail or verification will fail in confusing ways that are tiresome to trace.
MX and mail
How MX records route incoming email to the right mailboxes
MX records tell every other mail server on the internet where to deliver messages addressed to your domain. Each MX record has a hostname and a priority number. Lower numbers are tried first, so a record with priority 10 is used before one with priority 20. Most small businesses have a single MX record pointing at the mail server that comes with their hosting plan, and that is perfectly adequate for everyday office mail.
The hostname in an MX record must itself have an A record. It cannot be an IP address typed directly into the value, and it should not be a CNAME alias. When customers report that mail stopped arriving after a website move, the cause is usually that the website A record was changed and the mail hostname shared that same record, so mail followed the website to a server that does not accept it.
If you move email to another service while keeping the website here, replace the MX records with the ones that service gives you and delete the old ones completely. Leaving the old MX in place with a different priority means some messages may still be delivered to the old mailboxes, where nobody is reading them. Send a test message from an outside address after every change and check that it arrives in the right place.
TXT and SRV
TXT records for verification and SRV records for services
TXT records hold short pieces of text that other systems read. They are used for proving that you control a domain, for example when a search console, a payment gateway or a software platform asks you to publish a long code before they activate a feature. They also carry the three email authentication records, SPF, DKIM and DMARC, which are explained in their own section further down this page.
Several TXT records can live on the same hostname, and that is normal. The exception is SPF: there must be only one SPF record on a name. If two services each tell you to add their own SPF line, combine them into a single record with both includes rather than publishing two, because receivers treat two SPF records as an error and may fail every message you send.
SRV records are less common but useful. They advertise where a particular service runs, including the protocol, port and target host, so that software can discover settings automatically. Mail apps use them to find configuration details, and some calling, chat and directory systems depend on them. If a supplier gives you SRV values, enter the service, protocol, priority, weight, port and target exactly as written; a single swapped number is enough to break automatic setup.
Nameservers
Nameservers, delegation and who answers for your zone
NS records decide which DNS servers are authoritative for your domain, meaning which servers hold the true copy of the zone. They are set in two places: at the registry, where the domain is delegated, and inside the zone itself. When both agree, resolvers know exactly where to ask. When they disagree, some resolvers use one set and some the other, and your visitors can see different answers depending on their network.
Using our nameservers means you manage records in the client area alongside your domain, renewal dates and hosting. Some customers prefer another DNS hosting provider, for example because their developer already manages many zones there. That is fine, but remember that once the nameservers point elsewhere, records you edit in our panel stop having any effect, and every change must be made at the other provider instead.
Nameserver changes deserve more care than ordinary record edits. Before switching, export or copy every record from the current zone, rebuild it at the new location and compare them side by side. Only then update the nameservers at the registry. A whois lookup on the domain shows which nameservers the registry currently lists, which is a quick way to confirm the change has been accepted before you start waiting for caches to expire.
TTL
TTL values, caching and why changes are not always instant
Every record carries a TTL, or time to live, measured in seconds. It tells resolvers how long they may keep a copy of the answer before asking again. A TTL of 3600 means one hour, 14400 means four hours and 86400 means a whole day. Long TTLs reduce lookups and make a domain slightly more resilient, while short TTLs let changes reach visitors quickly. For most records, one to four hours is a sensible middle ground.
What people call propagation is really caching. Our nameservers answer with the new value straight away, but a resolver that looked up the old value ten minutes ago will keep serving it until its copy expires. This is why one person sees the new website while a colleague on another network still sees the old one. Nothing is broken; the second resolver is simply honouring the TTL it was given earlier.
When you plan a move, lower the TTL on the records you will change a day before, to something like 300 seconds. Once caches have picked up the short value, make the real change and most visitors switch within minutes. After everything is confirmed working, raise the TTL again. This small habit is the difference between a quiet migration and a day of customers asking why the site keeps changing.
Email authentication
SPF, DKIM and DMARC records explained for busy owners
Three text records decide whether receiving servers trust mail that claims to come from your domain. Choose a tab to see what each one does, how it is written and the mistakes we see most often when customers publish it themselves.
SPF lists the servers allowed to send your mail
A Sender Policy Framework record is a single TXT entry on the domain that names every server permitted to send email using your address. It starts with v=spf1, then lists sources such as a, mx, specific IP addresses or include statements for outside services, and ends with a rule for everything else. The ending ~all asks receivers to treat unlisted senders with suspicion, while -all asks them to reject such mail outright.
The commonest mistakes are publishing two SPF records, forgetting a service that sends invoices or newsletters on your behalf, and adding so many include statements that the record needs more than ten lookups, which makes receivers give up. Keep the list short, remove services you no longer use and test the record with an outside checker after each edit.
DKIM signs each message so changes can be detected
DomainKeys Identified Mail adds a digital signature to every outgoing message. The sending server holds a private key, and you publish the matching public key in a TXT record on a hostname such as default._domainkey. Receivers fetch that key, check the signature and know the message really came from an authorised server and was not altered in transit.
On our hosting plans the key is generated with the mail service, and the record can be added to your zone for you. If you send through an outside service as well, it will give you its own selector and key; both records can live side by side because each has a different hostname. Never edit the long key value by hand, as one missing character invalidates every signature.
DMARC tells receivers what to do when checks fail
A DMARC record sits on the _dmarc hostname and ties SPF and DKIM together. It tells receiving servers what to do with mail that fails both checks: p=none to only report, p=quarantine to send it to spam, or p=reject to refuse it. It can also include an address where receivers send summary reports, which show you who is sending mail in your name.
Start with p=none and a reporting address for a few weeks, read the reports to find any legitimate sender you forgot, fix SPF and DKIM for them, then move to quarantine and eventually reject. Jumping straight to reject without that review is the surest way to block your own invoices. Our business email page covers the wider picture of mailboxes and staff habits.
Testing your records before you rely on them
After publishing or changing any authentication record, send a message from your domain to an outside mailbox you control and open the full headers. Look for lines that report spf=pass, dkim=pass and dmarc=pass. If any shows fail or none, compare the published record with the instructions character by character, and check that you edited the zone that is actually live for the domain.
Repeat the test whenever you add a new sending service, change hosting or move mailboxes. Authentication problems rarely announce themselves; mail simply starts landing in spam folders, and customers stop replying without telling you why. Ten minutes of testing after each change saves weeks of quietly lost messages.
Mailboxes, sending limits and staff habits are covered on the business email page, and the wider account protections that stop anyone editing your records without permission are explained in our domain security guide.
Moving a website or mail service?
Plan the DNS change before you press save
Tell us which records you intend to change and when. Our team will check the current zone, suggest TTL values for the move and confirm that website and mail records are correct afterwards, in English or Urdu.
Zone hygiene
Four habits that keep a DNS zone safe and easy to read
A zone grows over the years as services are added and forgotten. These habits keep it short, accurate and understandable to whoever has to work on it next.
Review Twice A Year
Go through every record, confirm the service it belongs to still exists and delete anything left over from old suppliers or past campaigns.
Keep A Written Note
Record why each entry exists and who asked for it. A plain text list kept with your renewal dates saves hours during the next migration.
Limit Who Can Edit
Only people who understand DNS should hold the login that changes records. Give developers access for the job and remove it afterwards.
Copy Before Big Changes
Save the full zone before changing nameservers or moving hosting, so you can restore any record that goes missing during the work.
Dangling records are a quiet risk. A CNAME that still points at a closed account on an outside platform can sometimes be claimed by someone else, who then serves their own content on your subdomain. Deleting records for services you no longer use closes that door completely. If you manage domains for clients, the same review is worth doing for each client name before their renewal date, and it fits neatly alongside planning any domain transfers you have coming up.
Step by step
Making a safe DNS change from the client area
Whether you are pointing a new subdomain at a server or switching mail providers, the same calm routine prevents most mistakes.
Write Down The Goal
Note which hostname should change, what it should point to afterwards and which services could be affected, such as mail or verification.
Copy The Current Values
Save the existing record exactly as it is, including TTL and priority, so it can be put back in seconds if anything goes wrong.
Lower The TTL Early
For planned moves, reduce the TTL a day ahead so the new value reaches visitors quickly once you make the real change.
Edit And Double Check
Enter the new value, read it back character by character and confirm there is no conflicting record on the same hostname.
Test From Outside
Check the website from mobile data and send a test email from an outside mailbox before telling anyone the change is finished.
Where DNS fits
DNS hosting alongside your domains, websites and servers
DNS is the layer that ties everything else together. When you register a name on our domain registration page, the zone is created with it. When you add a plan from our range of secure shared hosting, the website, mail and authentication records are filled in automatically, so a new site usually works over HTTPS within minutes of the account being created. Customers who choose a KVM VPS or a dedicated server add A records for the server address themselves, or ask our team to do it while the machine is being set up.
Keeping domain registration and DNS hosting in one account has practical benefits. Renewal reminders and record changes are visible in the same place, a single support ticket can cover both the name and its zone, and there is no confusion about which provider holds the live records. Many owners of small sites who buy web hosting in Pakistan for the first time find this simpler than splitting the pieces between several suppliers, each with its own login and its own idea of how records should be entered.
Good DNS also supports security. A free certificate can only be issued when the domain points at the hosting server, so wrong A records delay HTTPS; our SSL certificates guide explains how that validation works. For Pakistani names, the registry delegation is handled through PKNIC, and the details on our .PK domains page explain how the two-year term and registrant records relate to the nameservers you choose. Whatever you run, the principle is the same: a short, accurate zone that someone else could understand at a glance.
DNS help
DNS management questions, answered plainly
Is DNS management really included with every domain?
Yes. Every domain registered through PVTDNS comes with DNS management at no extra charge, whether or not you also host a website with us. From the client area you can add, edit and delete records for the name, or switch the domain to nameservers run elsewhere. Nothing needs to be ordered separately, and the zone is available from the moment the registration is confirmed by the registry.
How long does a DNS change take to work?
A new record usually answers within minutes on our nameservers. What takes longer is the cached copy held by resolvers around the world, which is kept until the old TTL runs out. If the previous TTL was one hour, most visitors see the change within the hour. Nameserver changes are slower, because the parent registry has its own caching, and can take up to a day or two.
Can I keep my website with another provider and still use your DNS?
Certainly. Many customers keep an application on another server or use an outside mail service while managing records here. You simply add an A record for the website address that the other provider gives you, and MX and TXT records for the mail service they use. Keep their setup instructions next to you while you type, because a single wrong character in a value stops the record from working.
What happens to my email if I change nameservers?
When nameservers change, every record must exist at the new DNS host, not just the website record. If the MX and email TXT records are missing there, incoming mail starts bouncing as resolvers pick up the new nameservers. Before switching, copy the full zone, recreate it at the new location, compare the two line by line and only then change the nameservers at the registry.
Why does my site work on my phone but not on my office computer?
This almost always means two devices are using different resolvers, and one still holds an older cached answer. Mobile data and office broadband rarely share a resolver. Wait for the old TTL to pass, restart the browser, or clear the operating system DNS cache. If the problem continues well beyond the TTL, open a ticket with the hostname and we will check what our nameservers are answering.
Do I need SPF, DKIM and DMARC if I only send a few emails?
Yes, because receiving servers judge every message, not just bulk mailings. Without SPF and DKIM a single invoice or quotation from your domain can land in spam or be rejected. Without DMARC anyone can send mail pretending to be your address with little to stop them. The three records take a few minutes to publish and protect even the smallest office for years.
Can your team check my DNS zone for mistakes?
Yes. Open a ticket from the client area with the domain name and a short note about which services you use, such as the website, mailboxes and any outside tools that need verification. Our team will look over the zone, point out records that conflict, duplicate or point at services you no longer have, and explain each suggested change before anything is edited on your behalf.
Is it safe to delete old TXT records?
Usually, but check first. Verification TXT records are often needed only once and can be removed after the service confirms ownership, yet some services check again later and disable features if the record disappears. SPF, DKIM and DMARC records must stay. If you cannot tell what a TXT value belongs to, ask our team before deleting it, and keep a copy of the value so you can restore it.
PVTDNS
Take control of the records behind your domain
Register a domain to get a DNS zone you manage yourself, or log in to review the records you already have. Our team is ready to check any change with you first.


