LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   custom/advanced??? DNS settings (BIND) (http://www.linuxquestions.org/questions/linux-server-73/custom-advanced-dns-settings-bind-688971/)

dhrumantgoradia 12-07-2008 03:58 PM

custom/advanced??? DNS settings (BIND)
 
Hello all,

I'm having some problems properly configuring my DNS settings on my Zimbra Server.

I am running Zimbra collaboration suite on Ubuntu Server which is configured at 192.168.1.11 on DMZ. A BIND9 server is also running on the same machine (192.168.1.11). This machine serves as a mail server.

The following is how i have my DNS configured at mail.domain.com and i also have a shared hosting account at domain.com

Code:

/etc/bind/named.conf.options
options {
        directory "/var/cache/bind";

        query-source address * port 53;

        forwarders {
        66.75.160.63; 66.75.160.64;
        };
       
        auth-nxdomain no;
        listen-on-v6 { any; };
};

Code:

/etc/bind/db.domain.com
;
; BIND data file for domain.com
;
$TTL    604800
@      IN      SOA    mail.domain.com. admin.domain.com. (
                        080729          ; Serial
                        604800          ; Refresh
                        86400          ; Retry
                        2419200        ; Expire
                        604800 )        ; Negative Cache TTL
;
@      IN      NS      mail
        IN      MX      10 mail
        IN      A      192.168.1.11
mail    IN      A      192.168.1.11
portal  IN      A      192.168.1.15

can i change to the following without any effects on my mail server??

Code:

/etc/bind/db.domain.com
;
; BIND data file for domain.com
;
$TTL    604800
@      IN      SOA    mail.domain.com. admin.domain.com. (
                        080729          ; Serial
                        604800          ; Refresh
                        86400          ; Retry
                        2419200        ; Expire
                        604800 )        ; Negative Cache TTL
;
@      IN      NS      mail
        IN      MX      10 mail
        IN      A      xx.xx.xx.xx (ip address of website)
mail    IN      A      192.168.1.11
portal  IN      A      192.168.1.15

thanks all

niknah 12-08-2008 12:58 AM

It'll work as long as your dns server is ok, if the dns server is not ok, it'll attempt to look up the mail server again this time using the "A" record.
Sometimes mail programs uses the "A" record if things go bad or if there're no MX records for the domain.

dhrumantgoradia 12-08-2008 02:50 PM

thank you, i made the changes and it seems to be all in order and nslookup posts the correct ip address.

Thanks for the input


All times are GMT -5. The time now is 04:51 AM.