The set up for MX rewcord
is as follows for freedns.afraid.org
:
For A record:
Type: A
Subdomain:(myname)
Domain: crabdance.com
Destination: (public ip to my computer)
Now for the above A record, the MX record will look like:
Type: MX
Subdomain:(myname)
Domain: crabdance.com
Destination: 10:(myname).crabdance.com
Now any mail for say 'someone@(myname).crabdance.comwill be redirect to the server at
(myname).crabdance.com`
Do watch at freedns.afraid.org
site, when you click on Subdomain
on left side, two records as follows:
(myname).crabdance.com A public IP address
(myname).crabdance.com MX 10:(myname).crabdance.com
If you using LINUX, one can install inadyn
in order to update the dynamic IP address at regular intervals, like:
sudo apt-get install inadyn
Once done, open inadyn.conf
file like:
sudo vim /etc/inadyn.conf
and place these lines:
system default@freedns.afraid.org
username yourusername
password yourpassword
update_period 60000
forced_update_period 320000
background
dyndns_system default@freedns.afraid.org
syslog
alias (myname).crabdance.com
Now you can run inadyn
like:
sudo inadyn
to update the IP address. That is it π
Here is the screenshot of freedns.afraid.org
Follow
answered Jan 23, 2016 at 4:16
16622 silver badges66 bronze badges
1
Great answer! This worked for me. They really should have explained it better on their site.
β sudo
@sudo: Thankyou and KEEP SMILING π
β nIcE cOw
1
I've not used this dynamic DNS service, but basically, they're telling you that the mail
subdomain (probably even if you added a suffix like mail.yourlogin
) is not permitted as they probably think you're trying to set a MX record for their own domain (crabdance.com
).
In order to set the MX record, you should choose Type: MX
where you have Type: A
in your example. You indeed should fill in the subdomain with myname but without the mail keyword, and that should work.
In any case, if you still had problems, bear in mind that as per the RFC 5321 documentation regarding to DNS records, if there's not a MX record
, the A
record will be used by default and will be used as it were the MX
server.