| 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.
|  | | 
02-08-2012, 03:29 AM
| | | DNS Error - none of the MX records resolve to this host Hey guys, so I'm having a bit of an issue ironing out this last DNS problem, I have been following the SplitDNS guide word for word but, when trying to install Zimbra it gives the DNS mismatch error and when I try to startup DNSmasq it shows the address already in use. Quote:
# /etc/init.d/dnsmasq restart
Starting dnsmasq:
dnsmasq: failed to create listening socket: Address already in use
[FAILED]
| I am using CentOS 5.7 x32 at the moment doing some testing. ZCS 7.1.4
Test domain -lulzy.ath.cx
Dnsmasq config Code: conf-dir=/etc/dnsmasq.d
server=8.8.8.8
server=208.67.222.222
domain=lulzy.ath.cx
mx-host=lulzy.ath.cx,mail.lulzy.ath.cx,5
listen-address=127.0.0.1 Here is my hosts file Quote:
# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.111 mail.lulzy.ath.cx mail
| My resolv.conf Quote:
# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search lulzy.ath.cx
nameserver 127.0.0.1
| My named.conf Quote:
// Default named.conf generated by install of bind-9.2.4-2
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 8.8.8.8 ; };
};
include "/etc/rndc.key";
// We are the master server for server.example.com
zone "mail.lulzy.ath.cx" {
type master;
file "/var/named/db.mail.lulzy.ath.cx";
}; | My zone file Quote:
;
; Addresses and other host information.
;
@ IN SOA mail.lulzy.ath.cx. hostmaster.mail.lulzy.ath.cx. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.0.111
mail.lulzy.ath.cx. IN MX 10 mail.lulzy.ath.cx.
mail.lulzy.ath.cx. IN A 192.168.0.111
| Ignore the formatting errors, its 5:30am, I'm too tired to fix it right now =(
Where am I going wrong?
Last edited by Eclipse; 02-08-2012 at 03:35 AM..
| 
02-08-2012, 03:39 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by Eclipse Where am I going wrong? | If you've been reading the Split DNS article you should have read what diagnostic information is required - you're missing some of it. You've also posted configuration information from dnsmasq & BIND and dnsmasq is apparently unable to start so the question is, which DNS server are you using? Please also provide all the information listed in the 'Verify....' section of the Split DNS article.
__________________
Regards
Bill
| 
02-08-2012, 12:00 PM
| | | Quote:
Originally Posted by phoenix If you've been reading the Split DNS article you should have read what diagnostic information is required - you're missing some of it. You've also posted configuration information from dnsmasq & BIND and dnsmasq is apparently unable to start so the question is, which DNS server are you using? Please also provide all the information listed in the 'Verify....' section of the Split DNS article. | Ah, right sorry.
The DNS forwarder I'm using is 8.8.8.8, the resolv.conf is set to use 127.0.0.1.... Code: # dig lulzy.ath.cx mx
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5_7.1 <<>> lulzy.ath.cx mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57377
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;lulzy.ath.cx. IN MX
;; AUTHORITY SECTION:
ath.cx. 600 IN SOA ns1.dyndns.org. hostmaster.dyndns.org. 2493600098 600 300 604800 600
;; Query time: 74 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 8 13:58:02 2012
;; MSG SIZE rcvd: 91 Code: # dig lulzy.ath.cx any
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5_7.1 <<>> lulzy.ath.cx any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17192
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;lulzy.ath.cx. IN ANY
;; ANSWER SECTION:
lulzy.ath.cx. 60 IN A 50.82.204.232
;; Query time: 81 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 8 13:58:35 2012
;; MSG SIZE rcvd: 46 Code: # host lulzy.ath.cx
lulzy.ath.cx has address 50.82.204.232 Code: # host mail.lulzy.ath.cx
mail.lulzy.ath.cx is an alias for lulzy.ath.cx.
lulzy.ath.cx has address 50.82.204.232 I think that is all of it..... | 
02-08-2012, 12:44 PM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by Eclipse I think that is all of it..... | That isn't all of the information that's asked for in the article, you've missed running some of the commands. The output you've posted so far shows that you have no MX record.
__________________
Regards
Bill
| 
02-08-2012, 01:37 PM
| | | Quote:
Originally Posted by phoenix That isn't all of the information that's asked for in the article, you've missed running some of the commands. The output you've posted so far shows that you have no MX record. |
This is the last thing I can see Code: # host $(hostname)
lulzy.ath.cx has address 50.82.204.232 Isn't there an MX record set in the zone file?
If I missed something can you please point out what it is.... | 
02-09-2012, 12:01 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by Eclipse Isn't there an MX record set in the zone file? | There appears to be one in the file you've posted but there isn't any response from the DNS server that shows an MX record - that's the problem.
__________________
Regards
Bill
| 
02-09-2012, 12:03 AM
| | | Quote:
Originally Posted by phoenix There appears to be one in the file you've posted but there isn't any response from the DNS server that shows an MX record - that's the problem. | Ah okay, that's probably just a limitation of dynDNS sub domains, is there any thing I can do for dnsmasq failing? | 
02-09-2012, 12:16 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by Eclipse Ah okay, that's probably just a limitation of dynDNS sub domains,... | That shouldn't be a problem, I used dynDNS a long time ago for a mail server without problems. Quote:
Originally Posted by Eclipse ... is there any thing I can do for dnsmasq failing? | According to the error message port 53 is already in use, I'm slightly confused here - aren't you using BIND (isn't that what you said the config files were for)?
__________________
Regards
Bill
| 
02-09-2012, 12:26 AM
| | | Quote:
Originally Posted by phoenix That shouldn't be a problem, I used dynDNS a long time ago for a mail server without problems.
According to the error message port 53 is already in use, I'm slightly confused here - aren't you using BIND (isn't that what you said the config files were for)? | Well the .ath.cx domains arent real domaines, they are dyndns subdomains that were free to use.
I can select add MX record to that domain but when I type in the same domain its like it just disappears...
On the SplitDNS guide, I had assume that you needed dnsmasq along with BIND, is dnsmasq equivalent to BIND then where its not required? | 
02-09-2012, 12:29 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by Eclipse On the SplitDNS guide, I had assume that you needed dnsmasq along with BIND, is dnsmasq equivalent to BIND then where its not required? | You can only run one DNS server on a server, the dnsmasq configuration is only there as an alternative (some people find it easier to configure).
__________________
Regards
Bill
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |