Need help on DNS setting

J

Jim

Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?
 
K

Kevin D. Goodknecht [MVP]

In
Jim said:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for www.mydomain.com it
should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

That being said, it will work fine only within your LAN it will not work for
anyone on the internet because it won't resolve to routable public
addresses. You will need to set your public DNS on another machine or with a
public provider and have only public records in it. Internal machines will
not be able to use it just as internet user. cannot use the internal DNS you
have posted here.
 
J

Jim

-----Original Message-----
In Jim <[email protected]> posted a question
Then Kevin replied below:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for www.mydomain.com it
should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

You are absolutely correct. That's what I am getting from
the LAN side.
That being said, it will work fine only within your LAN it will not work for
anyone on the internet because it won't resolve to routable public
addresses. You will need to set your public DNS on another machine or with a
public provider and have only public records in it. Internal machines will
not be able to use it just as internet user. cannot use the internal DNS you
have posted here.

Can't I use the same server to set my public DNS? What I
really want to do is to set up a web site, a ftp for
public use. People can access our web or ftp by typing
www.mydomain.com or ftp.mydomain.com. An email system for
employees. How should I do it internally?
--
Best regards,
Kevin D4 Dad Goodknecht Sr. [MVP]
Hope This Helps
============================
When responding to posts, please "Reply to Group" via your
newsreader so that others may learn and benefit from your issue.
To respond directly to me remove the nospam. from my
email.
 
J

Jim

Let me make my questions more readable here:

"Is your web site using host headers?"
I am not sure what you mean about that. I have set up my
web server on same machine, cpu1, using ip 192.168.2.57
and with no host header. (I did try to add
www.mydomain.com as host header. But it made no
difference. I have deleted it.)

Internally, just like you said. nsllokup get
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

"You will need to set your public DNS on another machine
and have only public records in it."
Can I use the same W2K server, cpu1, to set my public DNS?
If yes, how? I thought I have put aa.bb.cc.xxx in DNS
record will do it. Obviously, I was wrong. Should I delete
it?
If setting up another DNS server for public DNS is
necessary, can I use another machine cpu2 with internal ip
of 192.168.2.14? What should I put there? Exactly same as
cpu1 except using ip of aa.bb.cc.xxx?

Your patience will be appreciated.

Jim

-----Original Message-----
In Jim <[email protected]> posted a question
Then Kevin replied below:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for www.mydomain.com it
should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

That being said, it will work fine only within your LAN it will not work for
anyone on the internet because it won't resolve to routable public
addresses. You will need to set your public DNS on another machine or with a
public provider and have only public records in it. Internal machines will
not be able to use it just as internet user. cannot use the internal DNS you
have posted here.


--
Best regards,
Kevin D4 Dad Goodknecht Sr. [MVP]
Hope This Helps
============================
 
J

Jim

One more thing I noticed. When I did nslookup from the
cpu1, I got exact response like you described. But, when I
did it from another W2K Pro machine, there is one more
line at the bottom:

*** www.mydomain.com can't find nslookup: Server failed

Why is that?
-----Original Message-----
In Jim <[email protected]> posted a question
Then Kevin replied below:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for www.mydomain.com it
should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

That being said, it will work fine only within your LAN it will not work for
anyone on the internet because it won't resolve to routable public
addresses. You will need to set your public DNS on another machine or with a
public provider and have only public records in it. Internal machines will
not be able to use it just as internet user. cannot use the internal DNS you
have posted here.





.
 
J

Jim

My previous message did not describe the conditions:

The nslookup I did on W2K Pro machine is under root
directory. C:>
But on cpu1 is under
c:\Documents & Setting\Administrator>

If I change to root c:\
I got the same thing except it says Non-existence Domain

If I did nslookup on W2K Pro under
c:\Documents & Setting\my name>
It came out OK.

I hope I did not confuse you.

Jim
-----Original Message-----
In Jim <[email protected]> posted a question
Then Kevin replied below:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for www.mydomain.com it
should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

That being said, it will work fine only within your LAN it will not work for
anyone on the internet because it won't resolve to routable public
addresses. You will need to set your public DNS on another machine or with a
public provider and have only public records in it. Internal machines will
not be able to use it just as internet user. cannot use the internal DNS you
have posted here.





.
 
K

Kevin D. Goodknecht [MVP]

In
Jim said:
-----Original Message-----
In
Jim said:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for
www.mydomain.com it should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

You are absolutely correct. That's what I am getting from
the LAN side.
That being said, it will work fine only within your LAN it will not
work for anyone on the internet because it won't resolve to routable
public addresses. You will need to set your public DNS on another
machine or with a public provider and have only public records in
it. Internal machines will not be able to use it just as internet
user. cannot use the internal DNS you have posted here.

Can't I use the same server to set my public DNS? What I
really want to do is to set up a web site, a ftp for
public use. People can access our web or ftp by typing
www.mydomain.com or ftp.mydomain.com. An email system for
employees. How should I do it internally?
Since you need access by name both from your LAN and the internet you need
two DNS namespaces one for your LAN one for the public. I will explain
starting for the public DNS.
Your public DNS must contain records that must only resolve to Public IP
addresses, only. This is so you can recieve mail from the internet and
access your web site from the internet. The only way you can do this from
one DNS server would be to use a different name inside the LAN from the name
for the public.
If you have already set up your internal domain as company.com you need to
use a different name on the internet such as company.net. If your internal
name was something like corp.company.com then that would leave company.com
to use on the internet.

Your Public zone for company.com needs this.
Two NS records with *two* *different* *IP* *addresses* that must be
registered with your registrar and listed at the parent TLD servers such as
ns1.company.com <publicipaddress>
ns2.company.com <public ipaddress>
Those NS records must be listed on the zone as well, one of them will be
your SOA record (primary name server)

At least one MX record pointing to a mail server name that resolves *only*
to a public IP address it will look like this in the DNS GUI:
(same as parent folder) MX [10] smtp.company.com
smtp A <publicipaddress>

Then you need other host records for your web sites and ftp sites
www A <publicipaddress>
ftp A <publicipaddress>

None of these record can have IP address that are not routable or it could
mean you won't recieve your mail.

Your internal zone which must be either a different name or on a different
DNS server. Since you want to keep your public zone in house it must be a
different name so there is no way your public records can resolve to private
addresses you can use corp.company.com or company.net.
the main thing you have to remember is that if you have an MX record in your
internal zone it must point to your public mail server do not point it to a
private record that is the main problem you have now the MX record points to
a private record.
(same as parent folder) MX [10] smtp.company.com
www A <privateipaddress>
ftp A <privateipaddress>

I hope I have been clear in my explaination
 
K

Kevin D. Goodknecht [MVP]

In
Jim said:
Let me make my questions more readable here:

"Is your web site using host headers?"
I am not sure what you mean about that. I have set up my
web server on same machine, cpu1, using ip 192.168.2.57
and with no host header. (I did try to add
www.mydomain.com as host header. But it made no
difference. I have deleted it.)
Actually host headers on IIS provide you some security there are worms that
attack web sites that can be accessed by their IP address (code red was one
of these) So even your default web site needs a host header. Then if you try
to access the web server by IP you get this:
No web site is configured at this address.

Internally, just like you said. nsllokup get
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

"You will need to set your public DNS on another machine
and have only public records in it."
Can I use the same W2K server, cpu1, to set my public DNS?
If yes, how? I thought I have put aa.bb.cc.xxx in DNS
record will do it. Obviously, I was wrong. Should I delete
it?

Yes you can but as I stated in my previous post you need two different
domain names i.e. company.com and corp.company.com or company.net
If setting up another DNS server for public DNS is
necessary, can I use another machine cpu2 with internal ip
of 192.168.2.14? What should I put there? Exactly same as
cpu1 except using ip of aa.bb.cc.xxx?

You must use differnet NS records internally and externally cpu1 is fine
internally it resolves to a private address your public NS records must
resolve to public addresses Which by the way you must have two public NS
records and two public IP addresses.
 
K

Kevin D. Goodknecht [MVP]

In
Jim said:
One more thing I noticed. When I did nslookup from the
cpu1, I got exact response like you described. But, when I
did it from another W2K Pro machine, there is one more
line at the bottom:

*** www.mydomain.com can't find nslookup: Server failed

It sounds like nslookup was already running and you typed it in the command
it was running on.
Why is that?
-----Original Message-----
In
Jim said:
Hi, everyone. I have tried for 3 days and still can't
understand where I got wrong. Here is the situation:

I have ADSL service and a domain name registered. ie.
mydomain.com
My registrar has directed my dns to
cpu1.mydomain.com with my ip address of aa.bb.cc.xxx and
cpu2 with same ip address of aa.bb.cc.xxx
I used a ADSL router SMC 7400ABR with default ip of
192.168.2.1. My cpu1.mydomain.com has behind router has
private ip of 192.168.2.57 and cpu2 has ip of 192.168.2.14

I have configured the ADSL router virtual server as
follows:
Private IP Port Type Public Port
192.168.2.57 80 TCP 80
192.168.2.57 20 TCP 20
192.168.2.57 21 TCP 21
192.168.2.57 110 TCP 110
192.168.2.57 23 TCP 23
192.168.2.57 53 TCP 53

W2K SP4 AD DNS Forward zone setting
mydomain.com
(Same as Parent Folder) SOA [2427], cpu1.mydomain.com,
admin.
(Same as Parent Folder) NS cpu1.mydomain.com
(Same as Parent Folder) NS cpu2
(Same as Parent Folder) A aa.bb.cc.xxx
(Same as Parent Folder) A 192.168.2.57
(Same as Parent Folder) MX [10]cpu1.mydomain.com
cpu1 A 192.168.2.57
cpu2 A 192.168.2.14
ftp CNAME cpu1.mydomain.com
WWW CNAME cpu1.mydomain.com

Reverse Zone

0 in-addr.arpa
127 in-addr.arpa
2.168.192 in-addr.arpa
255 in-addr.arpa
cc.bb.aa in-addr.arpa

all NS and SOA set cpu1.mydomain.com

The 2.168.192 in-addr.arpa also show 57 PTR

I have no problem to view my web page from wan side by
typing http://cpu1.mydomain.com, http://cpu2.mydomain.com
or http://aa.bb.cc.xxx
but not www.mydomain.com

It is a small operation. I will use this cpu1 server as
dns server as well as www, ftp and mail.
What did I do wrong on dns setup?

Is your web site using host headers?
Internally www.mydomain.com should resolve to the same IP address as
cpu1.mydomian.com, run nsllokup against your DNS for
www.mydomain.com it should have this answer:
Name: cpu1.mydomain.com
Address: 192.168.2.57
Aliases: www.mydomain.com

That being said, it will work fine only within your LAN it will not
work for anyone on the internet because it won't resolve to routable
public addresses. You will need to set your public DNS on another
machine or with a public provider and have only public records in
it. Internal machines will not be able to use it just as internet
user. cannot use the internal DNS you have posted here.





.
 
K

Kevin D. Goodknecht [MVP]

In
Jim said:
My previous message did not describe the conditions:

The nslookup I did on W2K Pro machine is under root
directory. C:>
But on cpu1 is under
c:\Documents & Setting\Administrator>

If I change to root c:\
I got the same thing except it says Non-existence Domain

If I did nslookup on W2K Pro under
c:\Documents & Setting\my name>
It came out OK.
When you open your command prompt and enter nslookup it stays running until
you close the window or type and enter "exit"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top