Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-15-2008, 08:51 PM
Member
 
Posts: 11
Default [SOLVED] Help: Ubuntu Split DNS Config

I have tried and tried to get this working. The closest I get is incoming mail gets queued up on the server and never goes to the mailboxes.

This is currently what I get from nslookup...

root@ubuntu-srv:/var/cache/bind# nslookup ubuntu-srv.appconnex.com
Server: 192.168.1.50
Address: 192.168.1.50#53

*** Can't find ubuntu-srv.appconnex.com: No answer


Here's my named.conf.local file...

// We are the master server for ubuntu-srv.appconnex.com
zone "ubuntu-srv.appconnex.com" {
type master;
file "db.ubuntu-srv.appconnex.com";
};
//

Here's my db.ubuntu-srv.appconnex.com file...

;
; Addresses and other host information.
;
@ IN SOA ubuntu-srv.appconnex.com. hostmaster.ubuntu-srv.appconnex.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.1.50 ; local ip
ubuntu-srv IN A 192.168.1.50 ; local ip
IN MX 10 ubuntu-srv.appconnex.com. ;MXrecord


Here's my resolv.conf file...

nameserver 192.168.1.50

Please help...what am I doing wrong here?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-15-2008, 08:54 PM
Member
 
Posts: 11
Default

By the way...the domain I am trying to get email to in Zimbra is appconnex.com. External DNS appears to be working sense incoming mail comes to the queue.
Reply With Quote
  #3 (permalink)  
Old 10-16-2008, 12:10 AM
Moderator
 
Posts: 7,928
Default

Quote:
// We are the master server for ubuntu-srv.appconnex.com
zone "ubuntu-srv.appconnex.com" {
type master;
file "db.ubuntu-srv.appconnex.com";
};
//
You have defined your zone incorrectly as it should be
Code:
zone "appconnex.com" {
type master;
file "db.appconnex.com";
};
Your server ubuntu-srv resides within that domain so you do not describe your zone as the server name
__________________
Reply With Quote
  #4 (permalink)  
Old 10-16-2008, 06:53 AM
Member
 
Posts: 11
Default

ok...lookup now works on the domain, but what about the host?

root@ubuntu-srv:/home/mike# nslookup
> appconnex.com
Server: 192.168.1.50
Address: 192.168.1.50#53

Name: appconnex.com
Address: 192.168.1.50
> ubuntu-srv
Server: 192.168.1.50
Address: 192.168.1.50#53

** server can't find ubuntu-srv: NXDOMAIN
> ^[[A
Server: 192.168.1.50
Address: 192.168.1.50#53
: NXDOMAIN
> server can't find
> ubuntu-srv.appconnex.com
Server: 192.168.1.50
Address: 192.168.1.50#53

** server can't find ubuntu-srv.appconnex.com: NXDOMAIN
Reply With Quote
  #5 (permalink)  
Old 10-16-2008, 06:56 AM
Moderator
 
Posts: 7,928
Default

Please post your zonefile and the section from named.conf.
__________________
Reply With Quote
  #6 (permalink)  
Old 10-16-2008, 07:06 AM
Member
 
Posts: 11
Default

/var/cache/bind/db.appconnex.com

;
; Addresses and other host information.
;
@ IN SOA ubuntu-srv.appconnex.com. hostmaster.ubuntu-srv.appconnex.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.1.50 ; local ip
IN A 192.168.1.50 ; local ip
IN MX 10 ubuntu-srv.appconnex.com. ;MXrecord

/etc/bind/named.conf.local

// We are the master server for appconnex.com
zone "appconnex.com" {
type master;
file "db.appconnex.com";
};
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
Reply With Quote
  #7 (permalink)  
Old 10-16-2008, 07:11 AM
Moderator
 
Posts: 7,928
Default

You need a 'A' record for your server so
Code:
ubuntu-srv IN A 192.168.1.50
and remember to update the serial number.
__________________
Reply With Quote
  #8 (permalink)  
Old 10-16-2008, 09:12 AM
Member
 
Posts: 11
Default

Like this?



;
; Addresses and other host information.
;
@ IN SOA ubuntu-srv.appconnex.com. hostmaster.ubuntu-srv.appconnex.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.1.50 ; local ip
ubuntu-srv IN A 192.168.1.50 ; local ip
IN MX 10 ubuntu-srv.appconnex.com. ;MXrecord
Reply With Quote
  #9 (permalink)  
Old 10-16-2008, 01:23 PM
Member
 
Posts: 11
Default

This issue us resolved.

Last edited by mconder; 10-17-2008 at 12:33 PM..
Reply With Quote
  #10 (permalink)  
Old 10-17-2008, 12:20 PM
Member
 
Posts: 11
Default

Actually, I am back to not solved...

root@mail:/home/mike# nslookup
> appconnex.com
Server: 192.168.1.50
Address: 192.168.1.50#53

*** Can't find appconnex.com: No answer
> mail.appconnex.com
Server: 192.168.1.50
Address: 192.168.1.50#53

Name: mail.appconnex.com
Address: 192.168.1.50
>

It's still not resolving my domain appconnex.com.

Here's is the current config:

/etc/bind/named.conf.local

zone "appconnex.com" {
type master;
file "appconnex.com.db";
};

/var/cache/bind/appconnex.com.db

@ IN SOA mail.appconnex.com. hostmaster.mail.appconnex.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
;
; Define the nameservers and the mail servers
IN NS 192.168.1.50
mail IN A 192.168.1.50
IN MX 10 mail.appconnex.com.

root@mail:/var/cache/bind# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.50 mail.appconnex.com mail

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

root@mail:/var/cache/bind# cat /etc/resolv.conf
nameserver 192.168.1.50

Last edited by mconder; 10-17-2008 at 12:33 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.