Answer the question
In order to leave comments, you need to log in
Creating a DNS server with a default response?
Hello, there are 50 domains and their number becomes larger and larger each time, and it is necessary to change the A-record on each of them in case of registering a new domain and direct it to a specific IP.
The task is as follows to prescribe the same NS domains (nameserver ns1 and ns2) and IP *.*.*.* was assigned to them by default.
What means can this be done? Using some self-made BIND configuration generator for all domains every time is not an option.
What are the options for solving such a problem? (Googled, but there is really nothing on this task there is a solution)
Answer the question
In order to leave comments, you need to log in
dnsmasq can do this:
https://wiki.archlinux.org/index.php/dnsmasq#Overr...
Furthermore, it's possible to return a specific address for all domain names that are not answered from /etc/hosts or DHCP by using a special wildcard:
address=/#/1.2.3.4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question