Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

DNS Issues

Options
  • 31-03-2017 6:18pm
    #1
    Registered Users Posts: 1,987 ✭✭✭


    Having issues setting up some DNS entries, below is what I have to date.
    example.com A 192.168.0.1
    web01.example.com A 192.168.0.2

    www.example.com CNAME web01.example.com
    mail.example.com CNAME example.com

    example.com MX example.com

    If I tracert www.example.com is comes up as 192.168.0.2 which is correct but when I tracert example.com it comes up as 192.168.0.1.

    I need to keep the MX record as is.

    All HTTP and HTTPS traffic should got to 192.168.0.2 but at present only www.example.com is, anyone any suggestions?


Comments

  • Registered Users Posts: 2,415 ✭✭✭Singer


    It sounds like you need to set the A record for example.com to 192.168.0.2 (currently 192.168.0.1)


  • Registered Users Posts: 1,987 ✭✭✭Ziycon


    Singer wrote: »
    It sounds like you need to set the A record for example.com to 192.168.0.2 (currently 192.168.0.1)

    That would then break the MX record, which I want to keep as is.


  • Registered Users Posts: 2,415 ✭✭✭Singer


    Ziycon wrote: »
    That would then break the MX record, which I want to keep as is.

    Create something like mail.example.com and point the MX at that.


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    The MX record can be *anything* - it doesn't have to even include the domain name for which it's being used.

    So you can safely create:
    thing.domain.tld as an A record
    then set it as MX record for the domain you're having issues with


  • Registered Users Posts: 1,987 ✭✭✭Ziycon


    Got it sorted, thanks for the help folks.


  • Advertisement
Advertisement