LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2011, 05:18 AM   #31
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled

mail4:~ # dig mail4.zimbra.si

; <<>> DiG 9.5.0-P2 <<>> mail4.zimbra.si
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56709
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail4.zimbra.si. IN A

;; AUTHORITY SECTION:
zimbra.si. 10800 IN SOA fwimp.alcad.si. postmaster.alcad.si. 2004090803 28800 14400 604800 86400

;; Query time: 13 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Wed Aug 3 12:05:14 2011
;; MSG SIZE rcvd: 92


I still think that you are not using this zone file when named runs (or you have mixed the 2 zone files). - How to test that ?




What log to check ???
 
Old 08-03-2011, 05:31 AM   #32
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
It think now it's everythink OK.


mail4:~ # nslookup zimbra.si
Server: 192.168.2.22
Address: 192.168.2.22#53

Name: zimbra.si
Address: 192.168.2.22
 
Old 08-03-2011, 05:45 AM   #33
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Yup, now it's working. What did you change?
 
Old 08-03-2011, 05:50 AM   #34
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
In named.conf I have to uncomment forwarders ?

forwarders { 84.255.209.79; 84.255.210.79; };

I did this and nslookup in still OK
 
Old 08-03-2011, 05:54 AM   #35
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Yup, now it's working. What did you change?
I think it was one stupid characters that I forgot in named.conf. My mistake, but I try so many thinks that I haven't see that.

But without your help, I would not succeed. Thank you milion time.


How can I be 100% sure that everthing is now OK.

OK nslookup is working, what more ..
 
Old 08-03-2011, 06:09 AM   #36
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Quote:
In named.conf I have to uncomment forwarders ?
You don't need the forwarders, unless you have a zone of type forward. Anything else can be resolved just using the hint zone.


Quote:
How can I be 100% sure that everthing is now OK.
OK nslookup is working, what more ..
Better use dig to test, as its output is far more informative.
Anyway if you get the responses you expect from the dns, then it's working file

Cheers
 
Old 08-03-2011, 06:20 AM   #37
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
OK, then I don't need forwarders

How will I received mail from outside if I don't use forwards for outside.


mail4:~ # nslookup zimbra.si
Server: 192.168.2.22
Address: 192.168.2.22#53

Name: zimbra.si
Address: 192.168.2.22

mail4:~ # nslookup mail4.zimbra.si
Server: 192.168.2.22
Address: 192.168.2.22#53

Name: mail4.zimbra.si
Address: 192.168.2.22

mail4:~ # host $(hostname)
mail4.zimbra.si has address 192.168.2.22


mail4:~ # dig zimbra.si mx

; <<>> DiG 9.5.0-P2 <<>> zimbra.si mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26678
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;zimbra.si. IN MX

;; ANSWER SECTION:
zimbra.si. 2592000 IN MX 10 mail.almont.si.

;; AUTHORITY SECTION:
zimbra.si. 2592000 IN NS mail4.almont.si.

;; ADDITIONAL SECTION:
mail.zimbra.si. 2592000 IN A 192.168.2.22
mail4.zimbra.si. 2592000 IN A 192.168.2.22

;; Query time: 2 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Wed Aug 3 13:10:15 2011
;; MSG SIZE rcvd: 100

mail4:~ # dig zimbra.si any

; <<>> DiG 9.5.0-P2 <<>> zimbra.si any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29289
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;zimbra.si. IN ANY

;; ANSWER SECTION:
zimbra.si. 2592000 IN SOA mail4.almont.si. root.mail4.almont.si. 10659 43200 3600 3600000 2592000
zimbra.si. 2592000 IN NS mail4.almont.si.
zimbra.si. 2592000 IN MX 10 mail.almont.si.
zimbra.si. 2592000 IN A 192.168.2.22

;; ADDITIONAL SECTION:
mail4.zimbra.si. 2592000 IN A 192.168.2.22
mail.zimbra.si. 2592000 IN A 192.168.2.22

;; Query time: 2 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Wed Aug 3 13:10:27 2011
;; MSG SIZE rcvd: 157
 
Old 08-03-2011, 07:28 AM   #38
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Quote:
How will I received mail from outside if I don't use forwards for outside.
You are confusing the meaning of forwarding. In dns it's used to forward queries to other servers that can answer them. It has nothing to do with mail.
The port forwarding that I guess you are talking about, is when you configure a router to forward packets from an external IPort to an internal IPort
Quote:
;; ANSWER SECTION:
zimbra.si. 2592000 IN MX 10 mail.almont.si.

;; AUTHORITY SECTION:
zimbra.si. 2592000 IN NS mail4.almont.si.
From the above MX lookup your domain is using a public mail server. You can setup fetchmail to get the mails from this server and deliver them locally to your users. There are lots of tutorials on the net about that, so you can use google to find one that fits your needs.
 
Old 08-03-2011, 07:34 AM   #39
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
OK Thanks for all your help.

Last edited by sameone; 08-03-2011 at 08:10 AM.
 
Old 08-03-2011, 08:05 AM   #40
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
I've seen your other thread about the reverse proxy and apache.
I might answer there if I can understand what you're trying to do, so please edit your other post and add more details

And you may mark this thread SOLVED

Regards
 
Old 08-03-2011, 08:10 AM   #41
sameone
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Yes please see my other post and I you need some more infomation just ask

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No TCP connection to host if the DNS resolved IP same as gateway IP rbhuksin Linux - Networking 6 07-24-2009 01:42 PM
dns is resolved but the site shows default page sunethj Linux - Server 2 01-08-2008 03:04 AM
weird dns problem, all names resolved except one rogerdv Linux - Networking 4 06-14-2007 07:46 AM
SUSE 10.0 (eval dvd) DNS's not resolved after starting X 1kyle SUSE / openSUSE 3 03-23-2006 05:08 AM
SUSE 10.0 (eval dvd) DNS's not resolved 1kyle SUSE / openSUSE 0 03-23-2006 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration