Page 1 of 1

DNS setup

Posted: Sun Nov 12, 2006 1:07 pm
by amir
This post originally initiated under another topic which was not appropriate for this subject.
(http://www.scalix.com/community/viewtopic.php?p=20855)

I have quoted related posts:

what has to be done (regarding DNS) to setup a mail server for a domain name.

This is what I have done so far:

1) Created an A record for MYDOMAIN.com called mail.MYDOMAIN.com
2) Pointed the MX record of the domain to mail.MYDOMAIN.com
3) On scalix box modified /etc/hosts to the following:

Code: Select all

127.0.0.1 localhost.localdomain localhost
192.168.1.180 mail.mydomain.com mailhost


What else should I do?

---------------------------------------------------
Posted: Sun Nov 12, 2006 5:52 am
mephisto:

Do you also have a reverse lookup for this? You can check by running
nslookup IPADDRESSOFYOURMAILSERVER

You should get something like this back:

Code: Select all

Name:    mail.mydomain.com
Address:  xxx.xxx.xxx.xxx

Posted: Sun Nov 12, 2006 1:09 pm
by amir
No,

How do I setup the reverse lookup?

192.168.1.180 is the scalix box

Code: Select all

c:\>nslookup 192.168.1.180
Server:  resolver1.opendns.com
Address:  208.67.222.222

*** resolver1.opendns.com can't find 192.168.1.180: Non-existent domain

c:\>nslookup 192.168.1.180
Server:  resolver1.opendns.com
Address:  208.67.222.222

*** resolver1.opendns.com can't find 192.168.1.180: Non-existent domain

Assume 1.2.3.4 is my external IP.

Code: Select all

c:\>nslookup 1.2.3.4
Server:  resolver1.opendns.com
Address:  208.67.222.222

Name:    CPE000c41357d59-CM00122570440e.cpe.net.cable.rogers.com
Address:  1.2.3.4

Posted: Sun Nov 12, 2006 4:12 pm
by mephisto
Do you have a static external IP? In that case you need to talk to your internet provider to set the reverse lookup for you. If not, it can't be done. Mailservers with dynamic IP adresses are generally a very bad idea.
As for the internal lookup: This depends on your DNS software. Please consult the regarding documentation.

Posted: Sun Nov 12, 2006 6:51 pm
by amir
mephisto wrote:Do you have a static external IP?


Yes I have.

mephisto wrote: In that case you need to talk to your internet provider to set the reverse lookup for you. If not, it can't be done. Mailservers with dynamic IP adresses are generally a very bad idea.
As for the internal lookup: This depends on your DNS software. Please consult the regarding documentation.


So I have to have a DNS server running on my internal network? (may be on the same sserver as Scalix)

This sever I am setting up is just for development, but I need it to work (send and receive email from out side of the network) I dont care if some servers make my emails as spam cause its sent from a cable connection.

In this case, do I really need to contact my ISP to setup reverse DNS look up? is it essential for Scalix to work?

Posted: Mon Nov 13, 2006 5:56 am
by mephisto
From what I understand you need an internal DNS and reverse lookups. You also need the scalix-default-mail entry as documented in the installation docs.

Posted: Mon Nov 13, 2006 11:53 am
by amir
So I have to have a DNS server on my LAN, like BIND.

Please answer my other question that is haveing my IP address resolve to my hostname at my ISP's DNS neccessary to run the mail server? or is it just for preventing emails to look like Spam?

I greatly appriciate it if someone post all the steps that should be taken regarding DNS settings to run a mail server on a cable connection for one domain.

Posted: Mon Nov 13, 2006 12:16 pm
by mephisto
You need the reverse lookup for your external IP if you want to use Scalix Connect for Outlook over the internet - unless you are using a VPN which should be the preferred way because the SCfO connection itself is not encrypted.