Link to home
Start Free TrialLog in
Avatar of jhston
jhstonFlag for Singapore

asked on

Question about hosting email on our own server with dyndns custom dns service

Hi i have a domain which registrar/webpage hosting/email hosting service were kept with a company. however, i now wish to host my own emails, but let the company continue hosting our company's webpage. please help as i am new to this.

what i did:
1) subscribe custom dns and sendlabs service with dyndns
2) get the company to point the name server of my domain to dyndns
3) on the dyndns website, point the mx records to dyndns as well.
4) download and installl dyndns updater client on my server
5) on the dyndns website, point to the webhosting company but point and to my server

please see below picture:

User generated image
problems i faced:
mails does not come in, but went to the webhosting company's server instead. are there any other settings beside pointing the nameservers to dyndns?
Avatar of Toxacon
Flag of Finland image

You have to set the MX record to to receive email.
Avatar of jhston


but i thought dyndns says it should point to their server which is / ?
Are you sure that the authorative answer for MX records points to DynDNS? You can easily check that with nslookup.

It means that you must let DynDNS to handle all DNS for your domain and usually the web hosting company does that ==> you must assign DynDNS as your authorative DNS for your domain.
Avatar of jhston


Name Servers:
 i did nslookup/whois, and the above name servers were listed. how do you check the mx records of the domain?
Avatar of jhston


i check another time using

the following were listed:

name class type data time to live IN MX preference: 20
 3600s (1h) IN MX preference: 10
 3600s (1h)  IN SOA server:
serial: 2011021065
refresh: 10800
retry: 1800
expire: 604800
minimum ttl: 1800
 3600s (1h) IN A 60s (1m)  (this is my server's ip) IN NS 3600s (1h) IN NS 3600s (1h) IN NS 3600s (1h) IN NS 3600s (1h) IN NS 3600s (1h)
Everything seems to be ok. How long ago you did the change? Sometimes it takes up to 72 hours to propagate the change accross the Globe as local ISPs have only cached copy (secondaries) of the zone.
Avatar of jhston


yes mail comes in now, but it also goes to the webhosting company's server once in a while, i'm login on to the webmail client of the webhosting company's server to make sure mails there get read and forwarded back to us.

by the way, i point everything including to my server which i prefer to be hosted by the webhosting company, how do i do this?
i have the ip address of the webhosting company's server.
i mean there are some option on dyndns such as cname/webhop direct/host with ip address/offline hostname... which one do i select?
- will pointing to the webhosting company's server affect the mails again?
- i know that i need to point to my server, what about itself, do i point it to my server or the webhosting company's server.

i'm sorry for the the many questions asked, but i am an idiot at this.
You create an A record (host record) for host www at your domain

When a web browser looks for host, the DynDNS server has to reply with the IP of the webhosting company.

If your email occasionally goes to webhosting company's email then there is obsolete DNS information still available somewhere in the World.
Making to point to webhosting IP does not affect email. Configuring IP address depends much about the webhosting company's ability to redirect connection attempts to the host www. Usually they are able to do that automatically. It means that if you type to your browser the actual response comes from
Avatar of jhston


hi can you further explain what does this mean "If your email occasionally goes to webhosting company's email then there is obsolete DNS information still available somewhere in the World"

another question: do you mean that for mails to come into my server, i only need to point to my server. whether point to my server or not, it does not matter? is this correct?
Avatar of Toxacon
Flag of Finland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jhston


thank u, will observe for the next few days everything seems ok now