Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-2009, 01:17 AM
Intermediate Member
 
Posts: 19
Default Bind installation

I am trying to install bind on my RHEL server to resolve the issues of mot receiving mails because i am behind an ISP's router and a firewall.

I've ran these codes:
yum install bind
yum install caching-nameserver
cp named.caching-nameserver.conf named.conf (because i dont have a file called named.conf after bind installation).

touch mydomain.com.zone
touch mydomain.com.rev.zone

chown root:named mydomain*


Can anybody tell me what next to do?
Reply With Quote
  #2 (permalink)  
Old 02-03-2009, 01:24 AM
Moderator
 
Posts: 7,928
Default

Follow the examples in Split DNS - Zimbra :: Wiki though you should not require the necessity to install a caching-nameserver.
__________________
Reply With Quote
  #3 (permalink)  
Old 02-03-2009, 03:11 AM
Intermediate Member
 
Posts: 19
Default

After installation of Bind an the configuration of the DNS;
i did nslookup servername.mydomain.com and i got this message:
Server: 192.168.2.100
Address: 192.168.2.100#53

** server can't find servername.mydomain.com: NXDOMAIN


what do i do?
Reply With Quote
  #4 (permalink)  
Old 02-03-2009, 03:13 AM
Moderator
 
Posts: 7,928
Default

Check /var/log/messages for any BIND error messages.
__________________
Reply With Quote
  #5 (permalink)  
Old 02-03-2009, 03:44 AM
Intermediate Member
 
Posts: 19
Default

there are no errors on bind.

what do i do
Reply With Quote
  #6 (permalink)  
Old 02-03-2009, 03:46 AM
Moderator
 
Posts: 7,928
Default

Please post output from
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig youdomain mx
dig youdomain any
host `hostname` <- note backticks and not single quotes
Plus your BIND named.conf and the associated zone files.
__________________
Reply With Quote
  #7 (permalink)  
Old 02-03-2009, 04:48 AM
Intermediate Member
 
Posts: 19
Default

the output of cat /etc/hosts file:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 alpha.paletteng.com alpha localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.2.188 alpha.paletteng.com alpha


the ouput from cat /etc/resolv.conf file is:

search paletteng.com
nameserver 192.168.2.100
nameserver 192.168.2.188


the output from dig mydomain.com is:

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

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

;; ANSWER SECTION:
paletteng.com. 14400 IN MX 0 paletteng.com.

;; AUTHORITY SECTION:
paletteng.com. 6717 IN NS ns2.hostingseries43.net.
paletteng.com. 6717 IN NS ns.hostingseries43.net.

;; ADDITIONAL SECTION:
paletteng.com. 6717 IN A 85.13.243.2
ns2.hostingseries43.net. 150247 IN A 85.13.243.3
ns.hostingseries43.net. 150247 IN A 85.13.243.2

;; Query time: 3915 msec
;; SERVER: 192.168.2.100#53(192.168.2.100)
;; WHEN: Tue Feb 3 13:08:07 2009
;; MSG SIZE rcvd: 149

the dig mydomain any gives:

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

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

;; ANSWER SECTION:
paletteng.com. 12890 IN MX 0 paletteng.com.
paletteng.com. 5207 IN A 85.13.243.2
paletteng.com. 5207 IN NS ns2.hostingseries43.net.
paletteng.com. 5207 IN NS ns.hostingseries43.net.

;; AUTHORITY SECTION:
paletteng.com. 5207 IN NS ns.hostingseries43.net.
paletteng.com. 5207 IN NS ns2.hostingseries43.net.

;; ADDITIONAL SECTION:
paletteng.com. 5207 IN A 85.13.243.2
ns2.hostingseries43.net. 148737 IN A 85.13.243.3
ns.hostingseries43.net. 148737 IN A 85.13.243.2

;; Query time: 4 msec
;; SERVER: 192.168.2.100#53(192.168.2.100)
;; WHEN: Tue Feb 3 13:33:17 2009
;; MSG SIZE rcvd: 193


host `hostname` gives:

Host alpha.paletteng.com not found: 3(NXDOMAIN)


paletteng.com.rev.zone file

$ORIGIN 2.168.192.in-addr.arpa. ;

$TTL 86400 @ IN SOA alpha.paletteng.com. root.localhost. (

2008020402 ; serial

10800 ; REFRESH 3 hour

10800 ; retry after 3 hours

604800 ; expire after 1 week

86400) ; Min TTL of 1 day 2.168.192.in-addr.arpa. NS alpha.paletteng.com.

188.2.168.192.in-addr.arpa. IN PTR paletteng.com.

paletteng.com.zone file:

$ORIGIN paletteng.com.

$TTL 3600 @ IN SOA alpha.paletteng.com. root.localhost. (

2008020403 ; Serial 4char year 2mm 2dd 2vv

10800 ; REFRESH

10800 ; retry after 3 hours which forces it on the slave

604800 ; expire after 1 week

86400 ) ; minimum TTL of 1 day paletteng.com. IN NS alpha.paletteng.com. ;note paletteng.com. IN A 192.168.2.188

www IN A 192.168.2.188

site1.paletteng.com. IN A 192.168.2.188

site2.paletteng.com. IN A 192.168.2.188

localhost A 127.0.0.1



the named.conf file is

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";

// Those options should be used carefully because they disable port
// randomization
// query-source port 53;
// query-source-v6 port 53;

allow-query { localhost; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
// 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 "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; };
};
Reply With Quote
  #8 (permalink)  
Old 02-03-2009, 05:00 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

The simple answer is, you have no A or MX records for your server. Please check the Split DNS article again and follow those instructions.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 02-04-2009, 12:04 AM
Intermediate Member
 
Posts: 19
Default

the Split DNS document is not clear enough,

I cant find my named.conf file after the installation of Bind and even if i create a named.conf file,i would nt know what the contents will be.

Is there any other documentation better or GUI configuration?
Reply With Quote
  #10 (permalink)  
Old 02-04-2009, 12:19 AM
Moderator
 
Posts: 7,928
Default

Read, read and read again ... Quick HOWTO : Ch18 : Configuring DNS - Linux Home Networking

Before proceeding understand how and why BIND works as it will help you in the future.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.