Answer the question
In order to leave comments, you need to log in
How to set up a redirect to another domain if the domain is not found in BIND DNS?
The user makes a page request. The BIND server determines that the requested page does not exist and redirects the user.
In the named.conf file, zones are usually written something like this:
zone "name.domain.ru" in {
type master;
file "/var/named/name.domain.ru";
};
name.domain.ru. IN A 222.222.222.222
name.domain.ru. IN A name1.domain.ru.
* IN A name1.domain.ru.
* IN A 222.222.222.222
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question