Results 1 to 2 of 2

Thread: How to put a o MX record in directadmin for domains without mail to prevent spam

  1. #1
    Join Date
    May 2014
    Netherlands Germany

    How to put a o MX record in directadmin for domains without mail to prevent spam


    Are not working / permited in mx record in directadmin.

    So what howto fill in that mx record if wanted a NULL 0 MX record.
    According to this standard.

    A "Null MX" No Service Resource Record for Domains That Accept No Mail


    Internet mail determines the address of a receiving server through
    the DNS, first by looking for an MX record and then by looking for an
    A/AAAA record as a fallback. Unfortunately, this means that the
    A/AAAA record is taken to be mail server address even when that
    address does not accept mail. The No Service MX RR, informally
    called "null MX", formalizes the existing mechanism by which a domain
    announces that it accepts no mail, without having to provide a mail
    server; this permits significant operational efficiencies.
    Also a dropdown for domains without mail at all could be handy if domains are not used for that purpose.

    Together with then setting this option in dns settings
    "v=spf1 -all"
    See here point 3
    # zone file fragment for
    # which will not accept any incoming email
    # Attempts to send mail to this domain will result in:
    # - a reply code 556
    # - enhance status code 5.1.10
    # NULL MX RR
    # the single dot (.) signifies a null name
    # and indicates definitively this domain cannot receive email
    # use of zero in pref field indicates the highest preference
    # This MUST be the only MX RR for this domain
    MX 0 .
    IF you put value:
    0 or NULL
    in it
    Then it does it job but isn't the way to go i think message sending mail to this domain gives then
    all relevant MX records point to non-existent hosts
    Last edited by ikkeben; 01-02-2019 at 03:56 PM.

  2. #2
    Join Date
    Apr 2005
    GMT +7.00

    If it's a feature request you might need to open a ticket with DA support here:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts