DNS zones for mail exchange, subdomain, smtp and pop3

Discussion in 'Installation/Configuration' started by nabuk, Nov 1, 2006.

  1. nabuk

    nabuk New Member

    Hi all,
    I've just installed isp config on a fedora core 6 mac mini server. all works without problem, but i've some issue with dns and mail services.
    Under dns setting i've specificated the name of my name server and enabled default mx creation.
    When i add a domain, like: host: www domain: test.com, i enable both create dns and dns-mx, but in the zone file, i can read only:

    www MX 10 ns.test.com

    but by selecting default mx creation i should have:

    MX 10 ns.test.com
    www MC 10 ns.2bite.net

    mail A server_ip

    Is this a bug or a configuration problem of my server ? After istalling isp config I've changed the ip, but i've changed all the configuration file found.

    Also,
    i need to have some domain with [email protected] email and dome other subdomain with [email protected] email, how can i do ?



    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please go to the Co-Domains tab and select test.com (without www), and then enable Default MX for test.com, too. Please remember: www.test.com != test.com. Up to now, you created an MX record for www.test.com, not for trst.com, and that's what you have in your zone file, so everything is ok.

    If subdom.domain.com should point to the domain.com web site, then you can add subdom.domain.com as a Co-Domain to the domain.com web site, and you will automatically have email addresses such as [email protected] and [email protected].

    If subdom.domain.com and domain.com are different web sites, simply create a new web site for subdom.domain.com in ISPConfig and then create email accounts for it.
     
  3. nabuk

    nabuk New Member

    Just done, it will create

    MX 10 mail.test.com

    but not

    mail A ip_address



    Ok thanks
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please post your zone file here.
     
  5. nabuk

    nabuk New Member

    Code:
    $TTL        86400
    @       IN      SOA     ns3.xxx.com. admin.test.com. (
                            2006110503       ; serial, todays date + todays serial #
                            28800              ; refresh, seconds
                            7200              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    ;
                    NS      ns3.xxx.com.              ; Inet Address of name server 1
                    NS      ns4.xxx.com.              ; Inet Address of name server 2
    ;
    
    www  MX      10 ns3.xxx.com.
      MX      10 ns3.xxx.com.
    
    test.com.      A        192.168.1.1
    www       A       192.168.1.1
    
    ;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Did you enable Default MX under Management -> Server -> Settings -> DNS?
     

Share This Page