Wildcard in HOSTS file?

  • Thread starter Thread starter Grahammer
  • Start date Start date
G

Grahammer

Is it possible to use wildcards to redirect a domain to a specific IP
address?

ie:

192.168.0.10 mydomain.com
192.168.0.10 www.mydomain.com
192.168.0.10 mail.mydomain.com
192.168.0.10 ftp.mydomain.com
192.168.0.10 dev.mydomain.com
192.168.0.10 dns.mydomain.com
192.168.0.10 another.mydomain.com


is replaced by

192.168.0.10 *.mydomain.com


....if not, is there something else that can be done to achieve the same
results?
 
Unfortunately we don't host DNS for the domain...

We're trying to block access to any subdomain of a specific domain.

Thanks!
 
Lerner said:
Unfortunately we don't host DNS for the domain...

We're trying to block access to any subdomain of a specific domain.

If you run your own DNS (not the DNS record for that domain, just your
own DNS server which your customers use), create a zone for mydomain.com
 

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

Back
Top