K
K
KoiGva2020-01-07 22:05:16
Domain Name System
KoiGva, 2020-01-07 22:05:16

How to set up Unbound in Win10 for LAN?

Installed Unbound 1.9.6 on Win10. The task is to redirect certain DNS to 127.0.0.1 or to an address on the local network. The main goal is to ensure that all 3rd level domains are not listed in etc/hosts. Since I've never done anything like this, I can't quickly set it up.
What should be in the config for these purposes? So far I've found something like this:

forward-zone:
   name: "test.local."
   forward-addr: 192.168.137.100

As far as I understand, this is something like an entry in etc/hosts. But it doesn't work. Ideally, something like . Help setting up or where to look, please. 192.168.137.100 test.local
192.168.137.100 *.test.local

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2020-01-07
@koigva

local-zone: "test.local." redirect
local-data: "test.local. IN A 192.168.137.100"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question