We help IT Professionals succeed at work.
Get Started

How to force only WWW and other defined domains work for my DNS?

Nav444
Nav444 asked
on
280 Views
Last Modified: 2010-03-18
Hi
Following is my DNS setting. At present if I type www.mysite.com will show the site, but also any thing else like, aaaaaaaa.mysite.com also works!! how can I stop this. I want only those that I define in ZONE file work.



@       IN      SOA     mysite.com. root.mysite.com. (
                202342321       ; serial, todays date + todays serial #
                8H              ; refresh, seconds
                2H              ; retry, seconds
                4W              ; expire, seconds
                1D )            ; minimum, seconds

                  NS      ns.mysite.com.
                  NS      ns2.mysite.com.

                  MX    10      mysite.com.


mysite.com.        A       112.10.10.10
images.mysite.com. A   20.21.21.21
images.mysite.com. A   20.21.21.21



www             CNAME   mysite.com.
ftp             CNAME   mysite.com.
mail            A       112.10.10.10
supermailer        A       112.10.10.11


mailhost        CNAME   mail.mysite.com.
login           CNAME   www
ns              A      112.33.33.33
ns2             A       112.33.33.33

pop             A       112.10.10.10
real            A       112.10.10.10
smtp            A       112.10.10.10
*               A       112.10.10.10


Thanks
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE