Since i am on a virtual machine I am using a private address for my soon to be zimbra network edtion 7.1.4. The hypervisor has shorewall installed and is forwarding ports to the Zimbra virtual machine. I have followed the wiki page to the letter with the following exception i am using mx1 for hostname instead of mail becuase the ISP already has the PTR records setup for me at mx1. I have tried both bind and dnsmasq but i cannot get zimbra to install without dns error
DNS ERROR resolving MX for mx1.MYDOMAIN.ca
It is suggested that the domain name have an MX record configured in
DNS
I guess i prefer bind becuase i have used it before however i am not opposed to dnsmasq. My bind setup that has errors and dig output is below CAPS are subsitutions please help. Clearly this is not coming from the local nameserver that i have installed
***** named.conf.options *****
***** db.mx1.MYDOMAIN.ca *****Code:forwarders { 204.XXX.XXX.132; 8.8.8.8; 8.8.4.4; }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; }; // We are the master server for server.example.com zone "mx1.MYDOMAIN.ca" { type master; file "/etc/bind/db.mx1.MYDOMAIN.ca"; };
Code:; ; Addresses and other host information. ; @ IN SOA mx1.MYDOMAIN.ca. hostmaster.mx1.MYDOMAIN.ca. ( 2012022702 ; Serial 43200 ; Refresh 3600 ; Retry 3600000 ; Expire 2592000 ) ; Minimum ; Define the nameservers and the mail servers IN NS 10.0.0.102 MYDOMAIN.ca. IN MX 10 mx1.MYDOMAIN.ca. mx1.MYDOMAIN.ca. IN A 10.0.0.102
***** resolve.conf *****
Code:nameserver 10.0.0.102 nameserver 204.XXX.XXX.132 nameserver 8.8.8.8 nameserver 8.8.4.4 #domain MYDOMAIN.ca search MYDOMAIN.ca #nameserver 127.0.0.1
***** hosts *****
***** LOG OUTPUT from bindCode:127.0.0.1 localhost #127.0.1.1 mx1.MYDOMAIN.ca mx1 10.0.0.102 mx1.MYDOMAIN.ca mx1 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
***** output from host $(hostname) ***** SHOULD BE 131 I HAD 2 ENTRIES IN MY MAIN DNS SERVER it is fixed now but will take some time?? Besides this is not from the local server!!Code:Feb 27 16:38:29 mx1 named[11802]: /etc/bind/db.mx1.MYDOMAIN.ca:12: ignoring out-of-zone data (MYDOMAIN.ca) Feb 27 16:38:29 mx1 named[11802]: zone mx1.MYDOMAIN.ca/IN: NS '10.0.0.102.mx1.MYDOMAIN.ca' has no address records (A or AAAA) Feb 27 16:38:29 mx1 named[11802]: zone mx1.MYDOMAIN.ca/IN: not loaded due to errors. Feb 27 16:38:29 mx1 named[11802]: zone localhost/IN: loaded serial 2 Feb 27 16:38:29 mx1 named[11802]: running
***** DIG outputs *****Code:mx1.MYDOMAIN.ca has address 204.XXX.XXX.131 mx1.MYDOMAIN.ca has address 204.XXX.XXX.132
Code:; <<>> DiG 9.7.0-P1 <<>> MYDOMAIN.ca mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52365 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;MYDOMAIN.ca. IN MX ;; ANSWER SECTION: MYDOMAIN.ca. 26953 IN MX 22 mx1.MYDOMAIN.ca. MYDOMAIN.ca. 26953 IN MX 11 mx1.canmail.org. ;; AUTHORITY SECTION: . 68266 IN NS f.root-servers.net. . 68266 IN NS g.root-servers.net. . 68266 IN NS h.root-servers.net. . 68266 IN NS j.root-servers.net. . 68266 IN NS b.root-servers.net. . 68266 IN NS c.root-servers.net. . 68266 IN NS i.root-servers.net. . 68266 IN NS k.root-servers.net. . 68266 IN NS e.root-servers.net. . 68266 IN NS a.root-servers.net. . 68266 IN NS d.root-servers.net. . 68266 IN NS m.root-servers.net. . 68266 IN NS l.root-servers.net. ;; Query time: 0 msec ;; SERVER: 10.0.0.102#53(10.0.0.102) ;; WHEN: Mon Feb 27 16:54:43 2012 ;; MSG SIZE rcvd: 295Code:; <<>> DiG 9.7.0-P1 <<>> MYDOMAIN.ca all ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35050 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;MYDOMAIN.ca. IN A ;; ANSWER SECTION: MYDOMAIN.ca. 26383 IN A 204.244.122.132 ;; AUTHORITY SECTION: . 68171 IN NS h.root-servers.net. . 68171 IN NS b.root-servers.net. . 68171 IN NS k.root-servers.net. . 68171 IN NS i.root-servers.net. . 68171 IN NS d.root-servers.net. . 68171 IN NS f.root-servers.net. . 68171 IN NS j.root-servers.net. . 68171 IN NS c.root-servers.net. . 68171 IN NS a.root-servers.net. . 68171 IN NS e.root-servers.net. . 68171 IN NS g.root-servers.net. . 68171 IN NS m.root-servers.net. . 68171 IN NS l.root-servers.net. ;; Query time: 4 msec ;; SERVER: 10.0.0.102#53(10.0.0.102) ;; WHEN: Mon Feb 27 16:56:18 2012 ;; MSG SIZE rcvd: 260 ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 62697 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;all. IN A ;; AUTHORITY SECTION: . 1221 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2012022701 1800 900 604800 86400 ;; Query time: 27 msec ;; SERVER: 10.0.0.102#53(10.0.0.102) ;; WHEN: Mon Feb 27 16:56:18 2012 ;; MSG SIZE rcvd: 96


LinkBack URL
About LinkBacks


