Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-03-2012, 12:37 AM   #1
LQ Newbie
Registered: Feb 2012
Posts: 4

Rep: Reputation: Disabled
Smile BIND single cname to lookup through the forwarder

I have been setting up Zimbra in my local network. I setup BIND and setup a master zone eg I mapped the cnames to the ip of the servers as below. -> ->
MX ->

I use this as a secondary (for backup purpose). The real server is in cloud. that can be accessed with if I configured to use external DNS servers Eg google DNS. Problem is if I enter in local i dont get server in cloud. I got it why! I can set the public IP of the mail server to The server may change their IP address anytime. So the problem comes.

If there's anything can be done to get the IP of from a public DNS server?
Old 03-03-2012, 01:39 AM   #2
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217

can you post the "Zone config" for this secondary DNS server (, ...)
and also "" if you have that on the same server?


zone "" in {
           notify yes;
           type master;
           file "master/";
           allow-transfer {; };
           allow-query { any; };

ZONE file:
; Start of Authority (SOA) records.
@  IN  SOA (
                                      2002345678       ; Serial
                                      6H    ; Refresh
                                      2H     ; Retry
                                      7D    ; Expire
                                      1D )   ; TTL

; Name Server (NS) records.

; Mail Exchange (MX) records.            IN      MX   10

; Address (A) records.
localhost                       A                 A
ns                              A
www                             A                 IN TXT  "v=spf1 a mx ptr"
ftp                             CNAME
mail                            A
service                          CNAME
now I have this server as primary for this zone "" and all the other zones are not configured, so it has to be searched for (i.e. etc.).

I think you shouldn't have configured your primary DNS for on this server you have, so it will need to look up for it at the "root" servers (depends if you have configured it)

Last edited by lithos; 03-03-2012 at 01:42 AM.


bind, zimbra

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
resolve cname of a cname with a bind dns server mariogarcia Linux - Networking 3 05-09-2011 07:32 AM
cname save issues system-config-bind showe123 Linux - Server 6 03-16-2011 07:14 PM
bind and cname skoinga Linux - Server 6 12-10-2010 09:21 AM
BIND 9 CNAME propagation issue rahmad Linux - Server 5 08-15-2008 02:35 AM
Bind CNAME Problem CleonII Linux - Software 1 11-01-2005 09:27 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:08 AM.

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