Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: DNS Issues...What am I missing...?

  1. #11
    Join Date
    Feb 2008
    Location
    San Francisco
    Posts
    360
    Rep Power
    7

    Default

    OMG!!!!!! Sheeesh ROFLOL...exhausted...
    I think that's a sign for me to STEP AWAY! LOL

    ...worked like a charm

    Thank you! LOL

  2. #12
    Join Date
    Aug 2009
    Posts
    64
    Rep Power
    6

    Default

    i also have a dns issue. pls help me out .

    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.1.2 z.mydomain.com z
    cat /etc/resolv.conf

    search mydomain.com
    nameserver 192.168.1.2
    dig mydomain mx

    ; <<>> DiG 9.3.4-P1 <<>> mydomain.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46590
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mydomain.com. IN MX

    ;; ANSWER SECTION:
    mydomain.com. 38400 IN MX 10 z.mydomain.com.

    ;; AUTHORITY SECTION:
    mydomain.com. 38400 IN NS z.mydomain.com.

    ;; ADDITIONAL SECTION:
    z.mydomain.com. 38400 IN A 192.168.1.2

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.2#53(192.168.1.2)
    ;; WHEN: Tue Oct 6 16:45:33 2009
    ;; MSG SIZE rcvd: 76
    dig mydomain any

    ; <<>> DiG 9.3.4-P1 <<>> mydomain.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27016
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mydomain.com. IN ANY

    ;; ANSWER SECTION:
    mydomain.com. 38400 IN MX 10 z.mydomain.com.
    mydomain.com. 38400 IN SOA z.mydomain.com. admin.mydomain.com. 1211996601 10800 3600 604800 38400
    mydomain.com. 38400 IN NS z.mydomain.com.

    ;; ADDITIONAL SECTION:
    z.mydomain.com. 38400 IN A 192.168.1.2

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.2#53(192.168.1.2)
    ;; WHEN: Tue Oct 6 16:47:16 2009
    ;; MSG SIZE rcvd: 118
    host `hostname`

    z.mydomain.com has address 192.168.1.2
    ip 192.168.1.2 is my internal ip ( of zimbra server)

  3. #13
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    So... what is the problem?

  4. #14
    Join Date
    Aug 2009
    Posts
    64
    Rep Power
    6

    Default

    my problem is: i can receive email well but when i send email to a user of yahoo or gmail it warn
    host or domain name not found. name service error for name=yahoo.com type=mx: host not found, try again (1 messages)
    but if i reboot my zcs, i can send email well. and then after a day, it will be happed again.

    i toptally confused T_T

  5. #15
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    What is the output of
    Code:
    grep forwarders /etc/*.conf
    (Assuming you are running bind)

  6. #16
    Join Date
    Feb 2008
    Location
    San Francisco
    Posts
    360
    Rep Power
    7

    Default

    I wouldn't think that's a problem with the zimbra server....sounds like a problem with the bind server... for it to work, then a couple of days later not work...is odd... when it stops working, have you tried restarting bind, see if that kicks it back into working...?

    service named restart

  7. #17
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    My guess is that the upstream DNS server is misconfigured or unreliable, which is why I was attempting to get the server that the bind install uses to resolve stuff.

  8. #18
    Join Date
    Aug 2009
    Posts
    64
    Rep Power
    6

    Default

    Quote Originally Posted by ArcaneMagus View Post
    What is the output of
    Code:
    grep forwarders /etc/*.conf
    (Assuming you are running bind)
    yes ! i'm running bind. i installed
    bind bind-chroot bind-libs bind-utils
    and some stuff if u want to know

    /var/named/chroot/etc/named.conf

    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders { 192.168.1.2 ; };
    };
    include "/etc/rndc.key";
    // We are the master server for mydomain.com
    zone "mydomain.com" {
    type master;
    file "db.mail.mydomain.com";
    };
    /var/named/chroot/var/named/db.mail.mydomain.com

    $TTL 38400
    mydomain.com. IN SOA z.mydomain.com. admin.mydomain.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    mydomain.com. IN NS z.mydomain.com.
    z.mydomain.com. IN A 192.168.1.2
    mail.mydomain.com. IN A 192.168.1.2
    mydomain.com/ IN MX 10 z.mydomain.com.
    we have a domain named "mydomain.com" and it pointed to a webserver
    it's sub-dommain is "mail.mydomain.com" pointed to my zcs server.

    do u need more any information ?

    p/s: when i run "grep forwarders /etc/*.conf" command, it appears nothing.

  9. #19
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Ah, I was expecting the named.conf file to be in the standard place. I forgot how crazy redhat is.

    Anyway I am not sure how this setup EVER worked as your email server is asking itself to resolve all queries it doesn't know the answer to... obviously this will never work.

    Try changing the forwarders line to:
    Code:
    forwarders { 208.67.222.222; 208.67.220.220; };
    This will tell your email server to use the OpenDNS servers to resolve all domains that it doesn't know. You could also set this to your ISP's DNS server. Of course these suggestions are assuming that you don't already have a DNS server on your network. If you already have a caching DNS server you should set that as the forwarder, as it should have a forwarder to the rest of the internet setup.

  10. #20
    Join Date
    Aug 2009
    Posts
    64
    Rep Power
    6

    Default

    i understand what u mean but i already installed BIND in zimbra server so the forwarder should point to the ip of zimbra server ( in this case, it's is 192.168.1.2). so i think i do right. althrough we already have a DNS server ( using win2k3 with dns service ) on my lan.

    i will add the ip of the dns to the forwarder. i hope everything will be ok because i'm so tired to solve this case !

    thanks u so much for your kind answer !

Similar Threads

  1. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 09:08 AM
  2. Zimbra OSS 4.5.11 Re-install
    By newmember in forum Installation
    Replies: 0
    Last Post: 09-09-2008, 11:26 PM
  3. 4.5.11 to 5.06 Migration Suggestion
    By newmember in forum Migration
    Replies: 15
    Last Post: 09-02-2008, 07:59 PM
  4. :( DNS Lookup issues
    By jhgutierrezg in forum Administrators
    Replies: 3
    Last Post: 05-30-2007, 09:00 AM
  5. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 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
  •