Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Website is accessible (with own DNS) but no mail!

Status
Not open for further replies.

n03l

Technical User
Jul 10, 2001
6
0
0
NL
Okay, I've managed to get my DNS to work for 50% I guess.

My Websites are accessible to the world (for now) but mail is still a no go :/

Also when I do a nslookup for my nameserver (ns1.overnet.us) I get sometime a good response from it (the IP) but sometimes a "can not resolve/server faild" error!

This is how my db file looks like (for now!):

;
; Database file for zone.
; Zone version: 10
;

@ IN SOA netserver.home. hostmaster.overnet.us. (
10 ; serial number
900 ; refresh
600 ; retry
86400 ; expire
3600 ) ; minimum TTL

;
; Zone NS records
;

@ NS ns1.overnet.us.
ns1.overnet.us. A 62.216.6.82

;
; Zone records
;

@ A 62.216.6.82
mail MX 10 62.216.6.82.
MX 10 www CNAME

--
One other question. What's the @ ? Should this not be the name of the server? (in my case nesterver.home)

Thanks for the help.

Noel.
 
In a zone file, the @ symbol denotes the root domain name (which in your case, I'm assuming is "overnet.us", not " as you typed in).

you can't have an MX record point to an IP address, it's technically illegal, that's why half the time you're failing resolution (since you "weighted" both of your MX entries the same).
You need to change the "mail" MX entry to point to a hostname, like
 
Thanks brontosaurus (are you a big, old person near extinction?)

I guess the db should look like this than?

;
; Database file for zone.
; Zone version: 10
;

@ IN SOA netserver.home. hostmaster.overnet.us. (
10 ; serial number
900 ; refresh
600 ; retry
86400 ; expire
3600 ) ; minimum TTL

;
; Zone NS records
;

@ NS ns1.overnet.us.
ns1.overnet.us. A 62.216.6.82

;
; Zone records
;

@ A 62.216.6.82
mail MX 10 www CNAME overnet.us.

--

One more small thing¿ When you do a NSLOOKUP on a real DNS you get all the data (like from who it is and stuff like that) Where and how do I set my DNS to do this?

Thanks again for the help.

Noel.
 
1) I am not big, I'm not (very) old, but I'm relatively sure I am near extinction.

2) That zone file probably won't work unless you change the record for an actual IP address instead of a CNAME.

3) If you allow zone transfers from your server, folks will see all the records. This is fast becoming an unpopular practice, however.
 
Ok well I'm lost now!

As you would have guessed by now.. I'm new to this stuff.

So I should change the record for the an actueal IP address instead of a CNAME?

Should it be like this (last line of my db file)?
www CNAME 62.216.6.82
or like this?
www A 62.216.6.82

Again, thanks for any reply!

Noel.
 
yes. the as a CNAME would have been fine if you weren't also using it for MX, as CNAME's are also technically illegal in this case. Alternately, you could also just point the MAIL MX entry at overnet.us , and leave the of this.
 
Thanks for you help bronto.

I'm still a bit confused.. Maybe it's cause english is not my mother's tong.

I've changed the db to:

..
..

;
; Zone NS records
;

@ NS ns1.overnet.us.
ns1.overnet.us. A 62.216.6.82
@ NS netserver.home.

;
; Zone records
;

@ A 62.216.6.82
mail MX 10 overnet.us.
www CNAME overnet.us.

Let's see what will happen.

Thanks again and have a nice day.

Noel.
 
Is that your actual registered domain name? If you give me your actual domain name, I can test it. Otherwise, it looks OK. Good Luck.
 
You know, I'm sorry, but I completely overlooked something because I thought you were giving me a partial listing. Your zone file doesn't contain an MX record for your actual domain name. Here's what you should do:

@ MX 10 mail.overnet.us.
mail A 62.216.6.82


I apologize for making that assumption. Leave all your other records alone and just make this change. You'll be fine.
 
Eej Bronto. No problem. It's me who should apologize for not being clear to you!

Anyway, I've changed the DB file again. Let's wait and see what's going to happen.

Noel.

PS. Yes the domain name overnet.us is mine!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top