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
  #21 (permalink)  
Old 11-28-2008, 10:02 AM
Special Member
 
Posts: 174
Default yep

but I made the change this morning only after I tried host `hostname`
and got the message...... so put it back to the way I had it. I must have something else wrong then if it still cant resolve hostname correctly.... right?
thanks
Bill B
p.s


what do I restart to accept the change after I make it to the hostfile..... bind?
Reply With Quote
  #22 (permalink)  
Old 11-28-2008, 10:29 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

You shouldn't need to restart anything after making the hosts file change - with the qualifier that I don't know much about Ubunt.

How about the usual questions? Let's see the output of the following:

Code:
cat /etc/hosts
cat /etc/resolve.conf

dig barronsfamily.net mx
dig barronsfamily.net any
Did you also make the change to the /etc/nsswitch.conf mentioned above?
__________________
Regards


Bill
Reply With Quote
  #23 (permalink)  
Old 11-28-2008, 10:37 AM
Special Member
 
Posts: 174
Default I didnt think so either

but when i had made changes and saw no difference I thought maybe something needed to be restarted. so here is my info:
bbarrons@ms2:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.120 ms2.barronsfamily.net ms2

bbarrons@ms2:~$ cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 6883
#
### END INFO



nameserver 192.168.1.120
nameserver 68.94.156.1


nameserver 68.94.157.1


; <<>> DiG 9.4.2-P2 <<>> barronsfamily.net mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35429
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;barronsfamily.net. IN MX

;; ANSWER SECTION:
barronsfamily.net. 604800 IN MX 10 ms2.barronsfamily.net.

;; AUTHORITY SECTION:
barronsfamily.net. 604800 IN NS ms2.barronsfamily.net.

;; ADDITIONAL SECTION:
ms2.barronsfamily.net. 604800 IN A 192.168.1.120

;; Query time: 0 msec
;; SERVER: 192.168.1.120#53(192.168.1.120)
;; WHEN: Fri Nov 28 13:36:19 2008
;; MSG SIZE rcvd: 85


; <<>> DiG 9.4.2-P2 <<>> barronsfamily.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48562
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;barronsfamily.net. IN ANY

;; ANSWER SECTION:
barronsfamily.net. 604800 IN SOA ms2.barronsfamily.net. admin.barronsfamily.net. 24 604800 86400 2419200 604800
barronsfamily.net. 604800 IN NS ms2.barronsfamily.net.
barronsfamily.net. 604800 IN MX 10 ms2.barronsfamily.net.
barronsfamily.net. 604800 IN A 192.168.1.120

;; ADDITIONAL SECTION:
ms2.barronsfamily.net. 604800 IN A 192.168.1.120

;; Query time: 0 msec
;; SERVER: 192.168.1.120#53(192.168.1.120)
;; WHEN: Fri Nov 28 13:36:42 2008
;; MSG SIZE rcvd: 143


so there it is. I am sure it is something very simple bu I cant see it.
thanks
Bill B
Reply With Quote
  #24 (permalink)  
Old 11-28-2008, 10:41 AM
Special Member
 
Posts: 174
Default cat /etc/nsswitch.conf

bbarrons@ms2:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat
group: compat
shadow: compat

hosts: files dns mdns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
Reply With Quote
  #25 (permalink)  
Old 11-28-2008, 11:05 AM
Special Member
 
Posts: 174
Default

Bill, thanks for taking the time to help me sort this out. I didnt mean to hijack this thread and maybe should have started a new one but it was right in line with what I was working on.
I am heading into work now so I wont be back to try anything until late.
again, thanks for your time
Bill B
Reply With Quote
  #26 (permalink)  
Old 11-28-2008, 11:28 AM
Outstanding Member
 
Posts: 684
Default Start of Authority.

I noticed your start of authority is your local machine. Do you actually have Bind up and running properly? Silly question but I'm at a loss. Either way, I can't understand why you're not resolving from the hosts file.

Is it possible that you need to flush your DNS cache as you have to in Windows.

Link about cache in ubuntu
http://ubuntuforums.org/showthread.php?t=326186

Last edited by Bill Brock; 11-28-2008 at 11:40 AM..
Reply With Quote
  #27 (permalink)  
Old 11-28-2008, 12:24 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

I'll second that, from the information you've posted I don't understand why it's not resolving correctly either.

A restart or reload of BIND should reload all your files correctly but I'd suggest the next step would be a reboot. I assume you have forwarders specified in BIND (or are you using root servers)? If you have, I'd suggest removing the additional DNS servers from your resolv.conf and just leave your local DNS server.
__________________
Regards


Bill
Reply With Quote
  #28 (permalink)  
Old 11-29-2008, 06:03 AM
Special Member
 
Posts: 174
Smile what worked

first, thank you both for your replies... it helps greatly to talk things thru to a conclusion.
I logged into my server at the school to run some tests. It is virtually the same setup as my home server. I ran host `hostname` and it resolved to the host name of the server so I then started to look at the files involved. In /etc/resolv.conf my school server looked like this:

Code:
bbarrons@ms1:~$ cat /etc/resolv.conf
nameserver 192.168.3.5
domain stmarysstclair.org
here is how my home server looked:

Code:
bbarrons@ms2:~$ cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:      /usr/bin/NetworkManager
# Process_id:   6883
#
### END INFO
nameserver 192.168.1.120
nameserver 68.94.156.1
nameserver 68.94.157.1
So I did as you suggested and removed the forwarders because as you said they are already setup in bind.
It still didnt work so I then added this line to my file:

Code:
domain barronsfamily.net
so that it now looks like this:

Code:
bbarrons@ms2:~$ cat /etc/resolv.conf
nameserver 192.168.1.120
domain barronsfamily.net
worked as it should. thank you for being persistent.
Bill B

Last edited by phoenix; 11-29-2008 at 06:07 AM..
Reply With Quote
  #29 (permalink)  
Old 11-29-2008, 06:11 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Ah, that would explain it. I was assuming (always a fatal mistake) that you had that in there and just posting details of the DNS IP addresses earlier. My mistake for not spotting that. The 'domain' keyword tells the search what to append to the hostname when you do a query, that why it was failing as no domain name was added. Glad you've fixed it.
__________________
Regards


Bill
Reply With Quote
  #30 (permalink)  
Old 02-15-2012, 02:02 PM
Starter Member
 
Posts: 1
Default So, it was solved?

Quote:
Originally Posted by mbossmanh View Post
So far it still doesn't work. I'm going to give it another 24hours to see if that changes anything (with dns).

Otherwise, i think i have exhausted all my resources. I was thinking of trying another distribution. Which one can you recommend?

Thanks,
Mike
mbossmanh, have you ever knew what was the problem in your server configuration?
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.