LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-07-2008, 03:58 PM   #1
dhrumantgoradia
Member
 
Registered: Nov 2004
Distribution: CentOS & Ubuntu
Posts: 30

Rep: Reputation: 15
Thumbs up 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
 
Old 12-08-2008, 12:58 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
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.
 
Old 12-08-2008, 02:50 PM   #3
dhrumantgoradia
Member
 
Registered: Nov 2004
Distribution: CentOS & Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
  


Reply

Tags
bind9, dns, networking, server, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND 9 not logging to custom logs skibler1223 Linux - Server 9 05-23-2009 02:30 PM
Advanced settings for using Yahoo! messenger in Pidgin nishanth2 Linux - Software 0 08-10-2008 08:20 AM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 07:06 PM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 10:33 PM
Advanced power management settings....where? BarkingBonefish Linux - Software 5 02-15-2004 12:07 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration