DNS server interface on private network: Gateway IP?
by preWarp from LinuxQuestions.org on (#6D6Q0)
Hello. I would like to use DNS for connecting with PCs in my private client/server network.
My server uses Bind(v9) and as far as I know the zone files and DNS configuration is ok. Last time I used my DNS configuration I was able to resolve my server's IP address from it's domain name "kvm.hosted.iface". But the server could not resolve the client's IP from it's name "Vmanager.hosted.iface".
But for now I am trying again with a fresh OS install (fedora).
My client is linked to the server directly, interface to interface. Server IP is 192.168.1.11 and Client 192.168.1.2.
Does the client need a gateway IP set to the server? Does the server need a gateway IP set to 127.0.0.1/27? I use subnet 255.255.255.224 so I can narrow my IP range to a low number because I have no need for all 32 bits.
Can you tell me why firewalld, fedora 38s firewall server shows no port numbers following install? Should I be using port 53 for DNS?
*Would it be better if I used port forwarding? It was mentioned in a post related to my post below in "similar posts" later I'll be using my domain names with ssh and I wonder if port forwarding would help with the communication of packets through security constraints.
My server uses Bind(v9) and as far as I know the zone files and DNS configuration is ok. Last time I used my DNS configuration I was able to resolve my server's IP address from it's domain name "kvm.hosted.iface". But the server could not resolve the client's IP from it's name "Vmanager.hosted.iface".
But for now I am trying again with a fresh OS install (fedora).
My client is linked to the server directly, interface to interface. Server IP is 192.168.1.11 and Client 192.168.1.2.
Does the client need a gateway IP set to the server? Does the server need a gateway IP set to 127.0.0.1/27? I use subnet 255.255.255.224 so I can narrow my IP range to a low number because I have no need for all 32 bits.
Can you tell me why firewalld, fedora 38s firewall server shows no port numbers following install? Should I be using port 53 for DNS?
*Would it be better if I used port forwarding? It was mentioned in a post related to my post below in "similar posts" later I'll be using my domain names with ssh and I wonder if port forwarding would help with the communication of packets through security constraints.