LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-11-2004, 08:34 AM   #1
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
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
 
Old 02-11-2004, 09:32 AM   #2
jazernorth
Member
 
Registered: Jan 2004
Location: Green Bay
Distribution: RedHat 8.0, LFS-5.0
Posts: 100

Rep: Reputation: 15
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.
 
Old 02-11-2004, 10:31 AM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
What do you mean by the domain does not exist? threeieng.com exist, but I'm thinking you are talking about something else
 
Old 02-11-2004, 10:41 AM   #4
jazernorth
Member
 
Registered: Jan 2004
Location: Green Bay
Distribution: RedHat 8.0, LFS-5.0
Posts: 100

Rep: Reputation: 15
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
 
Old 02-11-2004, 11:27 AM   #5
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
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.
 
  


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
how can I check a dns entry? barrys Mandriva 3 08-21-2004 01:02 PM
Saving DNS Entry mcsphog Linux - Networking 2 06-19-2004 01:02 PM
DNS Entry Addition pradsy90 Linux - General 1 06-07-2004 02:34 AM
DNS entry to specific Port? paintcheck200 Linux - Networking 2 05-03-2004 11:22 AM
hosts entry for a lan unit with no dns entry linxtc Linux - Networking 1 10-03-2003 09:05 AM

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

All times are GMT -5. The time now is 02:46 AM.

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