O
O
orsodev2020-02-29 17:59:25
Domain Name System
orsodev, 2020-02-29 17:59:25

How to set up dns for local network?

Help to configure dns for the local network.
Installed on the virtual machine Ubuntu server 18.04
Installed FASTPANEL Home.lan
site created
now opens at 192.168.0.107:7777/home.lan
How to make it open at home.lan and all other sites like home1.lan, dom.lan, site.lan
were opened by the *.lan domain?
Installed Bind9, but I can't set it up in any way.
5e5a79ab23585007858253.jpeg
5e5a7ae8052aa035464765.jpeg
I also tried to configure Bind9 via the console by editing the files
named.conf.local
named.conf.options
db.lan I
also registered my dns 192.168.0.107 on the router,
but it still does not work.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
ky0, 2020-02-29
@ky0

Installed Bind9, but I can't set it up in any way.

Putting something on top of a panel and making it work is not a good idea. Either shorts or a cross.
Now Sanes will come and with his characteristic sparkling humor will tell you everything.

S
Sanes, 2020-02-29
@Sanes

You have a DNS provider on your computer or router. And they must be local. This is usually done through hosts or third-party software. On household routers, I have not seen such opportunities.
Bind won't help you here.

K
Karpion, 2020-02-29
@Karpion

The question " How to make it open at home.lan " needs clarification - from which place "to open"? The fact is that the "normal / white" DNS system is designed in such a way that from all normally configured clients there are links leading along the chain to the root servers; and from the root servers there are links to the DNS servers for each zone, also along the chain.
And with self-assigned zones like "lan" - there is no chain from the root servers. Typically, such zones are located on a server that is in the chain of links from clients to root servers. However, you have Ubuntu - in a virtual machine, i.e. m.b. turned off, and then access to normal sites will not work well.
There are several schemes how to organize it. And everyone has flaws.
PS: Check out the nslookup and dig utilities to analyze DNS performance.

V
Vladimir Korotenko, 2020-03-15
@firedragon

Just change your names and addresses.
In the router, in the DHCP options, put only your DNS address.
For mobile phones, this can be finished.
https://www.digitalocean.com/community/tutorials/h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question