root zone redirect

  • Thread starter Thread starter T Baker
  • Start date Start date
T

T Baker

Hello,

I'd like DNS queries made to http://mydomain.com redirected to
http://www.mydomain.com. I can't figure out how to do it. I've searched the
Microsoft knowledgebase and documentation but can't find any info. I know
this can be done on the unix side but don't know about with Microsoft DNS.
Thanks!

TB
 
In
T Baker said:
Hello,

I'd like DNS queries made to http://mydomain.com redirected to
http://www.mydomain.com. I can't figure out how to do it. I've
searched the Microsoft knowledgebase and documentation but can't find
any info. I know this can be done on the unix side but don't know
about with Microsoft DNS. Thanks!

TB

That's normally done withing IIS or Apache or whatever web server you may be
using. However, there is a 3rd party tool that performs DNS Redirects:
JPELECTRON DNS Redirector: http://www.jpelectron.com/dnsredir.htm

You can also create a CNAME, rt-click, new, Alias, leave the hostname blank,
and for the target, type in www.mydomain.com. See if that helps.

I'm not usually a CNAME advocate, since it can cause confusion and other
issues, by why not just make http://mydomain.com another host header for the
website and just create a blank host entry in DNS, rt-click zone, new, Host,
leave the hostname blank, and type in the IP.

Hope that helps.


--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
In
Jonathan de Boyne Pollard said:
That won't help, and it will prevent query resolution from working.
Moreover, the software usually stops one from doing such a thing.


Actually tested it to see if I can create it and query it before I posted
that and it worked for me.
A domain name cannot be both a delegation point and an alias.
I'm not usually a CNAME advocate, since it can cause confusion
and other issues, [...]

Exactly. I almost never recommend using client-side aliases.
just make http://mydomain.com another host header for the
website and just create a blank host entry in DNS, rt-click
zone, new, Host, leave the hostname blank, and type in the IP.

That's a method that works, and is one of the ones that are
described on my web page.

I agree here.
<URL:http://homepages.tesco.net./~J.deBoynePollard/FGA/web-allowing-omission
-of-www.html>



--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
JdeBP> That won't help, and it will prevent query resolution from
JdeBP> working. Moreover, the software usually stops one from
JdeBP> doing such a thing.

AF> Actually tested it to see if I can create it and query it
AF> before I posted that and it worked for me.

I'm surprised that it let you. But I suspect that this is merely a
flaw in the sanity checks that the user interface implements. Create
the "CNAME" resource record first, and then try creating various other
resource records owned by the same domain name. (-:

As I said, however, trying to make a domain name into both a
delegation point and an alias _will_ stop things working, to various
extents depending from precisely how particular softwares happen to
handle such erroneous data. It prevents query resolution from working
at all in at least one resolving proxy DNS server software, for
example. (It's the very reason that I won't be able to resolve
queries for "JCBIS.gov." or any of its subdomains for the next several
hours, as a matter of fact.)

The prohibition in section 3.6.2 of RFC 1034 exists for a reason. (-:
 
Back
Top