DNS Issue

  • Thread starter Thread starter Mike C.
  • Start date Start date
M

Mike C.

Our city has outsourced a CSR system witch allows
citizens to access this website via the internet. I can
access this website via IP address just fine internally.
But, when I create a A record in DNS manager and give
this IP a name I can't get to it anymore with a browser.
I get a error in my browser Host not foound. I can ping
the name from a cmd line fine. Any ideas?

Thanks,

Mike C.
 
In
Mike C. said:
Our city has outsourced a CSR system witch allows
citizens to access this website via the internet. I can
access this website via IP address just fine internally.
But, when I create a A record in DNS manager and give
this IP a name I can't get to it anymore with a browser.
I get a error in my browser Host not foound. I can ping
the name from a cmd line fine. Any ideas?

Thanks,

Mike C.

What record are you creating? A 'www' record? If so, I assume you are giving
it the external IP, assuming the webserver is hosted externally.

Is your internal AD zone name (assuming you have AD) and the external domain
name the same?

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory

HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
I created just an A record. and yes I am giving it the
external IP address. I do have a www record but it points
to our website.
 
In
I created just an A record. and yes I am giving it the
external IP address. I do have a www record but it points
to our website.

So is the A record you created the www record? Just want to get this part
straight.

As for the other question, you may have missed answering it, Is your AD
domain name the same as the external? I'm assuming so, hence the need to
create the www record.

Ok, down to why you cannot connect. Its strange that you cannot connect to
your site after creating that record. You'r not using a Proxy, are you?

Can you ping that record from your machine?
Ping www.yourdomain.com and what IP do you get? The one you just created?
IT could also be a cache issue. One way to eliminate that is to:
1. Goto DNS, rt-click, select Clear Cache
2. Then on the client, run ipconfig /flushdns
Then try the ping again.

Also to point out, depending on the ISP that's hosting your site, some ISPs
use mutliple servers/IP and/or hostheaders to host websites. But its strange
that it will allow you to connect with just the IP address. Anywa, using one
specific IP may not work in some cases. To determine this, run this command:

nslookup
server 4.2.2.2
www.yourdomain.com

If you get a bunch of IPs, then that explains part of it. You can pick one
of them to use, but if this is the case it would be easier to create a
delegation called 'www' under your zone name and give it the SOA IP address
(the IP of the nameservers on record that you used when you registered your
external domain name).

But getting back to the IP thing, try to ping it first. Lets work from
there. If a simple ping doesn't work after you clearing the cache, then it
may come down to a DNS config on your client. What DNS addresses are on your
clients?

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory

HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
Our city has outsourced a CSR system witch allows
citizens to access this website via the internet. I can
access this website via IP address just fine internally.
But, when I create a A record in DNS manager and give
this IP a name I can't get to it anymore with a browser.
I get a error in my browser Host not foound. I can ping
the name from a cmd line fine. Any ideas?

I created just an A record. and yes I am giving it the
external IP address. I do have a www record but it points
to our website.

What is the name of the record? Did you create the record
in the zone with the same name (suffix)?

csr.domain.com must be created in the zone csr.domain.com

If you use the command line you can test the DNS with the
tool "nslookup". (Ignore any initial error about not being
able to find the name for, like this:

"*** Can't find server name for address xxx.xx.160.2"

..... As long as you get the actual answer to your question then
don't worry about these bogus errors.)

Use NSLookup like this:

nslookup www.yahoo.com

....versus...

nslookup www.yahoo.com Your.DNS.IP.Address

....versus (both of those) with your target name:

nslookup csr.yourDomain.Com
nslookup csr.yourDomain.Com Your.DNS.IP.Address

If you don't understand the output, copy and paste the
ACTUAL text from your command prompt to a message
and post them here -- do NOT post a picture or screen
graphic, nor type in the text please.

Also note, if this is NOT the name used by the web site for
itself, it may not function -- this is not truly a DNS issue but
a web specific one due to using "host headers" to distinguish
multiple web sites on a single server.

E.g., your site is CSR.city.us but you wish to call it csr.domain.com
(for some reason) -- this works fine (usually) IF your web
server has a separate address for each web site, but will
either fail or send you to a "default site" if the web server
has multiple sites using the same IP address.
 
Back
Top