A
A
Andrey Raboy2016-09-25 20:09:09
Domain Name System
Andrey Raboy, 2016-09-25 20:09:09

How to properly configure DNS in ubuntu 14.04 samba dc?

There is a network, a router - 192.168.0.1 and "DC on Samba" - 192.168.0.200. Samba configured following this instruction https://habrahabr.ru/post/215573/
DC network card settings on Samba:
auto eth0
iface eth0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.1
dns-nameservers 192.168 .0.1
dns-search some.local some
If the client has both the IP of the router and samba as DNS, it does not ping sites by domain (ya.ru), but only by IP (8.8.8.8), but to the domain some.local of the client you can add. Samba itself also goes to the Internet only by IP.
On Samba, it is not necessary to raise DHCP and make it also a proxy.
How to properly configure DNS?
Can specify on the client that on such IP there is a DC? - I don’t know where ..
Can I redirect to the router on samba? I googled the DNS setup on the DC - somehow everything is unclear ...
What other information is needed - write. Everything is on virtual machines, you can break
the Internet on the client, but does not see the local domain (some.local):
192.168.0.50 - IP
255.255.255.0 - mask192.168.0.50 - IP
255.255.255.0 - mask
192.168.0.1 - gateway
192.168. 0.1 - DNS (router)
with these settings goes to the Internet only by IP, but enters the some.local domain:
192.168.0.50 - IP
255.255.255.0 - mask
192.168.0.1 - gateway
192.168.0.1 - DNS (router)
192.168.0.200 - DNS (Samba-DC)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daemon23RUS, 2016-09-25
@raba

In samba
dns forwarder = 192.168.0.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question