I am learning about servers in local and I have several doubts, I am using bind9 in Ubuntu Server and my questions are:
1. I have my bind9 server and it works perfectly in local, but when it comes to going online to solve a domain does not work for me. What do I have to do to get my server to solve dominos locally and solve the dominos server from the Internet at the same time?
2. In my network I have a computer with Mint (192.168.1.142) and my server has dns (192.168.1.141), also has server 1.1.1.1 as secondary server. But when I search the Internet for Mint, the domains do not resolve. Is it supposed that if my DNS server does not resolve the domain that on Mint request, the Mint team would ask the second DNS server?
3. Why the resolv.conf file? And why does the ip 127.0.0.53 have the default?
To facilitate the help I put what I have in these files, with the configuration of these files I work the DNS server in local, but ask for the resolution of Internet domains does not work for me:
-Interfaces:
auto lo
iface lo inet loopback
auto ens33
iface ens33 inet static
address 192.168.1.141
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameserver 127.0.0.1
dns-search example.org
-resolv.conf:
nameserver 127.0.0.1
If I have something wrong configured or I have to add something, please tell me and I feel heavy with this issue but I would like to understand it as best as possible since it is my first time with servers. Thank you very much for your attention.