Skip to main content

Clearing cached DNS on server?

Comments

10 comments

  • 24x7ss
    Hello:) It seems to be an issue with MX Settings for the sender domain. Did you check if the MX for sender domain is set to remote ? if yes, make sure it is not added in /etc/localdomains but in /etc/remotedomains.
    0
  • cPanelMichael
    Hello :) Yes, it seems likely the domain name the user is sending to exists on the local machine in the /etc/localdomains file. You should use the "Edit DNS Zone" feature in WHM to change the "Email Routing" setting to "Remote Mail Exchanger" if that's the case. Thank you.
    0
  • whipworks
    ]Hello:) It seems to be an issue with MX Settings for the sender domain. Did you check if the MX for sender domain is set to remote ? if yes, make sure it is not added in /etc/localdomains but in /etc/remotedomains.

    The MX entry is set to Local Mail Exchange.
    0
  • whipworks
    ]Hello :) Yes, it seems likely the domain name the user is sending to exists on the local machine in the /etc/localdomains file. You should use the "Edit DNS Zone" feature in WHM to change the "Email Routing" setting to "Remote Mail Exchanger" if that's the case. Thank you.

    Would this break the incoming mails?
    0
  • cPanelMichael
    I apologize for any confusion. I'm suggesting the sending server that's receiving the "no such user here" message has added your domain name as an account on their server, and thus it's looking for the local email account. Do you control both servers? Thank you.
    0
  • whipworks
    No. We only control the sending server. So this problem is on the receiving server? How do they fix it? For some reason they are blaming us for it. I'm trying to think if the migration process have anything to do with it. The receiving account was once on our server and they moved it out.
    0
  • cPanelMichael
    ]The receiving account was once on our server and they moved it out.

    Check to see if the domain name handled on the receiving server is in your /etc/localdomains file. If so, remove it, and remove any DNS zone associated with it from your system. Thank you.
    0
  • whipworks
    I've actually suspended the account and removed any DNS record entries. Have no access to /etc/localdomains via SSH. Can't understand why I don't have permission when I'm logging in as root, or I'm probably doing it wrong. I'm pretty new at this.
    0
  • cPanelMichael
    ]I've actually suspended the account and removed any DNS record entries. Have no access to /etc/localdomains via SSH. Can't understand why I don't have permission when I'm logging in as root, or I'm probably doing it wrong. I'm pretty new at this.

    You can edit it with a command such as:
    vi /etc/localdomains
    Ensure you are logged in with root access. Thank you.
    0
  • whipworks
    ]You can edit it with a command such as:
    vi /etc/localdomains
    Ensure you are logged in with root access. Thank you.

    How do you save changes after editing? I've pressed ESC and it just hung. EDIT: I got it. Thanks again! :)
    0

Please sign in to leave a comment.