DNS on DC and problem with MX entrie

  • Thread starter Thread starter Jacek Stempkowski
  • Start date Start date
J

Jacek Stempkowski

Server DNS integrated with AD has entrie mail exchanger mail.domain.pl and
second entrie mail.domain.pl to ip adrress 192.168.1.1.
If I query this DNS about mail server I don't get response.

Example :

C:\WINDOWS>nslookup
Server default: server_dns.domain.pl
Address: 192.168.1.2
set q=mx
domain.pl
Server: server_dns.domena.pl
Address: 192.168.1.2

domain.pl
primary name server = server_dns.domain.pl
responsible mail addr = admin.domain.pl
serial = 810
refresh = 900 (15 mins)
retry = 600 (10 mins)
expire = 86400 (1 day)
default TTL = 3600 (1 hour)Any idea ?
 
Make sure you have a REVERSE zone (the mail systems often needs reverse zones
) and a mx point exists on normal zone
 
Jacek said:
Server DNS integrated with AD has entrie mail exchanger
mail.domain.pl and second entrie mail.domain.pl to ip
adrress 192.168.1.1. If I query this DNS about mail
server I don't get response.
What are the actual MX and A records?

Cheers,

Cliff
 
Jacek said:
MX record mail.domain.pl
A record mail.domain.pl - 192.168.1.1
The Domain is presumably domain.pl?
So you have something like:
SOA other stuff
MX 10 mail.domain.pl.
mail A 192.168.1.1

So you send mail to (e-mail address removed)?

If you query the DNS for an MX record for mail.domain.pl
then you will get no response, because the record is for
domain.pl. See that space to the left of the "MX" above? It
means that the MX applies to the current Domain Name and in
the zone file for 'domain.pl' that will normally be
'domain.pl'. So to write it out in full the zone file of
domain.pl contains, among other things the following:

(domain.pl.) SOA other stuff
(domain.pl.) MX 10 mail.domain.pl.
mail(.domain.pl.) A 192.168.1.1

An MX record relates a Domain Name to an ALIAS for the
Domain Name. In your case the Domain Name domain.pl is
related to its alias mail.domain.pl. The record starting
'mail' is implicitly part of domain.pl because that is the
zone in which it is contained (and this has not been changed).

All the bits in bracket in the table above can be omitted,
and usually are.

So you see, your MX record is really for 'domain.pl' and not
'mail.domain.pl'.

I've explained it in 'bind' type terms, but it acts in a
similar fashion in windows.

Cheers,

Cliff
 
Back
Top