N
N
netherneon2010-11-21 21:24:31
linux
netherneon, 2010-11-21 21:24:31

/etc/hosts redirecting an entire domain?

Is it possible to redirect all hosts from a domain to /etc/hosts? You need something similar to:
127.0.0.1 *.local
but what would work :)
I smoked man hosts, googled it but could not find it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2010-11-21
@bondbig

no. Need a DNAME record

A
Atrax, 2010-11-21
@Atrax

I raised the local zone .localhost in the bind and for the rest of the proxy on DNS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question