LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-17-2016, 01:14 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Rep: Reputation: Disabled
How to write the mx record?


I want to add mx record on my domain name provider's management web page.


The hgoods.site is my domain name, 23.83.253.71 is my vps_ip.



An error occur when to click SUBMIT.

There were problem(s) with your request:

23.83.253.71 must be a valid host

Please make applicable changes and try again.
Attached Thumbnails
Click image for larger version

Name:	mail.png
Views:	15
Size:	7.8 KB
ID:	23541  
 
Old 11-17-2016, 02:39 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You should ask your dns provider, what would be the hostname and target hostname.

If I had to guess, I think that you should leave the hostname field blank (so it reads .hgoods.site) and use mail.hgoods.site as the target hostname.
But as I told you this is just a guess, so better contact your registrar's support. Besides you're paying them for this.

Regards
 
Old 11-17-2016, 04:15 AM   #3
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
Typically you need to point an MX record at an A record.

Set up an A record for mail.hgoods.site pointing at th IPv4 address required

What do you want your email domain (the bit after the @) to be?

If you want it to be @hgoods.site then you will need to either:
  1. Leave the field empty
  2. Or, place a @ symbol in the field

It depends on your DNS hosting provider.

Also that TTL value seems a bit large. I would start with a small TTL until you are happy with the results, then increase the TTL later.

TTL value is in minutes and influences how quickly you can propagate a DNS change across the Internet a TTL of 240 would mean a DNS server would not re-request information for 4 hours.

Last edited by Disillusionist; 11-17-2016 at 04:22 AM. Reason: Further info on TTL
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Force syslogd and/or rsyslogd to use IPv4 to remote when there's an A record and a AAAA record foodown Linux - Server 1 05-05-2016 08:50 AM
[SOLVED] i need help to write SPF record idnotcrae Linux - Server 8 11-10-2012 04:38 AM
how to write a program to record audio in linux using c stephenwalter Programming 3 07-09-2012 07:20 PM
Comparing two csv files and write different record in third CSV file irfanb146 Linux - Newbie 3 06-30-2008 09:15 PM
Unable to record mic-in with SoundBlaster Live! while able to record other sources max76230 Linux - Newbie 2 03-14-2005 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration