LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help with DNS Entry (https://www.linuxquestions.org/questions/linux-networking-3/help-with-dns-entry-144799/)

ghight 02-11-2004 07:34 AM

Help with DNS Entry
 
Please take a look at this DNS entry for the company I work for. We had to change our DSL service and change DNS entries. As a result we are not getting e-mail. It's only been two days but we still haven't received a single thing yet. Before, we had a separate outside IP address for the mail server which is inside our firewall. With the old Cisco firewall we could add several different IPs to it and forward them on behind the firewall. With our newer Cayman, we can do an IP map to a separate IP address, but not to a specific port. To forward a specific port, I had to make the mail server IP in our DNS the same as the router (gateway). I'm hoping that if something comes in for port 25 on the gateway address it will forward it to port 25 on the server. Will this work? Our complete DNS entry is below. I just made and A record for the mail server. The router is not listed in the DNS but since the router and mail server share the same address do I need a CNAME record as well? Please if you are not absolutely sure don't reply. I don't want to get more comfused than I already am.

Also the Cayman is set to ClearSailing because to forward a specific port it needs to be on that. Is there anything else that I would need to do to get this to work?

_______START DNS________________
$TTL 1d
@ IN SOA feed10.sbc-webhosting.net. hostmaster.sbc-webhosting.net. (
2004021108
7200
3600
604800
)
threeieng.com. IN MX 50 mail.threeieng.com.
www.threeieng.com. IN MX 50 mail.threeieng.com.
mail.threeieng.com. IN A 67.38.176.142
threeieng.com. IN NS ns10a.sbc-webhosting.net.
threeieng.com. IN NS ns10b.sbc-webhosting.net.
smtp.threeieng.com. IN A 128.242.80.177
threeieng.com. IN A 128.242.80.177
webmail.threeieng.com. IN A 128.242.80.177
www.threeieng.com. IN A 128.242.80.177
ftp.threeieng.com. IN A 128.242.80.177

jazernorth 02-11-2004 08:32 AM

Notice how your MX record is pointing to a domain that does not exist? You need to have it be similar to the following:
Code:

$TTL 86400
@      IN      SOA    ns1.domain.net.  user.domain.net (
                        2004021108 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )

@              IN      A      111.222.333.444
@              IN      MX      10      mail.domain.net.
www            IN      CNAME  domain.net.
mail            IN      CNAME  domain.net.

Remember you need PERIODS after every domain name.

ghight 02-11-2004 09:31 AM

What do you mean by the domain does not exist? threeieng.com exist, but I'm thinking you are talking about something else

jazernorth 02-11-2004 09:41 AM

I looked again, and it is pointing, but your DNS entries are a mess.

Check out examples at http://www.rim.edu.bt/manual/linux/c...-8.1.2-5.html, in particular Section: /var/named/rim.zone.

You can use 'dig' (see 'man dig') to check your dns entries.

Enjoy.

JN

ghight 02-11-2004 10:27 AM

I'll second you on that, they are a mess, but the problem was with the router. Once I fixed that its all good. I guess they are "good enough."

Thanks for the help.


All times are GMT -5. The time now is 09:08 AM.