• Secure. • Compliant. • Trust at the Core. • Built for Saudi Arabia. by K® (Kenzie) SAUDI GULF HOSTiNG an Enterprise of Company Kanz AlKhaleej AlArabi, All rights Reserved.
Enterprise Knowledgebase

DNS Management: A/CNAME/MX/TXT Records Explained

enterprise intelligenceintermediate

English Knowledge

Enterprise guidance

EN · LTR

What DNS Actually Does

DNS, or the Domain Name System, translates human readable domain names into the technical information computers need to find your website, deliver your email, and connect to other services tied to your domain. Each type of record within your domain's DNS settings serves a specific, distinct purpose.

If you have not yet read Managing DNS Zones in cPanel/Plesk, it covers where to actually find and edit these records within your control panel. This article focuses on what each record type means.

A Records

An A record points your domain, or a specific subdomain, directly to a numerical IP address, most commonly determining where your website itself is hosted. When someone types your domain into their browser, the A record tells their computer exactly which server to connect to.

CNAME Records

A CNAME record points one domain or subdomain to another domain name, rather than directly to an IP address. This is commonly used for subdomains that should follow wherever the main domain points, without needing to update the subdomain separately if the underlying IP address ever changes.

MX Records

MX records, short for Mail Exchange, determine which mail servers are responsible for receiving email sent to your domain. A domain can have multiple MX records with different priority values, allowing mail delivery to fall back to a secondary server if the primary one is unavailable. Getting MX records correct is essential for reliable email delivery, and an incorrect MX record is one of the most common causes of email not arriving at all.

TXT Records

TXT records store text based information within your domain's DNS settings, commonly used for domain ownership verification with third party services, and for email authentication standards that help prevent your domain from being used in spam or phishing attempts. See Understanding SPF, DKIM and DMARC (Email Authentication) if you are setting up email authentication specifically.

Other Record Types You May Encounter

Beyond these four common types, you may occasionally encounter other record types such as NS records, which specify which nameservers are authoritative for your domain, or SRV records, used by some specific services to locate particular resources. These are less commonly edited directly by most domain owners compared to A, CNAME, MX, and TXT records.

Making Changes Safely

Before editing any DNS record, particularly MX or A records for a domain actively receiving email or website traffic, note the current values in case you need to revert. Changes to these records do not apply instantly across the entire internet. See Domain Name System (DNS) Propagation Explained to understand this delay before making time sensitive changes.

Getting Help

If you are setting up a new service that requires specific DNS records and are unsure how to configure them correctly, our support team can review the required records with you before you make changes to a live, active domain.

AR · RTL

المعرفة باللغة العربية السعودية

إدارة DNS: شرح سجلات A/CNAME/MX/TXT

ما الذي يفعله DNS فعليًا

يقوم DNS، أو نظام أسماء النطاقات، بترجمة أسماء النطاقات المقروءة للبشر إلى المعلومات التقنية التي تحتاجها أجهزة الكمبيوتر للعثور على موقعك الإلكتروني، وتسليم بريدك الإلكتروني، والاتصال بخدمات أخرى مرتبطة بنطاقك. يخدم كل نوع من السجلات ضمن إعدادات DNS لنطاقك غرضًا محددًا ومتميزًا.

إذا لم تكن قد قرأت بعد إدارة مناطق DNS في cPanel/Plesk، فهو يوضح أين يمكنك فعليًا العثور على هذه السجلات وتحريرها داخل لوحة التحكم الخاصة بك. تركز هذه المقالة على معنى كل نوع من أنواع السجلات.

سجلات A

يشير سجل A بنطاقك، أو بنطاق فرعي محدد، مباشرةً إلى عنوان IP رقمي، وغالبًا ما يحدد مكان استضافة موقعك الإلكتروني نفسه. عندما يكتب شخص ما نطاقك في متصفحه، يخبر سجل A جهاز الكمبيوتر الخاص به بالخادم الذي يجب الاتصال به تحديدًا.

سجلات CNAME

يشير سجل CNAME بنطاق أو نطاق فرعي إلى اسم نطاق آخر، بدلًا من الإشارة مباشرةً إلى عنوان IP. يُستخدم هذا عادةً للنطاقات الفرعية التي ينبغي أن تتبع الوجهة التي يشير إليها النطاق الرئيسي، دون الحاجة إلى تحديث النطاق الفرعي بشكل منفصل إذا تغيّر عنوان IP الأساسي في أي وقت.

سجلات MX

تحدد سجلات MX، وهي اختصار لـ Mail Exchange، خوادم البريد المسؤولة عن استقبال البريد الإلكتروني المرسل إلى نطاقك. يمكن أن يحتوي النطاق على سجلات MX متعددة بقيم أولوية مختلفة، مما يسمح لتسليم البريد بالرجوع إلى خادم ثانوي إذا كان الخادم الأساسي غير متاح. يُعد ضبط سجلات MX بشكل صحيح أمرًا ضروريًا لتسليم البريد الإلكتروني بشكل موثوق، ويُعد سجل MX غير الصحيح أحد أكثر الأسباب شيوعًا لعدم وصول البريد الإلكتروني إطلاقًا.

سجلات TXT

تخزن سجلات TXT معلومات نصية ضمن إعدادات DNS لنطاقك، وتُستخدم عادةً للتحقق من ملكية النطاق مع خدمات الجهات الخارجية، ولمعايير مصادقة البريد الإلكتروني التي تساعد على منع استخدام نطاقك في محاولات الرسائل المزعجة أو التصيد الاحتيالي. راجع فهم SPF وDKIM وDMARC (مصادقة البريد الإلكتروني) إذا كنت تقوم بإعداد مصادقة البريد الإلكتروني تحديدًا.

أنواع سجلات أخرى قد تصادفها

إلى جانب هذه الأنواع الأربعة الشائعة، قد تصادف أحيانًا أنواع سجلات أخرى مثل سجلات NS، التي تحدد خوادم الأسماء المخولة لنطاقك، أو سجلات SRV، التي تستخدمها بعض الخدمات المحددة لتحديد موقع موارد معينة. هذه السجلات أقل شيوعًا في تحريرها مباشرةً من قِبل معظم مالكي النطاقات مقارنةً بسجلات A وCNAME وMX وTXT.

إجراء التغييرات بأمان

قبل تحرير أي سجل DNS، ولا سيما سجلات MX أو A لنطاق يستقبل حاليًا بريدًا إلكترونيًا أو زيارات للموقع، دوّن القيم الحالية تحسبًا للحاجة إلى الرجوع إليها. لا تُطبَّق التغييرات على هذه السجلات فورًا عبر الإنترنت بأكمله. راجع شرح انتشار نظام أسماء النطاقات (DNS) لفهم هذا التأخير قبل إجراء تغييرات حساسة للوقت.

الحصول على المساعدة

إذا كنت تقوم بإعداد خدمة جديدة تتطلب سجلات DNS محددة ولست متأكدًا من كيفية تهيئتها بشكل صحيح، فيمكن لفريق الدعم لدينا مراجعة السجلات المطلوبة معك قبل أن تجري تغييرات على نطاق مباشر ونشط.

Enterprise Knowledge Centre

Frequently asked questions

Clear, accountable guidance for organizations evaluating infrastructure, security, compliance and digital transformation with K® (Kenzie) of SAUDI GULF HOSTiNG.

Clear. Accessible. Accountable.

10 results

What does DNS do for an enterprise domain?

DNS translates a human-readable domain name into the technical information computers need to find your website, deliver email, and connect other services tied to the domain. Different DNS record types serve distinct purposes, such as pointing web traffic to a server, routing mail, or storing verification text.

وش يسوي DNS لنطاق الشركة؟

DNS يترجم اسم النطاق المقروء للبشر إلى معلومات تقنية تحتاجها الأجهزة عشان توصل لموقعك، وتسلّم البريد الإلكتروني، وتتصل بالخدمات المرتبطة بالنطاق. كل نوع من سجلات DNS له غرض مختلف، مثل توجيه زيارات الموقع إلى خادم، أو توجيه البريد، أو تخزين نصوص التحقق.

When should we use an A record instead of a CNAME record?

Use an A record when a domain or subdomain must point directly to a numerical IP address, commonly for where the website is hosted. Use a CNAME when a domain or subdomain should point to another domain name and follow its destination instead of being updated separately if the underlying IP changes.

متى نستخدم سجل A بدل سجل CNAME؟

استخدم سجل A إذا كان النطاق أو النطاق الفرعي لازم يشير مباشرة إلى عنوان IP رقمي، وهذا غالبًا يحدد مكان استضافة الموقع. واستخدم CNAME إذا كان النطاق أو النطاق الفرعي يحتاج يشير إلى اسم نطاق آخر ويتبع وجهته بدل ما يتم تحديثه بشكل منفصل إذا تغيّر عنوان IP الأساسي.

What should we confirm before changing DNS records in cPanel or Plesk?

Before changing records, confirm where the DNS zone is managed in your control panel and record the current values, especially for active A or MX records. The related article on managing DNS zones in cPanel/Plesk explains where to find and edit the records; this article explains what each record type means.

وش لازم نتأكد منه قبل تعديل سجلات DNS في cPanel أو Plesk؟

قبل تعديل السجلات، تأكد من مكان إدارة منطقة DNS داخل لوحة التحكم وسجّل القيم الحالية، خصوصًا سجلات A أو MX المستخدمة حاليًا. المقال المرتبط عن إدارة مناطق DNS في cPanel/Plesk يوضح وين تلقى السجلات وتعدلها؛ وهذا المقال يشرح معنى كل نوع سجل.

What is the business risk of an incorrect MX record?

MX records define which mail servers receive email for your domain. If an MX record is incorrect, email may fail to arrive at all, making MX accuracy essential for reliable email delivery. Multiple MX records can also use priority values so delivery can fall back to another mail server if the primary server is unavailable.

وش الخطر على الأعمال إذا كان سجل MX غير صحيح؟

سجلات MX تحدد خوادم البريد المسؤولة عن استقبال البريد المرسل إلى نطاقك. إذا كان سجل MX غير صحيح، ممكن ما يوصل البريد نهائيًا، لذلك دقته ضرورية لاعتمادية تسليم البريد. ويمكن استخدام أكثر من سجل MX بقيم أولوية مختلفة عشان ينتقل التسليم إلى خادم بديل إذا كان الخادم الأساسي غير متاح.

How should we implement TXT records for verification or email authentication?

TXT records store text-based information in your DNS settings. They are commonly used to verify domain ownership with third-party services and to support email authentication standards that help prevent your domain from being used in spam or phishing attempts. If the goal is email authentication, review the separate SPF, DKIM, and DMARC guidance before configuring those TXT records.

كيف نطبق سجلات TXT للتحقق أو مصادقة البريد؟

سجلات TXT تخزن معلومات نصية ضمن إعدادات DNS. تُستخدم غالبًا للتحقق من ملكية النطاق مع خدمات خارجية، ولدعم معايير مصادقة البريد التي تساعد في منع استخدام نطاقك في الرسائل المزعجة أو محاولات التصيد. إذا كان الهدف مصادقة البريد، راجع إرشادات SPF وDKIM وDMARC المنفصلة قبل إعداد سجلات TXT الخاصة بها.

How can we validate that a DNS change is safe before applying it to a live domain?

For a live domain receiving website traffic or email, note the existing DNS values before making changes so you can revert if needed. Be especially careful with A records that affect website hosting and MX records that affect mail delivery. Also account for DNS propagation, because changes do not apply instantly across the entire internet.

كيف نتحقق إن تعديل DNS آمن قبل تطبيقه على نطاق يعمل؟

للنطاقات العاملة التي تستقبل زيارات موقع أو بريد إلكتروني، سجّل قيم DNS الحالية قبل أي تعديل عشان تقدر ترجع لها إذا احتجت. انتبه خصوصًا لسجلات A التي تؤثر على استضافة الموقع، وسجلات MX التي تؤثر على تسليم البريد. وخذ في الحسبان انتشار DNS، لأن التغييرات ما تطبق فورًا في كل الإنترنت.

What should we check if email to our domain is not arriving?

Check the domain’s MX records first, because incorrect MX records are one of the most common causes of email not arriving at all. Confirm the responsible mail servers and their priority values are set as required by your mail service, and remember that recent DNS changes may take time to propagate.

وش نراجع إذا البريد المرسل إلى نطاقنا ما يوصل؟

راجع أولًا سجلات MX للنطاق، لأن السجلات غير الصحيحة من أكثر الأسباب شيوعًا لعدم وصول البريد نهائيًا. تأكد أن خوادم البريد المسؤولة وقيم الأولوية مضبوطة حسب متطلبات خدمة البريد، وتذكر أن تغييرات DNS الأخيرة قد تحتاج وقت عشان تنتشر.

When should we escalate DNS setup to support?

Escalate to support when a new service requires specific DNS records and you are unsure how to configure them correctly, particularly on a live, active domain. The support team can review the required records with you before you make changes.

متى نرفع موضوع إعداد DNS للدعم؟

ارفع الموضوع للدعم إذا كانت خدمة جديدة تطلب سجلات DNS محددة وما أنت متأكد من طريقة إعدادها بشكل صحيح، خصوصًا على نطاق مباشر وفعّال. يقدر فريق الدعم يراجع معك السجلات المطلوبة قبل ما تطبق التغييرات.

Are DNS record concepts different for Saudi-based domains or services?

The core DNS concepts in this article apply the same way to domains used in Saudi Arabia or elsewhere: A records point to IP addresses, CNAME records point to domain names, MX records route email, and TXT records store text for verification or email authentication. The article does not define country-specific DNS rules, so follow the requirements of the service asking you to add the record.

هل تختلف مفاهيم سجلات DNS للنطاقات أو الخدمات المستخدمة في السعودية؟

المفاهيم الأساسية في هذا المقال تنطبق بنفس الطريقة على النطاقات المستخدمة في السعودية أو غيرها: سجلات A تشير إلى عناوين IP، وسجلات CNAME تشير إلى أسماء نطاقات، وسجلات MX توجه البريد، وسجلات TXT تخزن نصوصًا للتحقق أو مصادقة البريد. المقال لا يحدد قواعد DNS خاصة بدولة معينة، لذلك اتبع متطلبات الخدمة التي تطلب إضافة السجل.

What is the next action if a vendor gives us DNS records to add?

Identify each requested record type and its purpose: A for an IP address, CNAME for another domain name, MX for receiving email, or TXT for text-based verification or email authentication. Before editing, save the current values, consider propagation delay, and ask support to review the records if you are unsure or the domain is live.

وش الخطوة التالية إذا أعطانا مزود خدمة سجلات DNS نضيفها؟

حدد نوع كل سجل مطلوب وغرضه: A لعنوان IP، وCNAME لاسم نطاق آخر، وMX لاستقبال البريد، وTXT للتحقق النصي أو مصادقة البريد. قبل التعديل، احفظ القيم الحالية، وخذ تأخير انتشار DNS في الحسبان، واطلب من الدعم مراجعة السجلات إذا كنت غير متأكد أو كان النطاق يعمل حاليًا.

Share enterprise knowledge

Share this article with your team

Help colleagues and clients discover this governed enterprise resource.

X
K® favicon

K® (Kenzie) of SAUDI GULF HOSTiNG Knowledge Base

Enterprise documentation for hosting, cloud, security, infrastructure, domains, email and operational support.

Enterprise Infrastructure

Secure hosting, cloud and managed infrastructure for Saudi Arabia, GCC and global scale.

Saudi Sovereign

Global Cloud

24/7 Support

Enterprise Security

Enterprise Consultation

Ready to build secure, sovereign-ready digital infrastructure?

Speak with K® (Kenzie) of SAUDI GULF HOSTiNG about enterprise hosting, cloud platforms, VPS, email, cybersecurity and managed infrastructure designed for Saudi Arabia, GCC and global operations.

HostingCloudVPSEmailSecurityManaged Services
KGulf Logo