E
E
ettaluni2021-06-25 15:26:09
linux
ettaluni, 2021-06-25 15:26:09

Is there a tiny dns server in Linux as an alternative to the hosts file?

Good day! There are a lot of different domain zones. Moreover, domain zones can be in the same subnets. And I need to know the dns names of the servers for each of the zones. Now I write everything to the hosts file, but this is already becoming somehow inconvenient. Are there any alternatives for small use?
I need to conveniently group them and prescribe only some addresses for each zone. But there are already so many of them. Making a copy of each of the zones and setting the correct DNS server is somehow expensive for me.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexey Dmitriev, 2021-06-25
@ettaluni

There is what you need.
dnsmasq - you maintain his personal dnsmasq.hosts file in it, and redirect all other requests wherever you want.
Get all clients to use the server as a DNS server.

R
Ronald McDonald, 2021-06-25
@Zoominger

There is. BIND is called.
In principle, everything you want can be done by him, if you properly smoke what DNS is, its zones, subzones, trust, and so on and so forth.
It will be the same as what you are doing now manually, but centrally.

V
Valentine, 2021-06-25
@ProFfeSsoRr

bind and powerdns are "large" dns servers that can do everything. There are "smaller" ones, designed primarily for caching, small routers, etc. - dnsmasq, unbound and coredns.

A
Alexey Cheremisin, 2021-06-25
@leahch

Powerdns would be good for you!

F
foxyhunt, 2021-06-29
@foxyhunt

I don't really understand "tiddly DNS", but it's hard to think of anything simpler than BIND 9.

V
Vitaly, 2021-07-01
@Vigogne

You have already been given options, but I would ask, why not make a normal hierarchy of all your zones? Make one root that will know all the others and forward requests to it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question