Hello,
I'm ruing local DNS (BIND9 on primary and secondary Ubuntu servers). On my Ubuntu desktop, however, I've noticed that while it usually seems to be resolving addresses properly with the local DNS servers, it actually lists four DNS nameservers. The first two are my local DNS (RPi) machines, but third and fourth are my local ISP's nameservers:
Code:
nmcli dev show | grep DNS IP4.DNS[1]: 192.168.0.2 IP4.DNS[2]: 192.168.0.3 IP4.DNS[3]: 75.75.75.75 IP4.DNS[4]: 75.75.76.76
Code:
# primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255
dns-search home.lan
dns-domain home.lan
dns-nameservers 192.168.0.2 192.168.0.3 192.168.0.2 192.168.0.3
برچسب:
نویسنده: استخدام کار