New paste Repaste Download
DNS (Domanin name service)
Service NAME bind
#dnf install bind
#vi /etc/named.conf
Add IP of DNS server
Add entry to connect any host instead localhost
Add Zone configuration details
#Cd /var/named
Create file of mentioned zone
Restart named service
#Systemctl restart named
Add entry in fire wall
#firewall-cmd –permanent –add-service=dns
#firewall-cmd –permanent –add=port=53/tcp
#firewall-cmd –reloade
Client configuration
#Nmcli con mod eth0 ipv4.dns 10.0.0.100
#Nmcli con reload
#Cat /etc/resolve.conf
Add entry of DNS name.
==========================================================================================
NFS configuration
Service
#dnf install nfs-utils rpcbind -y
#systemctl enable rpcbind
#systemctl enable nfs-server
#firewall-cmd –permanent –add=service=nfs
#firewall-cmd –permanent –add=service=rpcbind
#firewall –reload
Crate directory to share on Server
Add entry in /etc/exports
Ditectory/path subnet/24 rw
Exportfs -rav
To update
Setting up NFS client:
Entry of server in /etc/hosts
#showmount –e nfs-server
To list NFS shared directory if available
Create directory to see shared info.
#mount -t nfs IP_SERVER:path /CLIENT_DIR
#showmount -e
#enter into /etc/fstab if need persistant change
Filename: None. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2025-02-28 08:09:12.502927. Pasted through web.