amarait.files.wordpress.com€¦  · web viewdefaut gateway is a ip of pnc.lan in real pc. put...

12
DNS ននននននន Linux នននននន NetBIOS Practice Install DNS Create forward & Resource Zone o Create Zone in named.conf o Create Zone File for each Zone Make DNS Clients can ping Internet o Create DNS forwarder in named.conf Service for install DNS in Linux is Bind and Bind-doc Write: yast –I (for install service)

Upload: others

Post on 02-Nov-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: amarait.files.wordpress.com€¦  · Web viewDefaut 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

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)

Page 2: amarait.files.wordpress.com€¦  · Web viewDefaut 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

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

Page 3: amarait.files.wordpress.com€¦  · Web viewDefaut 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

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

Page 4: amarait.files.wordpress.com€¦  · Web viewDefaut 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

2. 172.16.0.17 to reverse IP to name

We need to search pnc.lan in vi /etc/resolv.conf

Page 5: amarait.files.wordpress.com€¦  · Web viewDefaut 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

We need to put # before include for stop it process

Page 6: amarait.files.wordpress.com€¦  · Web viewDefaut 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

3. We need to restart service in name.conf

NSlookup to know

Page 7: amarait.files.wordpress.com€¦  · Web viewDefaut 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

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

Page 8: amarait.files.wordpress.com€¦  · Web viewDefaut 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

Put domain name and ip of this pc (server)

Yast Network Device Network Setting

Page 9: amarait.files.wordpress.com€¦  · Web viewDefaut 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

Server can access to Internet

Configure User (XP) can access to Internet

Page 10: amarait.files.wordpress.com€¦  · Web viewDefaut 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

Now user can access to Internet

Page 11: amarait.files.wordpress.com€¦  · Web viewDefaut 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