DNS Forwarding and email

Posted on 2007-10-08
Last Modified: 2012-06-22
Let's say I have the domain - and that domain is being forwarded to Currently there are (besides localhost) 4 hostname/aliases set up @,* and www all point at the IP of the .com site. The mail however, doesn't point at the .com IP but a eurodns address.

What I want is when someone surfs to they are redirected to the .com site. However, when sending mail to the email is forwarded to another address (not necessarily @  the address).

Through my EuroDNS account, I've enabled mail forwarding and entered in an address to forward mail to, but when I try to send my to it gets returned with relay errors.

I have no idea what I'm doing. Help me Obi-Wan.
Question by:fugged
    LVL 12

    Accepted Solution

    For mail delivery, you need to set up MX records. These specify your preferred mail delivery locations. You will have records something like:                   IN      MX      10                   IN      MX      20                   IN      MX      30

    This shows how mail is directed to another domain within DNS.

    However, the mail being directed there will still be addressed to

    So, you need to configure the mailservers above to accept email for that domain, and then to deliver it appropriately using aliases or virtual domains etc.

    If you do not directly control the mailhosts, this is more problematical, as it is unlikely you will be able to configure the mailhosts appropriately.

    In this situation, what is often done is that the domain registrar offers a mail redirection service, where the mail goes in to their mailhost, and it is redirected to appropriate addresses as configured.

    This configuration is not done in the DNS, but normally through the domain registrar's control panel. There, you will set up where you want the email to be redirected to.



    Author Comment

    My apologies...

    There were a number of issues preventing the mail forwarding from working properly. I'm not sure that I can recall all of the issue and I've left that job for another.

    Thanks for your help Joel.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
    Let’s list some of the technologies that enable smooth teleworking. 
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now