Sign in with
Sign up | Sign in
Your question

Default IP returned for the entire domain???

Last response: in Windows 2000/NT
Share
Anonymous
January 16, 2005 9:13:59 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

I have two Win2K active directory DNS servers for a domain - let's say s1
and s2 for the mydomain.com domain.

I have "www" pointing to s2. So if a user goes to www.mydomain.com - then it
works. But the standard seems to be, to have a handler for if someone types
(or they end up going to) http://mydomain.com/ (without the www)

Right now, if I ping www.mydomain.com - it points to s2 (which is correct).
but if I ping mydomain.com - it brings back the IP address of s1 - which is
NOT correct.

Where does the DNS get this? How can I change this???

In short, I want the 'default' IP address for a domain, to be
s2.mydomain.com


thanks!!
Anonymous
January 16, 2005 9:14:00 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

"RCS" <rseder@gmail.com> wrote in message
news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
> I have two Win2K active directory DNS servers for a domain - let's say s1
> and s2 for the mydomain.com domain.
>
> I have "www" pointing to s2. So if a user goes to www.mydomain.com - then
it
> works. But the standard seems to be, to have a handler for if someone
types
> (or they end up going to) http://mydomain.com/ (without the www)
>
> Right now, if I ping www.mydomain.com - it points to s2 (which is
correct).
> but if I ping mydomain.com - it brings back the IP address of s1 - which
is
> NOT correct.

Do you have an AD domain in this zone?

If so you cannot do what you wish internally UNLESS the
DC is also the web server.

All DCs in AD domains register the bare domain/zone name
thus: domain.com

--
Herb Martin


"RCS" <rseder@gmail.com> wrote in message
news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
> I have two Win2K active directory DNS servers for a domain - let's say s1
> and s2 for the mydomain.com domain.
>
> I have "www" pointing to s2. So if a user goes to www.mydomain.com - then
it
> works. But the standard seems to be, to have a handler for if someone
types
> (or they end up going to) http://mydomain.com/ (without the www)
>
> Right now, if I ping www.mydomain.com - it points to s2 (which is
correct).
> but if I ping mydomain.com - it brings back the IP address of s1 - which
is
> NOT correct.
>
> Where does the DNS get this? How can I change this???
>
> In short, I want the 'default' IP address for a domain, to be
> s2.mydomain.com
>
>
> thanks!!
>
>
Anonymous
January 17, 2005 5:01:16 AM

Archived from groups: microsoft.public.win2000.dns (More info?)

Thanks for the response.

I'm not sure exactly what you mean. Here's more info:

s1 is like a test box. it's a web server, sql server and also has DNS on it.
It's a AD domain controller and DNS is AD-integrated.

s2 is the public web site, sql server and it has DNS on it. It's the other
AD domain controller and the DNS is AD-integrated, obviously.

Right now, mydomain.com returns the IP of s1 - would I would like to do is
have it return the IP of s2.

Is that possible?? Because the DC is also the web server, which is also a
DNS server - it sounds like you are saying it is? If so - how?? thanks
again!


"Herb Martin" <news@LearnQuick.com> wrote in message
news:%23SqNZdB$EHA.3924@TK2MSFTNGP15.phx.gbl...
> "RCS" <rseder@gmail.com> wrote in message
> news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
>> I have two Win2K active directory DNS servers for a domain - let's say s1
>> and s2 for the mydomain.com domain.
>>
>> I have "www" pointing to s2. So if a user goes to www.mydomain.com - then
> it
>> works. But the standard seems to be, to have a handler for if someone
> types
>> (or they end up going to) http://mydomain.com/ (without the www)
>>
>> Right now, if I ping www.mydomain.com - it points to s2 (which is
> correct).
>> but if I ping mydomain.com - it brings back the IP address of s1 - which
> is
>> NOT correct.
>
> Do you have an AD domain in this zone?
>
> If so you cannot do what you wish internally UNLESS the
> DC is also the web server.
>
> All DCs in AD domains register the bare domain/zone name
> thus: domain.com
>
> --
> Herb Martin
>
>
> "RCS" <rseder@gmail.com> wrote in message
> news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
>> I have two Win2K active directory DNS servers for a domain - let's say s1
>> and s2 for the mydomain.com domain.
>>
>> I have "www" pointing to s2. So if a user goes to www.mydomain.com - then
> it
>> works. But the standard seems to be, to have a handler for if someone
> types
>> (or they end up going to) http://mydomain.com/ (without the www)
>>
>> Right now, if I ping www.mydomain.com - it points to s2 (which is
> correct).
>> but if I ping mydomain.com - it brings back the IP address of s1 - which
> is
>> NOT correct.
>>
>> Where does the DNS get this? How can I change this???
>>
>> In short, I want the 'default' IP address for a domain, to be
>> s2.mydomain.com
>>
>>
>> thanks!!
>>
>>
>
>
Related resources
Anonymous
January 17, 2005 5:01:17 AM

Archived from groups: microsoft.public.win2000.dns (More info?)

In news:M%EGd.18247$by5.11564@newssvr19.news.prodigy.com,
RCS <rseder@gmail.com> commented
Then Kevin replied below:
>>> I have two Win2K active directory DNS servers for a
>>> domain - let's say s1 and s2 for the mydomain.com
>>> domain.
>>>
>>> I have "www" pointing to s2. So if a user goes to
>>> www.mydomain.com - then it works. But the standard
>>> seems to be, to have a handler for if someone types (or
>>> they end up going to) http://mydomain.com/ (without the
>>> www)
>>>
>>> Right now, if I ping www.mydomain.com - it points to s2
>>> (which is correct). but if I ping mydomain.com - it
>>> brings back the IP address of s1 - which is NOT correct.
>>>
>>> Where does the DNS get this? How can I change this???
>>>
>>> In short, I want the 'default' IP address for a domain,
>>> to be s2.mydomain.com

In an Active Directory domain environment, the domain name must resolve to
the private interface in which file sharing is enabled on all domain
controllers. You have no choice on the matter, it could cause Group policies
to fail to be applied if you change it.

This record is for the domain DFS Share at \\mydomain.com\sysvol which
exists on all DCs. your only choice is to create a website for mydomain.com
on all DCs and have IIS redirect the site to http://www.mydomain.com

--
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 address.
===================================
http://www.lonestaramerica.com/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================
Anonymous
January 17, 2005 5:01:17 AM

Archived from groups: microsoft.public.win2000.dns (More info?)

It also sounds like you are trying to use the same
DNS server for both internal (internal AD zone)
and external (Internet) resolution.

That doesn't usually work correctly or is very
insecure.

In general, your public DNS should be left at the
REGISTRAR (or returned there) if they offer
that service -- most of them do.

--
Herb Martin


"RCS" <rseder@gmail.com> wrote in message
news:M%EGd.18247$by5.11564@newssvr19.news.prodigy.com...
> Thanks for the response.
>
> I'm not sure exactly what you mean. Here's more info:
>
> s1 is like a test box. it's a web server, sql server and also has DNS on
it.
> It's a AD domain controller and DNS is AD-integrated.
>
> s2 is the public web site, sql server and it has DNS on it. It's the other
> AD domain controller and the DNS is AD-integrated, obviously.
>
> Right now, mydomain.com returns the IP of s1 - would I would like to do is
> have it return the IP of s2.
>
> Is that possible?? Because the DC is also the web server, which is also a
> DNS server - it sounds like you are saying it is? If so - how?? thanks
> again!
>
>
> "Herb Martin" <news@LearnQuick.com> wrote in message
> news:%23SqNZdB$EHA.3924@TK2MSFTNGP15.phx.gbl...
> > "RCS" <rseder@gmail.com> wrote in message
> > news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
> >> I have two Win2K active directory DNS servers for a domain - let's say
s1
> >> and s2 for the mydomain.com domain.
> >>
> >> I have "www" pointing to s2. So if a user goes to www.mydomain.com -
then
> > it
> >> works. But the standard seems to be, to have a handler for if someone
> > types
> >> (or they end up going to) http://mydomain.com/ (without the www)
> >>
> >> Right now, if I ping www.mydomain.com - it points to s2 (which is
> > correct).
> >> but if I ping mydomain.com - it brings back the IP address of s1 -
which
> > is
> >> NOT correct.
> >
> > Do you have an AD domain in this zone?
> >
> > If so you cannot do what you wish internally UNLESS the
> > DC is also the web server.
> >
> > All DCs in AD domains register the bare domain/zone name
> > thus: domain.com
> >
> > --
> > Herb Martin
> >
> >
> > "RCS" <rseder@gmail.com> wrote in message
> > news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
> >> I have two Win2K active directory DNS servers for a domain - let's say
s1
> >> and s2 for the mydomain.com domain.
> >>
> >> I have "www" pointing to s2. So if a user goes to www.mydomain.com -
then
> > it
> >> works. But the standard seems to be, to have a handler for if someone
> > types
> >> (or they end up going to) http://mydomain.com/ (without the www)
> >>
> >> Right now, if I ping www.mydomain.com - it points to s2 (which is
> > correct).
> >> but if I ping mydomain.com - it brings back the IP address of s1 -
which
> > is
> >> NOT correct.
> >>
> >> Where does the DNS get this? How can I change this???
> >>
> >> In short, I want the 'default' IP address for a domain, to be
> >> s2.mydomain.com
> >>
> >>
> >> thanks!!
> >>
> >>
> >
> >
>
>
Anonymous
January 17, 2005 10:38:59 AM

Archived from groups: microsoft.public.win2000.dns (More info?)

That's an excellent point.

I do use it for internal and external for this setup. So people on the
internal network 192.168.1.x point to the machines via the internal names -
and Internet users point to the external names/addresses. It would be nice
to have just a regular internal DNS and take advantage of the utilities that
are already available.... hmm.. thanks!


"Herb Martin" <news@LearnQuick.com> wrote in message
news:ec1swIE$EHA.2568@TK2MSFTNGP10.phx.gbl...
> It also sounds like you are trying to use the same
> DNS server for both internal (internal AD zone)
> and external (Internet) resolution.
>
> That doesn't usually work correctly or is very
> insecure.
>
> In general, your public DNS should be left at the
> REGISTRAR (or returned there) if they offer
> that service -- most of them do.
>
> --
> Herb Martin
>
>
> "RCS" <rseder@gmail.com> wrote in message
> news:M%EGd.18247$by5.11564@newssvr19.news.prodigy.com...
>> Thanks for the response.
>>
>> I'm not sure exactly what you mean. Here's more info:
>>
>> s1 is like a test box. it's a web server, sql server and also has DNS on
> it.
>> It's a AD domain controller and DNS is AD-integrated.
>>
>> s2 is the public web site, sql server and it has DNS on it. It's the
>> other
>> AD domain controller and the DNS is AD-integrated, obviously.
>>
>> Right now, mydomain.com returns the IP of s1 - would I would like to do
>> is
>> have it return the IP of s2.
>>
>> Is that possible?? Because the DC is also the web server, which is also a
>> DNS server - it sounds like you are saying it is? If so - how?? thanks
>> again!
>>
>>
>> "Herb Martin" <news@LearnQuick.com> wrote in message
>> news:%23SqNZdB$EHA.3924@TK2MSFTNGP15.phx.gbl...
>> > "RCS" <rseder@gmail.com> wrote in message
>> > news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
>> >> I have two Win2K active directory DNS servers for a domain - let's say
> s1
>> >> and s2 for the mydomain.com domain.
>> >>
>> >> I have "www" pointing to s2. So if a user goes to www.mydomain.com -
> then
>> > it
>> >> works. But the standard seems to be, to have a handler for if someone
>> > types
>> >> (or they end up going to) http://mydomain.com/ (without the www)
>> >>
>> >> Right now, if I ping www.mydomain.com - it points to s2 (which is
>> > correct).
>> >> but if I ping mydomain.com - it brings back the IP address of s1 -
> which
>> > is
>> >> NOT correct.
>> >
>> > Do you have an AD domain in this zone?
>> >
>> > If so you cannot do what you wish internally UNLESS the
>> > DC is also the web server.
>> >
>> > All DCs in AD domains register the bare domain/zone name
>> > thus: domain.com
>> >
>> > --
>> > Herb Martin
>> >
>> >
>> > "RCS" <rseder@gmail.com> wrote in message
>> > news:H9yGd.15748$_X7.1663@newssvr33.news.prodigy.com...
>> >> I have two Win2K active directory DNS servers for a domain - let's say
> s1
>> >> and s2 for the mydomain.com domain.
>> >>
>> >> I have "www" pointing to s2. So if a user goes to www.mydomain.com -
> then
>> > it
>> >> works. But the standard seems to be, to have a handler for if someone
>> > types
>> >> (or they end up going to) http://mydomain.com/ (without the www)
>> >>
>> >> Right now, if I ping www.mydomain.com - it points to s2 (which is
>> > correct).
>> >> but if I ping mydomain.com - it brings back the IP address of s1 -
> which
>> > is
>> >> NOT correct.
>> >>
>> >> Where does the DNS get this? How can I change this???
>> >>
>> >> In short, I want the 'default' IP address for a domain, to be
>> >> s2.mydomain.com
>> >>
>> >>
>> >> thanks!!
>> >>
>> >>
>> >
>> >
>>
>>
>
>
Anonymous
January 17, 2005 10:42:00 AM

Archived from groups: microsoft.public.win2000.dns (More info?)

That makes perfect sense, thanks.

So if I did use my registrar (netsol) for public DNS, how would THEY point
to me, for "mydomain.com" resolution? I mean these all work somehow, and I'm
guessing they don't have a webserver on thier DNS machines!!! :-)

http://yahoo.com/
http://cnn.com/
http://sony.com/

etc...

thanks again!!


"Kevin D. Goodknecht Sr. [MVP]" <admin@nospam.WFTX.US> wrote in message
news:o fTOC1D$EHA.3368@TK2MSFTNGP10.phx.gbl...
> In news:M%EGd.18247$by5.11564@newssvr19.news.prodigy.com,
> RCS <rseder@gmail.com> commented
> Then Kevin replied below:
>>>> I have two Win2K active directory DNS servers for a
>>>> domain - let's say s1 and s2 for the mydomain.com
>>>> domain.
>>>>
>>>> I have "www" pointing to s2. So if a user goes to
>>>> www.mydomain.com - then it works. But the standard
>>>> seems to be, to have a handler for if someone types (or
>>>> they end up going to) http://mydomain.com/ (without the
>>>> www)
>>>>
>>>> Right now, if I ping www.mydomain.com - it points to s2
>>>> (which is correct). but if I ping mydomain.com - it
>>>> brings back the IP address of s1 - which is NOT correct.
>>>>
>>>> Where does the DNS get this? How can I change this???
>>>>
>>>> In short, I want the 'default' IP address for a domain,
>>>> to be s2.mydomain.com
>
> In an Active Directory domain environment, the domain name must resolve to
> the private interface in which file sharing is enabled on all domain
> controllers. You have no choice on the matter, it could cause Group
> policies
> to fail to be applied if you change it.
>
> This record is for the domain DFS Share at \\mydomain.com\sysvol which
> exists on all DCs. your only choice is to create a website for
> mydomain.com
> on all DCs and have IIS redirect the site to http://www.mydomain.com
>
> --
> 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 address.
> ===================================
> http://www.lonestaramerica.com/
> ===================================
> Use Outlook Express?... Get OE_Quotefix:
> It will strip signature out and more
> http://home.in.tum.de/~jain/software/oe-quotefix/
> ===================================
> Keep a back up of your OE settings and folders
> with OEBackup:
> http://www.oehelp.com/OEBackup/Default.aspx
> ===================================
>
>
Anonymous
January 17, 2005 12:09:53 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

"RCS" <rseder@gmail.com> wrote in message
news:c%JGd.7891$_L2.4402@newssvr31.news.prodigy.com...
> That makes perfect sense, thanks.
>
> So if I did use my registrar (netsol) for public DNS, how would THEY point
> to me, for "mydomain.com" resolution?

They will point the PARENT domain (.com etc) to
their OWN DNS servers.

They will give you a web interface for managing your
domain.

> I mean these all work somehow, and I'm
> guessing they don't have a webserver on thier DNS machines!!! :-)

Makes sense but although most people use their OWN Web
server, SMTP, etc., these registrars commmonly today will
do the whole think: web, email too.

I don't suggest people put those with the registrar necessarily
as they cost extra (usually) and are of a limited nature in most
cases.

> http://yahoo.com/
> http://cnn.com/
> http://sony.com/

The recommendations from us to leave the DNS at registrar
are for all BUT the largest Internet companies, which likely
would include all those mentioned above (yahoo for sure)
since they have their OWN 24/7 support staff and fault
tolerant hardware.

--
Herb Martin


>
> etc...
>
> thanks again!!
>
>
> "Kevin D. Goodknecht Sr. [MVP]" <admin@nospam.WFTX.US> wrote in message
> news:o fTOC1D$EHA.3368@TK2MSFTNGP10.phx.gbl...
> > In news:M%EGd.18247$by5.11564@newssvr19.news.prodigy.com,
> > RCS <rseder@gmail.com> commented
> > Then Kevin replied below:
> >>>> I have two Win2K active directory DNS servers for a
> >>>> domain - let's say s1 and s2 for the mydomain.com
> >>>> domain.
> >>>>
> >>>> I have "www" pointing to s2. So if a user goes to
> >>>> www.mydomain.com - then it works. But the standard
> >>>> seems to be, to have a handler for if someone types (or
> >>>> they end up going to) http://mydomain.com/ (without the
> >>>> www)
> >>>>
> >>>> Right now, if I ping www.mydomain.com - it points to s2
> >>>> (which is correct). but if I ping mydomain.com - it
> >>>> brings back the IP address of s1 - which is NOT correct.
> >>>>
> >>>> Where does the DNS get this? How can I change this???
> >>>>
> >>>> In short, I want the 'default' IP address for a domain,
> >>>> to be s2.mydomain.com
> >
> > In an Active Directory domain environment, the domain name must resolve
to
> > the private interface in which file sharing is enabled on all domain
> > controllers. You have no choice on the matter, it could cause Group
> > policies
> > to fail to be applied if you change it.
> >
> > This record is for the domain DFS Share at \\mydomain.com\sysvol which
> > exists on all DCs. your only choice is to create a website for
> > mydomain.com
> > on all DCs and have IIS redirect the site to http://www.mydomain.com
> >
> > --
> > 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 address.
> > ===================================
> > http://www.lonestaramerica.com/
> > ===================================
> > Use Outlook Express?... Get OE_Quotefix:
> > It will strip signature out and more
> > http://home.in.tum.de/~jain/software/oe-quotefix/
> > ===================================
> > Keep a back up of your OE settings and folders
> > with OEBackup:
> > http://www.oehelp.com/OEBackup/Default.aspx
> > ===================================
> >
> >
>
>
Anonymous
January 17, 2005 3:38:06 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

In news:c%JGd.7891$_L2.4402@newssvr31.news.prodigy.com,
RCS <rseder@gmail.com> commented
Then Kevin replied below:
> That makes perfect sense, thanks.
>
> So if I did use my registrar (netsol) for public DNS, how
> would THEY point to me, for "mydomain.com" resolution? I
> mean these all work somehow, and I'm guessing they don't
> have a webserver on thier DNS machines!!! :-)


The web site is running on one of your DCs, correct?

You can add the host header to the DC that does have the web site running on
it. You can also do the same redirect on the web server so that no matter
which way the connection is coming from the same redirect is happpening.



--
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 address.
===================================
http://www.lonestaramerica.com/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================
!