View Single Post
  #1 (permalink)  
Old 01-10-2007, 08:57 PM
nfear24 nfear24 is offline
Special Member
 
Posts: 121
Question Split DNS setup help? Ubuntu and zimbra 4.5RC2.

This is the error Im trying to get past.

Code:
Operations logged to /tmp/zmsetup.log.11603
Setting defaults...

DNS ERROR - No A record for mail.tickus.com.

        Interface: 192.168.1.103
        Interface: 127.0.0.1


DNS ERROR - none of the MX records for mail.tickus.com
resolve to this host
Change domain name? [Yes] 
Create Domain: [mail.tickus.com] tickus.com
        MX: tickus.com (61.51.141.21)

        Interface: 192.168.1.103
        Interface: 127.0.0.1


DNS ERROR - none of the MX records for tickus.com
resolve to this host
It is suggested that the MX record resolve to this host
Re-Enter domain name? [Yes] No
Done
Checking for port conflicts


Note

The previous configuration appears to have failed to complete

Attempt to complete configuration now? [yes] 
Save configuration data to a file? [Yes] 
Save config in file: [/opt/zimbra/config.11603] 
Saving config in /opt/zimbra/config.11603...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.11603
Initializing ldap...daemon: bind(7) failed errno=99 (Cannot assign requested address)
slap_open_listener: failed on ldap://tickus.com:389
ERROR - failed to start slapd

FAILED (1)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.log.11603
Here is my hosts file.

Code:
127.0.0.1       localhost.localdomain localhost
192.168.1.103  mail.MYDOMAIN.com mail
Here is my split dns setup

edit /etc/bind/named.conf.options

Code:
forwarders { 
xx.xx.xx.xx; xx.xx.xx.xx;   Now are these the nameserver numbers from router going to local internet provider?
};

Append to /etc/bind/named.conf.local

Code:
	// We are the master server for mail.MYDOMAIN.com
	zone "mail.MYDOMAIN.com" {
		type master;
		file "db.mail.MYDOMAIN.com";
};
create the zone file: /var/cache/bind/db.mail.MYDOMAIN.com
Code:
;
;       Addresses and other host information.
;
@       IN      SOA     mail.MYDOMAIN.com. mail.MYDOMAIN.com. (
                               10118      ; Serial
                               43200      ; Refresh
                               3600       ; Retry
                               3600000    ; Expire
                               2592000 )  ; Minimum
;       Define the nameservers and the mail servers
               IN      NS      xxx.xxx.xxx.xxx  Is this internal ip address 192.168.1.103?
               IN      A       xxx.xxx.xxx.xxx   same as above then  192.168.1.103
               IN      MX      10 mail.MYDOMAIN.com.

# modify /etc/resolv.conf
change upstream name servers to your own IP:
nameserver xxx.xxx.xxx.xxx would this be internal ip again 192.168.1.103
# /etc/init.d/bind reload
# to test it, nslookup mail.MYDOMAIN.com should point to xxx.xxx.xxx.xxx

Here is what my nslookup looks like then
Code:
Server:         192.168.1.103
Address:        192.168.1.103#53

Name:   mail.tickus.com
Address: 192.168.1.103

root@mail:/home/nick#

Thanks Nick

Last edited by nfear24; 01-11-2007 at 06:32 AM..
Reply With Quote