amarait.files.wordpress.com€¦ · web viewdefaut gateway is a ip of pnc.lan in real pc. put...
TRANSCRIPT
DNS នៅ�ក្នងុ Linux នៅ�នៅ�ថា NetBIOS
Practice
Install DNS Create forward & Resource Zone
o Create Zone in named.confo Create Zone File for each Zone
Make DNS Clients can ping Interneto Create DNS forwarder in named.conf
Service for install DNS in Linux is Bind and Bind-doc
Write: yast –I (for install service)
2. Create Zone in name.conf
Write command: VI /etc/name.conf
After we create file named.conf we go to create file zone for each zone
We create zone file in /var/lib/named/master
We create zone file pnc.lan.zone and 192.168.23.zone in master
We need to copy file to /var/lib/named/master
And rename it
127.0.0 to our IP address
Localhost.zone to zone that we create pnc.lan
1. Pnc.lan To forward name to IP address
2. 172.16.0.17 to reverse IP to name
We need to search pnc.lan in vi /etc/resolv.conf
We need to put # before include for stop it process
3. We need to restart service in name.conf
NSlookup to know
4. Make DNS client can ping Internet
We go to name.conf with command: Vi /etc/named.conf then configure file forwarder
We need to put Default gateway in dns server
Write command: yast Network Devices Network Settings
Defaut Gateway is a IP of pnc.lan in real PC
Put domain name and ip of this pc (server)
Yast Network Device Network Setting
Server can access to Internet
Configure User (XP) can access to Internet
Now user can access to Internet