• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

how to setup mx record with win2k dns?

for example i had registered www.xxxx.com and i had set xxxx.com's name server to my win2k server

i can setup subdomain for xxxx.com and i can resolve fine,, but i don't know how to setup a mx record, i had setup a mx record, like
mail    mail exchange        [10][public ip address]

i can send email but i can't receive any email from internet,, anyone know why?

ps. i have another domain name(yyy.com) and set its name server point to the same win2k server(i had set up the server with that yyy.com as a domain controller) and i just set up a mx record like
mail    mail exchange    [10][public ip address]

but this domain works fine, can receive and send emails..

0
smantha1979
Asked:
smantha1979
  • 7
  • 4
  • 3
  • +1
1 Solution
 
ITWorksNetworkCommented:
You have to set that up at the registrar level

You have to go to the website where you have registered the domain and create a mx record there pointing to the IP address of you exchange (or any other software) server

After you've done that just wait for the DNS records to propagate to the internet and Within 2 to 6 hours you should be back on line

Good luck
0
 
barrymercerCommented:
What does receiving email fail with? Send yourself one from a hotmail account or something similar.

Telnet to port 25 from a remote location and try to send an email by typing the following in:
helo me
mail from:<myemail@xxx.xxx>
rcpt to:<admin@xxx.xxx>
data
subject:test!!!

hi this is a test

.

quit

---

That should send an email to admin@xxx.xxx all being well. If it reports an error during sending, can you post that. If you can't telnet to the port, it's a firewall configuration issue. Or the SMTP service isnt running.... but im guessing you've checked that ;)
0
 
ccceqo2Commented:
You only setup MX records at the registra level if you are not using any other DNS features.
If you have a DNS server, then the registra points to that and everyone finds your MX records from there.

Go to a command prompt and farmiliarize yourself with nslookup. With this you can tell it to use some other DNS server, eg your ISP's DNS server, and lookup DNS records. This is how you figure out what the outside world sees when they go looking for your domain.

Basically, you want to open
> nslookup -d
then in this program type
> set type=mx
> server *ISP's DNS HERE*
www.xxxxxxx.com

you want to see something like:

Non-authoritative answer:
nottelling.com.au
        MX preference = 10, mail exchanger = mail.nottelling.com.au
        ttl = 3600 (1 hour)
nottelling.com.au
        MX preference = 65535, mail exchanger = somewherereliable.net
        ttl = 3600 (1 hour)


note my records are set to live for one hour, when you are working on DNS you will want to set this really low so you don't have to wait for an eternity before people see the changes.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
ccceqo2Commented:
oopsm that nslookup line should have no www. just the domain name.
0
 
smantha1979Author Commented:
i had setup dns with my win2k box, and i had point my domain to use my own dns server,
i dont can't get the mx record right with my win2k box
0
 
smantha1979Author Commented:
mistyped,

i just can't get the mx record right in my win2k box
0
 
smantha1979Author Commented:
i had telnet into my exchange, and works find,

just the mx record not setup correctly
0
 
ITWorksNetworkCommented:
Is your server behing some kind of router or firewall?
0
 
ITWorksNetworkCommented:
Try sending an email to your ip address like this.

user@192.168.0.1

where user is your username on exchange and use the ip address on your server.

I still stand behind the theory of the registrar mx record.
0
 
smantha1979Author Commented:
i am using my own dns server, so i have to setup the mx record in my win2k box.
i changed the name server to use my own dns server in my registar.
0
 
barrymercerCommented:
Try using the FQDN instead of just the host for the MX record, ie mail.mydomain.com not just mail
0
 
smantha1979Author Commented:
can't type "." with dns server in win2k
0
 
ccceqo2Commented:
Are you sure the problem is with the DNS? If you use nslookup and post the results then we will know for sure if your MX records are setup wright or wrong.
0
 
smantha1979Author Commented:
> set type=mx
> xxxx.com
Server:  [*.*.*.*]
Address:  *.*.*.*

xxxx.com
        primary name server = server.xxxx.com
        responsible mail addr = admin.xxxx.com
        serial  = 11
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)
>
0
 
barrymercerCommented:
dont you have to point MX records at an A record? ie, to an actual host, not an IP address? Or doesn't it matter? Mine seem to be set up that way on my 2k domain, and it works alright :)
0
 
ccceqo2Commented:
In DNS right click on your full domain name, zzzzz.com and select "new mail exchanger"
In the first box - "host or domain" leave it blank
In the second box - put the full domain name   mail.zzzzzz.com
Leave the priority at 10 unless you know why you want to change it.
Hit OK.
Now make sure that you have an entry with name "mail" and type "host" listed in the domain, if not create it and point to the right IP address.
Double click on your "start of authority" record, click increment and then click OK
Right click on your server and select "update server data files".
...
wait for DNS ttl to time out.
Test from here:
http://www.webmaster-toolkit.com/mx-record-lookup.shtml
0
 
smantha1979Author Commented:
ah. when i creacte a new mail exchanger, the first box i typed mail, probably that made a difference..
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

  • 7
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now