#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Dns configuration for postfix


    Hi,

    I'm trying to configure my DNS to use mail with postfix and I want to know if I got it right with the dns part.
    Here's the informations I have:

    Domain : test.com

    Mail domains : mail1.test.com
    mail2.test.com

    SMTP server : smtp.test.com

    POP server : pop.test.com

    WEB server : web.test.com

    URL : www.test.com


    Code:
    $TTL 60
    @       IN      SOA     ns1.test.com.     root.test.com. (
                            2012250601        ; serial number
                            8H                ; refresh
                            2H                ; retry
                            4W                ; expire
                            1D )              ; minimum
    
                          NS       ns1.test.com.
    mail1.test.com.    IN  MX       10  smtp.test.com.  
    mail2.test.com.    IN  MX       10  smtp.test.com.
    
    ns1.test.com.         A        100.100.100.50
    web.test.com.         A        100.100.100.50
    www.test.com.         CNAME    web.test.com.
    pop.test.com          A        100.100.100.50

    Am I good to go for the postfix configuration?

    Thanks
  2. #2
  3. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    You need an A record for mail1, mail2, and smtp
    "I don't need to get a life. I'm a gamer. I have lots of lives!"

IMN logo majestic logo threadwatch logo seochat tools logo