Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Problem with Named

  1. #1
    Join Date
    Feb 2008
    Location
    New Orleans, LA
    Posts
    31
    Rep Power
    7

    Default Problem with Named

    Hello,

    I've recently changed the public IP of our email server and it hasn't run right since. I've went into mydomain.com.zone and changed the IP. I've also changed the NAT policy by putting in the new public IP.

    When trying to restart Named I get an error.

    Starting named:
    Error in named configuration:
    /etc/named.conf:15: unknown option 'Title'
    /etc/named.conf:37: unexpected token near end of file
    [FAILED]

    Afterwards I uninstalled BIND9.3.4 and reinstalled it only to get the same error. Is this something to worry about?

    The other thing is my email server stops responding after a few hours. I've been using centralops.net to test my server and after about 5-6 hours it starts timing out. Now if I switch back to my old public IP everything works fine. Am I missing something? I'm not very literate in Redhat or Linux at all.

    Another thing I've noticed is my named.conf file isn't like the ones that are being talked about on Zimbra.com. The file I have to edit is /var/named/etc/chroot/etc/named.rfc1912.zones.

    Is this of any significance either?

    Thanks.

    Edit:
    Additionally in resolv.conf I have 3 nameservers does the order of the 3 matter? I have my Domain's DNS as the first.
    Last edited by ddowney; 06-30-2008 at 03:00 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Please post the following and we can check your config
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig _yourdomainname_ mx
    dig _yourserverfqdn_
    host `hostname` <- note backticks and not double quotes
    all if you could post your named.conf we can check that aswell.

  3. #3
    Join Date
    Feb 2008
    Location
    New Orleans, LA
    Posts
    31
    Rep Power
    7

    Default

    [root@mail ~]# cat /etc/hosts
    HTML Code:
    # 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.20.16   FTS-Zmail.fasttax.local FTS-Zmail

    [root@mail ~]
    HTML Code:
    # cat /etc/resolv.conf
    search FASTTAX
    nameserver 192.168.20.10
    nameserver 192.168.20.16
    nameserver 68.11.16.30

    [root@mail ~]# dig _fasttaxmail_ mx
    HTML Code:
    ; <<>> DiG 9.3.4-P1 <<>> _fasttaxmail_ mx
    ;; global options:  printcmd[root@mail ~]# dig _fasttaxmail_ mx
    
    ; <<>> DiG 9.3.4-P1 <<>> _fasttaxmail_ mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 47808
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;_fasttaxmail_.                 IN      MX
    
    ;; Query time: 5 msec
    ;; SERVER: 192.168.20.10#53(192.168.20.10)
    ;; WHEN: Fri Jun 20 19:28:41 2008
    ;; MSG SIZE  rcvd: 31
    
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 47808
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;_fasttaxmail_.                 IN      MX
    
    ;; Query time: 5 msec
    ;; SERVER: 192.168.20.10#53(192.168.20.10)
    ;; WHEN: Fri Jun 20 19:28:41 2008
    ;; MSG SIZE  rcvd: 31
    [root@mail ~]# dig _FTS-Zmail.fasttax.local_
    HTML Code:
    ; <<>> DiG 9.3.4-P1 <<>> _FTS-Zmail.fasttax.local_
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 37613
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;_FTS-Zmail.fasttax.local_.     IN      A
    
    ;; AUTHORITY SECTION:
    .                       10800   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2008070100 1800 900 604800 86400
    
    ;; Query time: 57 msec
    ;; SERVER: 192.168.20.10#53(192.168.20.10)
    ;; WHEN: Fri Jun 20 19:33:06 2008
    ;; MSG SIZE  rcvd: 118
    [root@mail ~]# host `hostname`
    HTML Code:
    mail.fasttaxmail.com has address 206.41.47.67
    Named.conf
    HTML Code:
    ###########################################################################
    # $Id: named.conf,v 1.10 2005/02/24 17:05:20 kirk Exp $
    ###########################################################################
    
    # You can put comments anywhere you want to.  They are effective for the
    # rest of the line.
    
    # this is in the format of <name> = <value>.  Whitespace at the beginning
    # and end of the lines is removed.  Whitespace before and after the = sign
    # is removed.  Everything is case *insensitive*.
    
    # Yes = True  = On  = 1
    # No  = False = Off = 0
    
    Title = "Named"
    
    # Which logfile group...
    LogFile = messages
    
    # Whether or not to lookup the IPs into hostnames...
    # Setting this to Yes will significantly increase runtime
    $named_ip_lookup = No
    
    # Only give lines pertaining to the named service...
    *OnlyService = named
    *RemoveHeaders
    
    ########################################################
    # This was written and is maintained by:
    #    Kirk Bauer <kirk@kaybee.org>
    #
    # Please send all comments, suggestions, bug reports,
    #    etc, to kirk@kaybee.org.
    ########################################################
    
    # vi: shiftwidth=3 tabstop=3 et

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    First thing stick to using lower case on Unix
    Code:
    dig fasttaxmail.com mx
    dig mail.fasttaxmail.com
    as you are behind a firewall you need to set up a Split DNS - Zimbra :: Wiki

  5. #5
    Join Date
    Feb 2008
    Location
    New Orleans, LA
    Posts
    31
    Rep Power
    7

    Default

    Sorry, I'm a bit slow when it comes to UNIX. Here goes again.

    [root@mail ~]# dig fasttaxmail.com mx
    HTML Code:
    ; <<>> DiG 9.3.4-P1 <<>> fasttaxmail.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42812
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;fasttaxmail.com.               IN      MX
    
    ;; ANSWER SECTION:
    fasttaxmail.com.        7200    IN      MX      10 mail.fasttaxmail.com.
    
    ;; AUTHORITY SECTION:
    fasttaxmail.com.        88238   IN      NS      ns72.worldnic.com.
    fasttaxmail.com.        88238   IN      NS      ns71.worldnic.com.
    
    ;; ADDITIONAL SECTION:
    mail.fasttaxmail.com.   2323    IN      A       206.41.47.67
    ns72.worldnic.com.      30474   IN      A       205.178.144.36
    
    ;; Query time: 46 msec
    ;; SERVER: 192.168.20.10#53(192.168.20.10)
    ;; WHEN: Fri Jun 20 19:58:08 2008
    ;; MSG SIZE  rcvd: 133
    [root@mail ~]# dig mail.fasttaxmail.com
    HTML Code:
    ; <<>> DiG 9.3.4-P1 <<>> mail.fasttaxmail.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34081
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mail.fasttaxmail.com.          IN      A
    
    ;; ANSWER SECTION:
    mail.fasttaxmail.com.   2185    IN      A       206.41.47.67
    
    ;; Query time: 4 msec
    ;; SERVER: 192.168.20.10#53(192.168.20.10)
    ;; WHEN: Fri Jun 20 20:00:23 2008
    ;; MSG SIZE  rcvd: 54

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    There's something wrong with your config. Can you cat /etc/named.conf?

  7. #7
    Join Date
    Feb 2008
    Location
    New Orleans, LA
    Posts
    31
    Rep Power
    7

    Default

    This is what I get when I cat /etc/named.conf. There is another named.rfc1912.zones file that looks more like the named.conf everyone refers to. It's in the /var/named/chroot/etc/

    [root@mail ~]# cat /etc/named.conf
    HTML Code:
    ###########################################################################
    # $Id: named.conf,v 1.10 2005/02/24 17:05:20 kirk Exp $
    ###########################################################################
    
    # You can put comments anywhere you want to.  They are effective for the
    # rest of the line.
    
    # this is in the format of <name> = <value>.  Whitespace at the beginning
    # and end of the lines is removed.  Whitespace before and after the = sign
    # is removed.  Everything is case *insensitive*.
    
    # Yes = True  = On  = 1
    # No  = False = Off = 0
    
    Title = "Named"
    
    # Which logfile group...
    LogFile = messages
    
    # Whether or not to lookup the IPs into hostnames...
    # Setting this to Yes will significantly increase runtime
    $named_ip_lookup = No
    
    # Only give lines pertaining to the named service...
    *OnlyService = named
    *RemoveHeaders
    
    ########################################################
    # This was written and is maintained by:
    #    Kirk Bauer <kirk@kaybee.org>
    #
    # Please send all comments, suggestions, bug reports,
    #    etc, to kirk@kaybee.org.
    ########################################################
    
    # vi: shiftwidth=3 tabstop=3 et

  8. #8
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Take out the quotes from Title = "named"

  9. #9
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Also, that is a far from complete named config file:
    DNS BIND named.conf Parameters

  10. #10
    Join Date
    Feb 2008
    Location
    New Orleans, LA
    Posts
    31
    Rep Power
    7

    Default

    Thanks for the help.
    This is the file I was referring to, does this have anything to do with Named.conf. I read the link you supplied but don't understand what it is I'm supposed to do.

    Named.rfc1912.zones

    HTML Code:
    // named.rfc1912.zones:
    //
    // Provided by Red Hat caching-nameserver package 
    //
    // ISC BIND named zone configuration for zones recommended by
    // RFC 1912 section 4.1 : localhost TLDs and address zones
    // 
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    //
    zone "." IN {
    	type hint;
    	file "named.ca";
    };
    
    zone "localdomain" IN {
    	type master;
    	file "localdomain.zone";
    	allow-update { none; };
    };
    
    zone "localhost" IN {
    	type master;
    	file "localhost.zone";
    	allow-update { none; };
    };
    
    zone "fasttaxmail.com" IN {
            type master;
    	file "fasttaxmail.com.zone"
    	allow-update { none; };
    };
    
    zone "0.0.127.in-addr.arpa" IN {
    	type master;
    	file "named.local";
    	allow-update { none; };
    };
    
    zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
            type master;
    	file "named.ip6.local";
    	allow-update { none; };
    };
    
    zone "255.in-addr.arpa" IN {
    	type master;
    	file "named.broadcast";
    	allow-update { none; };
    };
    
    zone "0.in-addr.arpa" IN {
    	type master;
    	file "named.zero";
    	allow-update { none; };
    };

Similar Threads

  1. Missing Email Problem
    By prox in forum Zimbra Connector for Outlook
    Replies: 6
    Last Post: 03-16-2008, 11:01 PM
  2. Zimbra, WM5.0, AS + problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 7
    Last Post: 06-25-2007, 02:04 AM
  3. WindowsMobile - problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 0
    Last Post: 06-22-2007, 11:37 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

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