| 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.
|  | 
06-09-2011, 03:28 AM
| | | Host Not Found Problem Hi,
Emails sent to my domain are bouncing back with the following message This is the mail system at host gbsclick.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<john@gbsclick.co.uk>: Host or domain name not found. Name service error for
name=gbsclick type=A: Host not found
gbsclick is the server name and gbsclick.co.uk is the domain name (yes I know, I should have made it less confusing).
When I installed Zimbra it installed with the account gbsclick and I added a further domain gbsclick.co.uk
I've obviously got something configures incorrectly but could I'd be grateful for a pointer in the right direction.
Thanks | 
06-09-2011, 03:32 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,314
| | I would guess from the error messge that your DNS records are incorrect (or missing), go to the Split DNS article and read what's needed for your hosts file and DNS, you can also run all the commands in the 'Verify...' section of that article to confirm the status of the records.
__________________
Regards
Bill
| 
06-09-2011, 03:40 AM
| | | I've got dnsmasq installed and this is what I get. It's pointing to server: 192.168.1.1 which is my router so I guess the problem is there but I'm not sure how to cure it. server@gbsclick:~$ dig gbsclick.co.uk mx
; <<>> DiG 9.7.0-P1 <<>> gbsclick.co.uk mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53764
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;gbsclick.co.uk. IN MX
;; ANSWER SECTION:
gbsclick.co.uk. 6498 IN MX 10 mail.gbsclick.co.uk.
;; Query time: 334 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Jun 9 11:34:42 2011
;; MSG SIZE rcvd: 53 | 
06-09-2011, 03:58 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,314
| | You do not have an A record for your host (as mentioned in the error message), the wiki article tells you all you need to know about setting the correct records and hosts file (format & contents). I don't use dnsmasq (search the web or these forums for details on how to configure it) but you can install BIND and follow the wiki article details.
__________________
Regards
Bill
| 
06-09-2011, 05:22 AM
| | | I've removed dnsmasq and installed and configured bind9 (correctly I think) server@gbsclick:~$ host $(hostname)
gbsclick.gbsclick.co.uk has address 79.170.44.145
gbsclick.gbsclick.co.uk mail is handled by 10 mail.gbsclick.co.uk.
My website is still hosted on that address but mail is configured to my own fixed ip.
Still don't understand what's going on. | 
06-09-2011, 05:33 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,314
| | Quote:
Originally Posted by gbsmarketing I've removed dnsmasq and installed and configured bind9 (correctly I think) server@gbsclick:~$ host $(hostname)
gbsclick.gbsclick.co.uk has address 79.170.44.145
gbsclick.gbsclick.co.uk mail is handled by 10 mail.gbsclick.co.uk.
My website is still hosted on that address but mail is configured to my own fixed ip.
Still don't understand what's going on. | You haven't followed the instructions in the wiki article, the DNS records (and your hosts file) must point to the LAN IP of your server - it tells you all that in the wiki article. The output you've posted is out of context without all the other information asked for in the article.
__________________
Regards
Bill
| 
06-09-2011, 05:39 AM
| | | This is the contents of my hosts file 127.0.0.1 localhost.localdomain localhost
192.168.1.13 mail.gbsclick.co.uk mail
192.168.1.13 gbsclick.gbsclick.co.uk gbsclick
# 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 | 
06-09-2011, 05:51 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,314
| | Your hosts file is not correct, the format is described in the wiki article and must only contain the information shown there. You also haven't posted the output of all the commands in that article.
__________________
Regards
Bill
| 
06-09-2011, 05:59 AM
| | | I've listed the output below.
What is actually wrong with the hosts file? I've tried it with just the first line gbsclick.gbsclick.co uk and just the second line mail.gbsclick.co.uk but neither seem to work. Code: ; <<>> DiG 9.7.0-P1 <<>> gbsclick.co.uk mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18717
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;gbsclick.co.uk. IN MX
;; ANSWER SECTION:
gbsclick.co.uk. 7489 IN MX 10 mail.gbsclick.co.uk.
;; Query time: 35 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Jun 9 13:54:20 2011
;; MSG SIZE rcvd: 53 Code: ; <<>> DiG 9.7.0-P1 <<>> gbsclick.co.uk all
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18985
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;gbsclick.co.uk. IN A
;; ANSWER SECTION:
gbsclick.co.uk. 7409 IN A 79.170.44.145
;; Query time: 41 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Jun 9 13:55:00 2011
;; MSG SIZE rcvd: 48
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2540
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;all. IN A
;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2011060801 1800 900 604800 86400
;; Query time: 121 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Jun 9 13:55:01 2011
;; MSG SIZE rcvd: 96
Last edited by phoenix; 06-09-2011 at 07:58 AM..
| 
06-09-2011, 08:05 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,314
| | Your DNS A record is incorrect, this from the Split DNS article: Code: ;
; Addresses and other host information.
;
@ IN SOA server.example.com. hostmaster.server.example.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS <internal address of server>
IN MX 10 mail.yourdomain.com.
mail IN A <internal address of server> Yours points to the public IP address and it should point to your hostname not your domain name.
Please stop posting in multiple colours, it's easier to read if you just enclose the selected items in 'CODE' (the hash symbol above the edit box).
__________________
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.  |