Im trying to make a router from Lubuntu pc. I have a 2 NICs, one is connected to ISP and second for Lan. Im following by this tutorial. Dhcp server is working fine, I get ip addresses, I can ping external IP, but I have problem with domain resolving. No one domain is pinging or accessible. What have I missed?
P.S. All my network parameters I get from my ISP by dhcp. I havent bind-dns server and I don`t need it.
On pc which acts as router, everything works fine. Problem with dns forwarding to Lan pc.
All my testings I do on windows-lan desktop ipconfig /all shows:
Connection-specific DNS Suffix . : example.org
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 74-D4-35-43-53-4B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.1.10.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, March 18, 2017 09:01:34
Lease Expires . . . . . . . . . . : Saturday, March 18, 2017 09:16:34
Default Gateway . . . . . . . . . : 10.1.10.1
DHCP Server . . . . . . . . . . . : 10.1.10.1
DNS Servers . . . . . . . . . . . : 10.1.10.1
NetBIOS over Tcpip. . . . . . . . : Enabled
sudo leafpad /etc/network/interfaces - ON MY ROUTER-PC SIDE. Commented gateway cause of Ive tried both with it and without, by default webmin didnt create it.
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo enp2s0 enp3s0
iface lo inet loopback
#WAN
iface enp3s0 inet dhcp
#LAN
iface enp2s0 inet static
address 10.1.10.1
netmask 255.255.255.0
broadcast 10.1.10.255
network 10.1.10.0
#gateway 10.1.10.1
dns-nameservers 10.1.10.1 78.158.0.65
dns-domain 10.1.10.1