G
G
grindel2013-05-03 15:37:32
Domain Name System
grindel, 2013-05-03 15:37:32

About configuring DNS on the local network

Hello!
I need to set up a DNS server for a local network, without Internet access.
All that is required is that DNS is responsible for one single domain, for example: site.ru - 192.168.1.10.
For DNS, there is a Debian 6 machine. It would also be cool if the server always answered 192.168.1.10, regardless of the requested domain name.
Can you please tell me how to implement it correctly?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
facha, 2013-05-03
@grindel

dnsmasq can do this
Here is the config line that needs to be added/corrected
address=/#/192.168.1.1

M
Maxim Klyushkov, 2013-05-03
@m_klyushkov

I would use Squid to redirect to your host.

Z
zeleniy87, 2013-05-03
@zeleniy87

and not easier to register a domain in hosts ip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question