SlideShare a Scribd company logo
SETTINGS UP A
PRIMARY NAME
SERVER
■ To set up a primary name server, you’ll need to define a
zone.
■ This consists of two parts.
■ First you’ll need to tell the DNS server which zones it has to
service, and next you’ll need to create a confi guration file
for the zone in question
■ the DNS server which zones it has to service, you need to
include a few lines in /etc/named.conf. In these lines,
■ As you can see, some sections exist by default in the
named.rfc1912.zone fi le.These sections ensure that
localhost name resolving is handled correctly by the DNS
server.To tell
■ the DNS server that it also has to service another zone, add
the following few lines:
■ zone "example.com" IN {
■ type master;
■ file "example.com";
■ };
■ The fi rst line, zone "example.com" IN, tells named that it is
responsible for a zone with
■ the name example.com that is of the type IN.This means this
zone is servicing IP addresses.
■ (In theory, DNS also supports other protocols.) After the zone
declaration, you can fi nd a great
■ further defi nition of the zone between braces. In this
case, the defi nition consists of just
■ two lines.The fi rst line tells named that this is the master
server.The second line tells named
■ that the confi guration fi le is example.com.This fi le can,
of course, be found in the directory
■ /var/named, which was set in /etc/named.conf as the
default directory.
Setting Up a Primary Name Server
■ 1. Make sure that the bind package is installed on your host
computer.
■ 2. Open the /etc/named.conf file, and make sure the following
parameters are Include.
■ directory is set to /var/named
■ listen-on port 53 is set to any
■ allow-query is set to any
■ forwarders contains the IP address of your Internet provider’s DNS
name server
■ dns-sec validation is set to no
■ 3. Open the /etc/named.rfc1912.zones file, and create a definition
for the example.com domain.
■ 3. Open the /etc/named.rfc1912.zones file, and create a defi
nition for the example.com domain.
■ 4. Create a file /var/named/example.com, and give it contents
similar to those in Listing
■ 14.4. Change it to match the hostnames in your environment.
■ 5. Make sure that the DNS resolver in /etc/resolv.conf is set to
your own DNS server.
■ 6. Use dig yourhost.example.com, and verify that your DNS
server gives the correct information from your DNS database.
THANKUYOU......

More Related Content

What's hot

1. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv61. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv6
Piyush Kumar
 
Dns
DnsDns
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
Vijay Sharma
 
DNS (BIND) on CentOS
DNS (BIND) on CentOSDNS (BIND) on CentOS
DNS (BIND) on CentOS
Md Tanjil Islam Bappi
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
Vinod Gour
 
Hostname Resolution
Hostname ResolutionHostname Resolution
Hostname Resolution
webhostingguy
 
Basics of UNIX Commands
Basics of UNIX CommandsBasics of UNIX Commands
Basics of UNIX Commands
Subra Das
 
Dns centos
Dns centosDns centos
Dns centos
Bung Densol
 
Basic
BasicBasic
Basic
ARYA TM
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
Sayed Ahmed
 
Linux test paper2
Linux test paper2Linux test paper2
Linux test paper2
Ganesh Bhosale
 
Dns server slide(h.m_merajul_hasan)
Dns server slide(h.m_merajul_hasan)Dns server slide(h.m_merajul_hasan)
Dns server slide(h.m_merajul_hasan)
Merajulhasanraj
 
Basic Linux day 1
Basic Linux day 1Basic Linux day 1
Basic Linux day 1
Saikumar Daram
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
Raghu nath
 
Basic linux day 3
Basic linux day 3Basic linux day 3
Basic linux day 3
Saikumar Daram
 
Internal commands.29to30
Internal commands.29to30Internal commands.29to30
Internal commands.29to30
myrajendra
 
Bind How To
Bind How ToBind How To
Bind How To
cntlinux
 
Basic Linux day 6
Basic Linux day 6Basic Linux day 6
Basic Linux day 6
Saikumar Daram
 
Unix and Linux - The simple introduction
Unix and Linux - The simple introductionUnix and Linux - The simple introduction
Unix and Linux - The simple introduction
Amity University Noida
 
Basic linux day 4
Basic linux day 4Basic linux day 4
Basic linux day 4
Saikumar Daram
 

What's hot (20)

1. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv61. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv6
 
Dns
DnsDns
Dns
 
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
 
DNS (BIND) on CentOS
DNS (BIND) on CentOSDNS (BIND) on CentOS
DNS (BIND) on CentOS
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Hostname Resolution
Hostname ResolutionHostname Resolution
Hostname Resolution
 
Basics of UNIX Commands
Basics of UNIX CommandsBasics of UNIX Commands
Basics of UNIX Commands
 
Dns centos
Dns centosDns centos
Dns centos
 
Basic
BasicBasic
Basic
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
 
Linux test paper2
Linux test paper2Linux test paper2
Linux test paper2
 
Dns server slide(h.m_merajul_hasan)
Dns server slide(h.m_merajul_hasan)Dns server slide(h.m_merajul_hasan)
Dns server slide(h.m_merajul_hasan)
 
Basic Linux day 1
Basic Linux day 1Basic Linux day 1
Basic Linux day 1
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
 
Basic linux day 3
Basic linux day 3Basic linux day 3
Basic linux day 3
 
Internal commands.29to30
Internal commands.29to30Internal commands.29to30
Internal commands.29to30
 
Bind How To
Bind How ToBind How To
Bind How To
 
Basic Linux day 6
Basic Linux day 6Basic Linux day 6
Basic Linux day 6
 
Unix and Linux - The simple introduction
Unix and Linux - The simple introductionUnix and Linux - The simple introduction
Unix and Linux - The simple introduction
 
Basic linux day 4
Basic linux day 4Basic linux day 4
Basic linux day 4
 

Similar to Linux Addministration

Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
webhostingguy
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configuration
Sanguine_Eva
 
15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
Hameda Hurmat
 
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdfSFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
South Tyrol Free Software Conference
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
Hameda Hurmat
 
Linux04 dns 2
Linux04 dns 2Linux04 dns 2
Linux04 dns 2
Jainul Musani
 
main
mainmain
DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
Omar Faruk Sazib
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptx
KailashTayde
 
DNS(In_Linux).pptx
DNS(In_Linux).pptxDNS(In_Linux).pptx
DNS(In_Linux).pptx
ShanmugapriyaSenthil3
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
Kaan Aslandağ
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbai
Unmesh Baile
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
Patruni Chidananda Sastry
 
Active directory dns
Active directory dnsActive directory dns
Active directory dns
palashghosh123
 
Dns
DnsDns
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
vinod31dec
 
1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt
KirthiKanthN
 
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAILDNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
Utah Networxs Consultoria e Treinamento
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
Sayed Ahmed
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
Jalpa Soni
 

Similar to Linux Addministration (20)

Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configuration
 
15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
 
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdfSFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
Linux04 dns 2
Linux04 dns 2Linux04 dns 2
Linux04 dns 2
 
main
mainmain
main
 
DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptx
 
DNS(In_Linux).pptx
DNS(In_Linux).pptxDNS(In_Linux).pptx
DNS(In_Linux).pptx
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbai
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
Active directory dns
Active directory dnsActive directory dns
Active directory dns
 
Dns
DnsDns
Dns
 
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
 
1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt
 
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAILDNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
 

More from PandeyABHISHEK1

Testing Process
Testing ProcessTesting Process
Testing Process
PandeyABHISHEK1
 
CSI Activity
CSI Activity CSI Activity
CSI Activity
PandeyABHISHEK1
 
Return on Investment
Return on InvestmentReturn on Investment
Return on Investment
PandeyABHISHEK1
 
Geographic Phenomena
Geographic PhenomenaGeographic Phenomena
Geographic Phenomena
PandeyABHISHEK1
 
Basic Concept of Expert System
Basic Concept  of Expert System Basic Concept  of Expert System
Basic Concept of Expert System
PandeyABHISHEK1
 
Voice Assistant App
Voice Assistant AppVoice Assistant App
Voice Assistant App
PandeyABHISHEK1
 
Eenterprises Java
Eenterprises  JavaEenterprises  Java
Eenterprises Java
PandeyABHISHEK1
 
Advance Webpage Devlopment .NET
Advance Webpage Devlopment .NETAdvance Webpage Devlopment .NET
Advance Webpage Devlopment .NET
PandeyABHISHEK1
 
Enterprise Java
Enterprise JavaEnterprise Java
Enterprise Java
PandeyABHISHEK1
 
Internet of Things
Internet of Things Internet of Things
Internet of Things
PandeyABHISHEK1
 

More from PandeyABHISHEK1 (10)

Testing Process
Testing ProcessTesting Process
Testing Process
 
CSI Activity
CSI Activity CSI Activity
CSI Activity
 
Return on Investment
Return on InvestmentReturn on Investment
Return on Investment
 
Geographic Phenomena
Geographic PhenomenaGeographic Phenomena
Geographic Phenomena
 
Basic Concept of Expert System
Basic Concept  of Expert System Basic Concept  of Expert System
Basic Concept of Expert System
 
Voice Assistant App
Voice Assistant AppVoice Assistant App
Voice Assistant App
 
Eenterprises Java
Eenterprises  JavaEenterprises  Java
Eenterprises Java
 
Advance Webpage Devlopment .NET
Advance Webpage Devlopment .NETAdvance Webpage Devlopment .NET
Advance Webpage Devlopment .NET
 
Enterprise Java
Enterprise JavaEnterprise Java
Enterprise Java
 
Internet of Things
Internet of Things Internet of Things
Internet of Things
 

Recently uploaded

Prsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptxPrsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptx
prafulpawar29
 
Gamify it until you make it Improving Agile Development and Operations with ...
Gamify it until you make it  Improving Agile Development and Operations with ...Gamify it until you make it  Improving Agile Development and Operations with ...
Gamify it until you make it Improving Agile Development and Operations with ...
Ben Linders
 
Bridging the visual gap between cultural heritage and digital scholarship
Bridging the visual gap between cultural heritage and digital scholarshipBridging the visual gap between cultural heritage and digital scholarship
Bridging the visual gap between cultural heritage and digital scholarship
Inesm9
 
一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理
一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理
一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理
gfysze
 
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
kekzed
 
2023 Ukraine Crisis Media Center Financial Report
2023 Ukraine Crisis Media Center Financial Report2023 Ukraine Crisis Media Center Financial Report
2023 Ukraine Crisis Media Center Financial Report
UkraineCrisisMediaCenter
 
Legislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptxLegislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptx
Charmi13
 
2023 Ukraine Crisis Media Center Annual Report
2023 Ukraine Crisis Media Center Annual Report2023 Ukraine Crisis Media Center Annual Report
2023 Ukraine Crisis Media Center Annual Report
UkraineCrisisMediaCenter
 
Proposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP IncProposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP Inc
Raheem Muhammad
 
SASi-SPi Science Policy Lab Pre-engagement
SASi-SPi Science Policy Lab Pre-engagementSASi-SPi Science Policy Lab Pre-engagement
SASi-SPi Science Policy Lab Pre-engagement
Francois Stepman
 
The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...
The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...
The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...
OECD Directorate for Financial and Enterprise Affairs
 
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
OECD Directorate for Financial and Enterprise Affairs
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
Claudio Gallicchio
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
OECD Directorate for Financial and Enterprise Affairs
 
Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
kainatfatyma9
 
AWS User Group Torino 2024 #3 - 18/06/2024
AWS User Group Torino 2024 #3 - 18/06/2024AWS User Group Torino 2024 #3 - 18/06/2024
AWS User Group Torino 2024 #3 - 18/06/2024
Guido Maria Nebiolo
 
ACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPE
ACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPEACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPE
ACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPE
Charmi13
 
Data Processing in PHP - PHPers 2024 Poznań
Data Processing in PHP - PHPers 2024 PoznańData Processing in PHP - PHPers 2024 Poznań
Data Processing in PHP - PHPers 2024 Poznań
Norbert Orzechowicz
 
Genesis chapter 3 Isaiah Scudder.pptx
Genesis    chapter 3 Isaiah Scudder.pptxGenesis    chapter 3 Isaiah Scudder.pptx
Genesis chapter 3 Isaiah Scudder.pptx
FamilyWorshipCenterD
 
2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates
UAE Ppt
 

Recently uploaded (20)

Prsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptxPrsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptx
 
Gamify it until you make it Improving Agile Development and Operations with ...
Gamify it until you make it  Improving Agile Development and Operations with ...Gamify it until you make it  Improving Agile Development and Operations with ...
Gamify it until you make it Improving Agile Development and Operations with ...
 
Bridging the visual gap between cultural heritage and digital scholarship
Bridging the visual gap between cultural heritage and digital scholarshipBridging the visual gap between cultural heritage and digital scholarship
Bridging the visual gap between cultural heritage and digital scholarship
 
一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理
一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理
一比一原版(unc毕业证书)美国北卡罗来纳大学教堂山分校毕业证如何办理
 
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
 
2023 Ukraine Crisis Media Center Financial Report
2023 Ukraine Crisis Media Center Financial Report2023 Ukraine Crisis Media Center Financial Report
2023 Ukraine Crisis Media Center Financial Report
 
Legislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptxLegislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptx
 
2023 Ukraine Crisis Media Center Annual Report
2023 Ukraine Crisis Media Center Annual Report2023 Ukraine Crisis Media Center Annual Report
2023 Ukraine Crisis Media Center Annual Report
 
Proposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP IncProposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP Inc
 
SASi-SPi Science Policy Lab Pre-engagement
SASi-SPi Science Policy Lab Pre-engagementSASi-SPi Science Policy Lab Pre-engagement
SASi-SPi Science Policy Lab Pre-engagement
 
The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...
The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...
The Intersection between Competition and Data Privacy – OECD – June 2024 OECD...
 
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
 
Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
 
AWS User Group Torino 2024 #3 - 18/06/2024
AWS User Group Torino 2024 #3 - 18/06/2024AWS User Group Torino 2024 #3 - 18/06/2024
AWS User Group Torino 2024 #3 - 18/06/2024
 
ACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPE
ACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPEACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPE
ACTIVE IMPLANTABLE MEDICAL DEVICE IN EUROPE
 
Data Processing in PHP - PHPers 2024 Poznań
Data Processing in PHP - PHPers 2024 PoznańData Processing in PHP - PHPers 2024 Poznań
Data Processing in PHP - PHPers 2024 Poznań
 
Genesis chapter 3 Isaiah Scudder.pptx
Genesis    chapter 3 Isaiah Scudder.pptxGenesis    chapter 3 Isaiah Scudder.pptx
Genesis chapter 3 Isaiah Scudder.pptx
 
2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates
 

Linux Addministration

  • 1. SETTINGS UP A PRIMARY NAME SERVER
  • 2. ■ To set up a primary name server, you’ll need to define a zone. ■ This consists of two parts. ■ First you’ll need to tell the DNS server which zones it has to service, and next you’ll need to create a confi guration file for the zone in question ■ the DNS server which zones it has to service, you need to include a few lines in /etc/named.conf. In these lines,
  • 3. ■ As you can see, some sections exist by default in the named.rfc1912.zone fi le.These sections ensure that localhost name resolving is handled correctly by the DNS server.To tell ■ the DNS server that it also has to service another zone, add the following few lines: ■ zone "example.com" IN { ■ type master; ■ file "example.com"; ■ };
  • 4. ■ The fi rst line, zone "example.com" IN, tells named that it is responsible for a zone with ■ the name example.com that is of the type IN.This means this zone is servicing IP addresses. ■ (In theory, DNS also supports other protocols.) After the zone declaration, you can fi nd a great
  • 5. ■ further defi nition of the zone between braces. In this case, the defi nition consists of just ■ two lines.The fi rst line tells named that this is the master server.The second line tells named ■ that the confi guration fi le is example.com.This fi le can, of course, be found in the directory ■ /var/named, which was set in /etc/named.conf as the default directory.
  • 6. Setting Up a Primary Name Server ■ 1. Make sure that the bind package is installed on your host computer. ■ 2. Open the /etc/named.conf file, and make sure the following parameters are Include. ■ directory is set to /var/named ■ listen-on port 53 is set to any ■ allow-query is set to any ■ forwarders contains the IP address of your Internet provider’s DNS name server ■ dns-sec validation is set to no ■ 3. Open the /etc/named.rfc1912.zones file, and create a definition for the example.com domain.
  • 7. ■ 3. Open the /etc/named.rfc1912.zones file, and create a defi nition for the example.com domain. ■ 4. Create a file /var/named/example.com, and give it contents similar to those in Listing ■ 14.4. Change it to match the hostnames in your environment. ■ 5. Make sure that the DNS resolver in /etc/resolv.conf is set to your own DNS server. ■ 6. Use dig yourhost.example.com, and verify that your DNS server gives the correct information from your DNS database.