Results 1 to 10 of 10

Thread: Host Not Found Problem

  1. #1
    Join Date
    May 2011
    Posts
    6
    Rep Power
    4

    Default 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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    May 2011
    Posts
    6
    Rep Power
    4

    Default

    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

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    May 2011
    Posts
    6
    Rep Power
    4

    Default

    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.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by gbsmarketing View Post
    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    May 2011
    Posts
    6
    Rep Power
    4

    Default

    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

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    May 2011
    Posts
    6
    Rep Power
    4

    Default

    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 08:58 AM.

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Problem MX host is private
    By hmayorga in forum Administrators
    Replies: 0
    Last Post: 10-20-2010, 08:40 AM
  2. Replies: 10
    Last Post: 10-12-2010, 12:33 PM
  3. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 10:10 AM
  4. SOAP problem - couldn't connect to host
    By mmb12345 in forum Developers
    Replies: 2
    Last Post: 12-31-2007, 03:20 PM
  5. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 05:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •