Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

DNS Issues

  • 31-03-2017 06:18PM
    #1
    Registered Users, Registered Users 2 Posts: 1,991 ✭✭✭


    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, Registered Users 2 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, Registered Users 2 Posts: 1,991 ✭✭✭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, Registered Users 2 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, Registered Users 2 Posts: 7,742 ✭✭✭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, Registered Users 2 Posts: 1,991 ✭✭✭Ziycon


    Got it sorted, thanks for the help folks.


  • Advertisement
Advertisement
Advertisement