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:

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?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

ToxaconConnect With a Mentor Commented:
DNS is based on zones. A zone contains information about a domain such as administrative contact, mail exchanger (MX), hosts (A) and aliases (CNAME). Someone always owns a zone or domain. The .com domain is owned somewhere in the US and you own the The DNS is a distributed system and to prevent provider such as DynDNS dying under DNS queries and prevent internet congestion, the zone data is copied accross the world to secondary DNS servers of local ISPs. For example, your domain data should be redownloaded to local cahe every 10800 seconds which is three hours. The zone expires in 604800 seconds which is seven days. Expiration means that zone information older than 7 days must not be used. So, technically, it is possible to receive email to the old MX seven days from the change but usually the ISPs copy it (the copy process is called zone transfer) more frequently.

According to the DNS information, emails to your domain will be primarily sent to The is configured to relay the email to your server Where the is pointing has no effect on email and it does not technically matter if there is no IP for that at all. However, in practice it does: you can type word 'example' the URL box of your Internet Explorer and it will possibly try to add suffix .com to the address. If your points to your website, the browser can access your website. Otherwise the person needs to type
You have to set the MX record to to receive email.
jhstonAuthor Commented:
but i thought dyndns says it should point to their server which is / ?
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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.
jhstonAuthor Commented:
Name Servers:
 i did nslookup/whois, and the above name servers were listed. how do you check the mx records of the domain?
jhstonAuthor Commented:
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.
jhstonAuthor Commented:
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
jhstonAuthor Commented:
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?
jhstonAuthor Commented:
thank u, will observe for the next few days everything seems ok now
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.